From f661201e9aeacaadd8d0b9678d7a798bbf6e4047 Mon Sep 17 00:00:00 2001 From: Kush Trivedi <44091822+kushthedude@users.noreply.github.com> Date: Wed, 27 Jan 2021 14:27:42 +0530 Subject: [PATCH] fix: add additional version translation (#3485) Signed-off-by: Kush Trivedi --- main/webapp/modules/core/langs/translation-en.json | 1 + main/webapp/modules/core/scripts/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/webapp/modules/core/langs/translation-en.json b/main/webapp/modules/core/langs/translation-en.json index 61c3cabe2..ba576bfc6 100644 --- a/main/webapp/modules/core/langs/translation-en.json +++ b/main/webapp/modules/core/langs/translation-en.json @@ -5,6 +5,7 @@ "core-index/about": "About", "core-index/version": "Version:", "core-index/new-version": "New Version", + "core-index/refine-version": "Version $1", "core-index/download-now": "Download $1 now.", "core-index/change-value": "Change value of preference key", "core-index/delete-key": "Delete preference key", diff --git a/main/webapp/modules/core/scripts/index.js b/main/webapp/modules/core/scripts/index.js index 4cd1958b2..f31a17fc3 100644 --- a/main/webapp/modules/core/scripts/index.js +++ b/main/webapp/modules/core/scripts/index.js @@ -133,7 +133,7 @@ $(function() { function(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); $.getJSON("https://api.github.com/repos/openrefine/openrefine/releases/latest",