Improve GData importer i18n - fixes #3312 (#3613)

This commit is contained in:
Tom Morris 2021-02-11 13:56:41 -05:00 committed by GitHub
parent 7bccdd1bcf
commit c3febcfdee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 14 deletions

View File

@ -5,13 +5,11 @@
"gdata-import/import-by-url": "Import a <em>public</em> Google Spreadsheet by its URL:",
"gdata-import/next->": "Next &raquo;",
"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": "&laquo; Start Over",
"gdata-parsing/conf-pars": "Configure Parsing Options",
"gdata-parsing/proj-name": "Project&nbsp;name",

View File

@ -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() {

View File

@ -14,16 +14,15 @@
<h1 id="gdata-auth-doc"></h1>
<div bind="signinPage" class="gdata-page">
<p><span id="gdata-please"></span> <button class="gdata-signin button button-primary" id="gdata-signin-btn"></button>
<span id="gdata-access-data"></p>
<p><span id="gdata-please-signin"></span> <button class="gdata-signin button button-primary" id="gdata-signin-btn"></button></p>
</div>
<div bind="progressPage" class="gdata-page">
<p><img src="images/large-spinner.gif" /> <span id="gdata-retrieving"></span></p>
</div>
<div bind="listingPage" class="gdata-page grid-layout layout-normal"><table>
<tr>
<td width="%"><button class="gdata-signout button" id="gdata-signout"></button></td>
<td><button class="gdata-signin button" id="gdata-resignin"></button> <span id="gdata-another-account"></span></td>
<td colspan="2"><span id="gdata-re-signin-another"></span><button class="gdata-signin button button-primary" id="gdata-resignin"></button>
<button class="gdata-signout button button-primary" id="gdata-signout"></button>
</tr>
<tr><td colspan="2"><div bind="listingContainer" class="grid-layout layout-tight gdata-document-container"></div></td></tr>
</table></div>