Merge pull request #2098 from OpenRefine/issue-2097-wikidata-export
Wikidata: Use distinct tabs for QS and schema export.
This commit is contained in:
commit
deaff938b3
@ -6,6 +6,7 @@
|
|||||||
"wikidata-extension/perform-edits-on-wikidata": "Upload edits to Wikidata",
|
"wikidata-extension/perform-edits-on-wikidata": "Upload edits to Wikidata",
|
||||||
"wikidata-extension/export-to-qs": "Export to QuickStatements",
|
"wikidata-extension/export-to-qs": "Export to QuickStatements",
|
||||||
"wikidata-extension/export-schema": "Export schema",
|
"wikidata-extension/export-schema": "Export schema",
|
||||||
|
"wikidata-extension/export-wikidata-schema": "Export Wikidata schema",
|
||||||
"wikidata-extension/quickstatements-export-name": "QuickStatements",
|
"wikidata-extension/quickstatements-export-name": "QuickStatements",
|
||||||
"wikidata-schema/dialog-header": "Align to Wikidata",
|
"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.",
|
"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.",
|
||||||
|
@ -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.",
|
"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/import-wikidata-schema": "Importer un schéma",
|
||||||
"wikidata-extension/export-schema": "Exporter le 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/dialog-header": "Importer un schéma Wikidata",
|
||||||
"import-wikibase-schema/file-label": "A partir du fichier JSON : ",
|
"import-wikibase-schema/file-label": "A partir du fichier JSON : ",
|
||||||
"import-wikibase-schema/schema-label": "Ou à partir d'un texte JSON :",
|
"import-wikibase-schema/schema-label": "Ou à partir d'un texte JSON :",
|
||||||
|
@ -68,6 +68,7 @@
|
|||||||
"perform-wikidata-edits/edit-summary-placeholder": "qualche parola per descrivere le tue modifiche",
|
"perform-wikidata-edits/edit-summary-placeholder": "qualche parola per descrivere le tue modifiche",
|
||||||
"wikidata-extension/import-wikidata-schema": "Importa schema",
|
"wikidata-extension/import-wikidata-schema": "Importa schema",
|
||||||
"wikidata-extension/export-schema": "Esporta 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/perform-edits": "Carica modifiche",
|
||||||
"perform-wikidata-edits/cancel": "Annulla",
|
"perform-wikidata-edits/cancel": "Annulla",
|
||||||
"perform-wikidata-edits/analyzing-edits": "Analisi delle modifiche apportate…",
|
"perform-wikidata-edits/analyzing-edits": "Analisi delle modifiche apportate…",
|
||||||
|
@ -33,7 +33,7 @@ ExporterManager.MenuItems.push(
|
|||||||
ExporterManager.MenuItems.push(
|
ExporterManager.MenuItems.push(
|
||||||
{
|
{
|
||||||
id:"exportWikibaseSchema",
|
id:"exportWikibaseSchema",
|
||||||
label: $.i18n('wikidata-extension/export-schema'),
|
label: $.i18n('wikidata-extension/export-wikidata-schema'),
|
||||||
click: function() { WikibaseExporterMenuBar.checkSchemaAndExport("wikibase-schema"); }
|
click: function() { WikibaseExporterMenuBar.checkSchemaAndExport("wikibase-schema"); }
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
@ -51,7 +51,7 @@ WikibaseExporterMenuBar.exportTo = function(format) {
|
|||||||
$(form).css("display", "none")
|
$(form).css("display", "none")
|
||||||
.attr("method", "post")
|
.attr("method", "post")
|
||||||
.attr("action", "command/core/export-rows/"+targetUrl)
|
.attr("action", "command/core/export-rows/"+targetUrl)
|
||||||
.attr("target", "gridworks-export");
|
.attr("target", "gridworks-export-"+format);
|
||||||
$('<input />')
|
$('<input />')
|
||||||
.attr("name", "engine")
|
.attr("name", "engine")
|
||||||
.attr("value", JSON.stringify(ui.browsingEngine.getJSON()))
|
.attr("value", JSON.stringify(ui.browsingEngine.getJSON()))
|
||||||
|
Loading…
Reference in New Issue
Block a user