From c3febcfdee0221acf589f2c78b9a24d815993ed3 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Thu, 11 Feb 2021 13:56:41 -0500 Subject: [PATCH] Improve GData importer i18n - fixes #3312 (#3613) --- extensions/gdata/module/langs/translation-en.json | 10 ++++------ .../gdata/module/scripts/index/gdata-source-ui.js | 7 +++---- .../module/scripts/index/import-from-gdata-form.html | 7 +++---- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/extensions/gdata/module/langs/translation-en.json b/extensions/gdata/module/langs/translation-en.json index 7c9d9b001..11e5cb25f 100644 --- a/extensions/gdata/module/langs/translation-en.json +++ b/extensions/gdata/module/langs/translation-en.json @@ -5,13 +5,11 @@ "gdata-import/import-by-url": "Import a public Google Spreadsheet by its URL:", "gdata-import/next->": "Next »", "gdata-import/auth-doc": "Authorized Documents", - "gdata-import/please": "Please", - "gdata-import/sign-in": "sign in and authorize", - "gdata-import/sign-out": "sign out", - "gdata-import/access-data": "access to your Google data.", + "gdata-import/please-signin": "Please sign in and authorize to access your Google data", + "gdata-import/sign-in": "Sign in", + "gdata-import/sign-out": "Sign out", "gdata-import/retrieving": "Retrieving Google Docs documents …", - "gdata-import/re-sign-in": "re-sign in", - "gdata-import/another-account": "with another account", + "gdata-import/re-sign-in-another": "Sign in with different account", "gdata-parsing/start-over": "« Start Over", "gdata-parsing/conf-pars": "Configure Parsing Options", "gdata-parsing/proj-name": "Project name", diff --git a/extensions/gdata/module/scripts/index/gdata-source-ui.js b/extensions/gdata/module/scripts/index/gdata-source-ui.js index 0d0fddc53..76b9caf1b 100644 --- a/extensions/gdata/module/scripts/index/gdata-source-ui.js +++ b/extensions/gdata/module/scripts/index/gdata-source-ui.js @@ -45,13 +45,12 @@ Refine.GDataSourceUI.prototype.attachUI = function(body) { $('#gdata-import').html($.i18n('gdata-import/import-by-url')); $('#gdata-next').html($.i18n('gdata-import/next->')); $('#gdata-auth-doc').text($.i18n('gdata-import/auth-doc')); - $('#gdata-please').text($.i18n('gdata-import/please')); + $('#gdata-please-signin').text($.i18n('gdata-import/please-signin')); $('#gdata-signin-btn').text($.i18n('gdata-import/sign-in')); - $('#gdata-access-data').text($.i18n('gdata-import/access-data')); $('#gdata-retrieving').text($.i18n('gdata-import/retrieving')); $('#gdata-signout').text($.i18n('gdata-import/sign-out')); - $('#gdata-resignin').text($.i18n('gdata-import/re-sign-in')); - $('#gdata-another-account').text($.i18n('gdata-import/another-account')); + $('#gdata-resignin').text($.i18n('gdata-import/sign-in')); + $('#gdata-re-signin-another').text($.i18n('gdata-import/re-sign-in-another')); var self = this; this._body.find('.gdata-signin.button').click(function() { diff --git a/extensions/gdata/module/scripts/index/import-from-gdata-form.html b/extensions/gdata/module/scripts/index/import-from-gdata-form.html index bb2518342..61e9c1ca8 100644 --- a/extensions/gdata/module/scripts/index/import-from-gdata-form.html +++ b/extensions/gdata/module/scripts/index/import-from-gdata-form.html @@ -14,16 +14,15 @@

-

-

+

- - +
+