Merge pull request #2098 from OpenRefine/issue-2097-wikidata-export

Wikidata: Use distinct tabs for QS and schema export.
This commit is contained in:
Antonin Delpeuch 2019-07-24 09:06:21 +01:00 committed by GitHub
commit deaff938b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,7 @@
"wikidata-extension/perform-edits-on-wikidata": "Upload edits to Wikidata",
"wikidata-extension/export-to-qs": "Export to QuickStatements",
"wikidata-extension/export-schema": "Export schema",
"wikidata-extension/export-wikidata-schema": "Export Wikidata schema",
"wikidata-extension/quickstatements-export-name": "QuickStatements",
"wikidata-schema/dialog-header": "Align to Wikidata",
"wikidata-schema/dialog-explanation": "The Wikidata schema below specifies how your tabular data will be transformed into Wikidata edits. You can drag and drop the column names below in most input boxes: for each row, edits will be generated with the values in these columns.",

View File

@ -149,6 +149,7 @@
"warnings-messages/invalid-entity-type/body": "Les utilisations de {property_entity} sur des éléments tels que {example_entity} sont invalides.",
"wikidata-extension/import-wikidata-schema": "Importer un schéma",
"wikidata-extension/export-schema": "Exporter le schéma",
"wikidata-extension/export-wikidata-schema": "Exporter le schéma Wikidata",
"import-wikibase-schema/dialog-header": "Importer un schéma Wikidata",
"import-wikibase-schema/file-label": "A partir du fichier JSON : ",
"import-wikibase-schema/schema-label": "Ou à partir d'un texte JSON :",

View File

@ -68,6 +68,7 @@
"perform-wikidata-edits/edit-summary-placeholder": "qualche parola per descrivere le tue modifiche",
"wikidata-extension/import-wikidata-schema": "Importa schema",
"wikidata-extension/export-schema": "Esporta schema",
"wikidata-extension/export-wikidata-schema": "Esporta schema Wikidata",
"perform-wikidata-edits/perform-edits": "Carica modifiche",
"perform-wikidata-edits/cancel": "Annulla",
"perform-wikidata-edits/analyzing-edits": "Analisi delle modifiche apportate…",

View File

@ -33,7 +33,7 @@ ExporterManager.MenuItems.push(
ExporterManager.MenuItems.push(
{
id:"exportWikibaseSchema",
label: $.i18n('wikidata-extension/export-schema'),
label: $.i18n('wikidata-extension/export-wikidata-schema'),
click: function() { WikibaseExporterMenuBar.checkSchemaAndExport("wikibase-schema"); }
}
);
@ -51,7 +51,7 @@ WikibaseExporterMenuBar.exportTo = function(format) {
$(form).css("display", "none")
.attr("method", "post")
.attr("action", "command/core/export-rows/"+targetUrl)
.attr("target", "gridworks-export");
.attr("target", "gridworks-export-"+format);
$('<input />')
.attr("name", "engine")
.attr("value", JSON.stringify(ui.browsingEngine.getJSON()))