From 7cb8bb360bf2024375d13f096071a57e7547e6d3 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Tue, 14 Apr 2020 09:57:52 +0200 Subject: [PATCH] Fix export items in Wikidata extension menu. Closes #2527 (#2528) --- extensions/wikidata/module/langs/translation-en.json | 6 ++++-- extensions/wikidata/module/scripts/menu-bar-extension.js | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/extensions/wikidata/module/langs/translation-en.json b/extensions/wikidata/module/langs/translation-en.json index 54a2e13c0..834988c73 100644 --- a/extensions/wikidata/module/langs/translation-en.json +++ b/extensions/wikidata/module/langs/translation-en.json @@ -3,8 +3,10 @@ "wikidata-extension/edit-wikidata-schema": "Edit Wikidata schema", "wikidata-extension/import-wikidata-schema": "Import schema", "wikidata-extension/manage-wikidata-account": "Manage Wikidata account", - "wikidata-extension/perform-edits-on-wikidata": "Wikidata edits...", - "wikidata-extension/export-to-qs": "QuickStatements file...", + "wikidata-extension/perform-edits-on-wikidata": "Upload edits to Wikidata", + "wikidata-extension/export-to-qs": "Export to QuickStatements", + "wikidata-extension/qs-file": "QuickStatements file", + "wikidata-extension/wikidata-edits": "Wikidata edits...", "wikidata-extension/export-schema": "Export schema", "wikidata-extension/export-wikidata-schema": "Export Wikidata schema", "wikidata-extension/wikidata-schema": "Wikidata schema", diff --git a/extensions/wikidata/module/scripts/menu-bar-extension.js b/extensions/wikidata/module/scripts/menu-bar-extension.js index c567789cd..652b4a4e0 100644 --- a/extensions/wikidata/module/scripts/menu-bar-extension.js +++ b/extensions/wikidata/module/scripts/menu-bar-extension.js @@ -21,13 +21,13 @@ ExporterManager.MenuItems.push({}); ExporterManager.MenuItems.push( { id:"performWikibaseEdits", - label: $.i18n('wikidata-extension/perform-edits-on-wikidata'), + label: $.i18n('wikidata-extension/wikidata-edits'), click: function() { PerformEditsDialog.checkAndLaunch(); } }); ExporterManager.MenuItems.push( { id:"exportQuickStatements", - label: $.i18n('wikidata-extension/export-to-qs'), + label: $.i18n('wikidata-extension/qs-file'), click: function() { WikibaseExporterMenuBar.checkSchemaAndExport("quickstatements"); } }); ExporterManager.MenuItems.push(