From deb4b864514b28f634108f365fd8e11bbf9fdc8e Mon Sep 17 00:00:00 2001 From: Akshita Singh <52077474+singhakshita@users.noreply.github.com> Date: Tue, 9 Feb 2021 01:07:53 +0530 Subject: [PATCH] fixes missing (i18n) internationalisation on about page (#3600) * fixes missing (i18n) internationalisation on about page #3089 * fixes #3089 missing (i18n) on about page --- main/webapp/modules/core/about.html | 21 ++++++------------- main/webapp/modules/core/about.js | 9 ++++++++ .../modules/core/langs/translation-en.json | 4 ++++ 3 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 main/webapp/modules/core/about.js diff --git a/main/webapp/modules/core/about.html b/main/webapp/modules/core/about.html index 08596b7a8..5f58fabdd 100644 --- a/main/webapp/modules/core/about.html +++ b/main/webapp/modules/core/about.html @@ -62,30 +62,20 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-

About OpenRefine

+

-

- OpenRefine is a power tool for working with messy data. Use it to improve data consistency, - link it to data registries like Wikidata, augment it with data from other sources, transform it - into different formats for other tools to consume, and contribute it to back to the original - sources. OpenRefine is not a web service but a desktop app that runs on your own computer, - so you can process sensitive data with privacy. +

-

- OpenRefine was originally developed as "Freebase Gridworks" by - Metaweb Technologies, Inc.. Metaweb was acquired by - Google in July 2010 and they renamed the product - Google Refine. In October, 2012, the product was renamed OpenRefine as it transitioned to - a community supported project. +

-

Contributors (in chronological order)

+

-

Special Thanks

+

  • Paolo Ciccarese
  • Thad Guidry
  • @@ -239,5 +229,6 @@ licenses/mockito.LICENSE.txt + diff --git a/main/webapp/modules/core/about.js b/main/webapp/modules/core/about.js new file mode 100644 index 000000000..f9ba0268a --- /dev/null +++ b/main/webapp/modules/core/about.js @@ -0,0 +1,9 @@ + +$("#about-openrefine").text($.i18n('core-index/about') + " OpenRefine"); +$("#contributors").text($.i18n('core-about/contributors')); +$("#definition").text($.i18n('core-about/definition')); +$("#history-openrefine").html($.i18n('core-about/history' ,'http://www.metaweb.com/' ,'Metaweb Technologies,Inc.', 'http://www.google.com/','Google' )); +$("#thanks").text($.i18n('core-about/thanks')); + + + \ No newline at end of file diff --git a/main/webapp/modules/core/langs/translation-en.json b/main/webapp/modules/core/langs/translation-en.json index ba576bfc6..d92d5c032 100644 --- a/main/webapp/modules/core/langs/translation-en.json +++ b/main/webapp/modules/core/langs/translation-en.json @@ -1,6 +1,10 @@ { "name": "English", "core-index/slogan": "A power tool for working with messy data", + "core-about/definition" : "OpenRefine is a power tool for working with messy data. Use it to improve data consistency,link it to data registries like Wikidata, augment it with data from other sources, transform it into different formats for other tools to consume, and contribute it to back to the original sources. OpenRefine is not a web service but a desktop app that runs on your own computer,so you can process sensitive data with privacy.", + "core-about/contributors" : "Contributors (in chronological order)", + "core-about/history" : "OpenRefine was originally developed as 'Freebase Gridworks' by $2 . Metaweb was acquired by $4 in July 2010 and they renamed the product Google Refine. In October, 2012, the product was renamed OpenRefine as it transitioned to a community supported project.", + "core-about/thanks" : "Special Thanks", "core-index/help": "Help", "core-index/about": "About", "core-index/version": "Version:",