Fix export items in Wikidata extension menu. Closes #2527 (#2528)

This commit is contained in:
Antonin Delpeuch 2020-04-14 09:57:52 +02:00 committed by GitHub
parent 69db33de5a
commit 7cb8bb360b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -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",

View File

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