diff --git a/extensions/gdata/module/langs/translation-default.json b/extensions/gdata/module/langs/translation-default.json new file mode 100644 index 000000000..c34c60fa7 --- /dev/null +++ b/extensions/gdata/module/langs/translation-default.json @@ -0,0 +1,56 @@ +{ + "gdata-import": { + "preparing": "Preparing ...", + "creating": "Creating project ...", + "title": "Public Documents", + "import-by-url": "Import a public Google Spreadsheet or Fusion Table by its URL:", + "next->": "Next »", + "auth-doc": "Authorized Documents", + "please": "Please", + "sign-in": "sign in and authorize", + "sign-out": "sign out", + "access-data": "access to your Google data.", + "retrieving": "Retrieving Google Docs documents ...", + "re-sign-in": "re-sign in", + "another-account": "with another account" + }, + "gdata-parsing": { + "start-over": "« Start Over", + "conf-pars": "Configure Parsing Options", + "proj-name": "Project name", + "create-proj": "Create Project »", + "updating-preview": "Updating preview ...", + "worksheet": "Worksheets", + "option": "Options", + "preview-button": "Update Preview", + "ignore-first": "Ignore first", + "ignore": "line(s) at beginning of file", + "parse-next": "Parse next", + "parse": "line(s) as column headers", + "discard-next": "Discard initial", + "discard": "row(s) of data", + "limit-next": "Load at most", + "limit": "row(s) of data", + "store-row": "Store blank rows", + "store-cell": "Store blank cells as nulls" + }, + "gdata-source": { + "alert-url": "You must specify a web address (URL) to import.", + "type": "Type", + "title": "Title", + "authors": "Authors", + "updated": "Updated" + }, + "gdata-exporter": { + "uploading": "Uploading...", + "upload-error": "Upload error: ", + "new-spreadsheet": "A new Google spreadsheet", + "enter-spreadsheet": "Enter a name for the new Google spreadsheet", + "new-fusion": "A new Google Fusion table", + "enter-fusion": "Enter a name for the new Google Fusion table" + }, + "gdata-auth": { + "authorize-label": "OpenRefine - Authorization", + "authorized-label": "Authorization process completed. Close this window and return to OpenRefine." + } +} \ No newline at end of file diff --git a/extensions/gdata/module/scripts/index/importing-controller.js b/extensions/gdata/module/scripts/index/importing-controller.js index 8de635cd7..bb6f91c9a 100644 --- a/extensions/gdata/module/scripts/index/importing-controller.js +++ b/extensions/gdata/module/scripts/index/importing-controller.js @@ -60,8 +60,8 @@ Refine.GDataImportingController = function(createProjectUI) { ui: new Refine.GDataSourceUI(this) }); - $('#gdata-authorize').i18n._('gdata-auth')["authorize-label"]; - $('#gdata-authorized').i18n._('gdata-auth')["authorized-label"]; + $('#gdata-authorize').text($.i18n._('gdata-auth')["authorize-label"]); + $('#gdata-authorized').text($.i18n._('gdata-auth')["authorized-label"]); }; Refine.CreateProjectUI.controllers.push(Refine.GDataImportingController);