fix: add additional version translation (#3485)

Signed-off-by: Kush Trivedi <kushthedude@gmail.com>
This commit is contained in:
Kush Trivedi 2021-01-27 14:27:42 +05:30 committed by GitHub
parent ffdede2423
commit f661201e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
"core-index/about": "About", "core-index/about": "About",
"core-index/version": "Version:", "core-index/version": "Version:",
"core-index/new-version": "New Version", "core-index/new-version": "New Version",
"core-index/refine-version": "Version $1",
"core-index/download-now": "Download $1 now.", "core-index/download-now": "Download $1 now.",
"core-index/change-value": "Change value of preference key", "core-index/change-value": "Change value of preference key",
"core-index/delete-key": "Delete preference key", "core-index/delete-key": "Delete preference key",

View File

@ -133,7 +133,7 @@ $(function() {
function(data) { function(data) {
OpenRefineVersion = data; OpenRefineVersion = data;
$("#openrefine-version").text($.i18n('core-index/version', OpenRefineVersion.full_version)); $("#openrefine-version").text($.i18n('core-index/refine-version', OpenRefineVersion.full_version));
$("#java-runtime-version").text(OpenRefineVersion.java_runtime_name + " " + OpenRefineVersion.java_runtime_version); $("#java-runtime-version").text(OpenRefineVersion.java_runtime_name + " " + OpenRefineVersion.java_runtime_version);
$.getJSON("https://api.github.com/repos/openrefine/openrefine/releases/latest", $.getJSON("https://api.github.com/repos/openrefine/openrefine/releases/latest",