diff --git a/main/webapp/modules/core/scripts/project/browsing-engine.js b/main/webapp/modules/core/scripts/project/browsing-engine.js index 13ab02569..a4adbef79 100644 --- a/main/webapp/modules/core/scripts/project/browsing-engine.js +++ b/main/webapp/modules/core/scripts/project/browsing-engine.js @@ -96,20 +96,20 @@ BrowsingEngine.prototype._initializeUI = function() { this._div.html( '
' + - '

Using facets and filters

' + - '

Use facets and filters to select subsets of your data to act on. Choose facet and filter methods from the menus at the top of each data column.

' + - '

Not sure how to get started?
Watch these screencasts

' + + '

'+$.i18n._('core-project')["use-facets"]+'

' + + '

'+$.i18n._('core-project')["use-to-select"]+'

' + + '

'+$.i18n._('core-project')["not-sure"]+'
'+$.i18n._('core-project')["watch-cast"]+'

' + '
' + '
' + '
' + - ' Refreshing facets...' + + ' '+$.i18n._('core-project')["refreshing-facet"]+'' + '
' + '
' + '' + - 'Reset All' + - 'Remove All' + + ''+$.i18n._('core-buttons')["reset-all"]+'' + + ''+$.i18n._('core-buttons')["remove-all"]+'' + '
' + '
' + '' diff --git a/main/webapp/modules/core/scripts/project/exporters.js b/main/webapp/modules/core/scripts/project/exporters.js index ede656a43..76dc81482 100644 --- a/main/webapp/modules/core/scripts/project/exporters.js +++ b/main/webapp/modules/core/scripts/project/exporters.js @@ -41,55 +41,55 @@ ExporterManager.handlers = {}; ExporterManager.MenuItems = [ { "id" : "core/export-project", - "label": "Export project", + "label": $.i18n._('core-project')["export-project"], "click": function() { ExporterManager.handlers.exportProject(); } }, {}, { "id" : "core/export-tsv", - "label": "Tab-separated value", + "label": $.i18n._('core-project')["tab-value"], "click": function() { ExporterManager.handlers.exportRows("tsv", "tsv"); } }, { "id" : "core/export-csv", - "label": "Comma-separated value", + "label": $.i18n._('core-project')["comma-sep"], "click": function() { ExporterManager.handlers.exportRows("csv", "csv"); } }, { "id" : "core/export-html-table", - "label": "HTML table", + "label": $.i18n._('core-project')["html-table"], "click": function() { ExporterManager.handlers.exportRows("html", "html"); } }, { "id" : "core/export-excel", - "label": "Excel", + "label": $.i18n._('core-project')["excel"], "click": function() { ExporterManager.handlers.exportRows("xls", "xls"); } }, { "id" : "core/export-ods", - "label": "ODF spreadsheet", + "label": $.i18n._('core-project')["odf"], "click": function() { ExporterManager.handlers.exportRows("ods", "ods"); } }, {}, { "id" : "core/export-tripleloader", - "label": "Triple loader", + "label": $.i18n._('core-project')["triple-loader"], "click": function() { ExporterManager.handlers.exportTripleloader("tripleloader"); } }, { "id" : "core/export-mqlwrite", - "label": "MQLWrite", + "label": $.i18n._('core-project')["mqlwrite"], "click": function() { ExporterManager.handlers.exportTripleloader("mqlwrite"); } }, {}, { "id" : "core/export-custom-tabular", - "label": "Custom tabular exporter...", + "label": $.i18n._('core-project')["custom-tabular"], "click": function() { new CustomTabularExporterDialog(); } }, { "id" : "core/export-templating", - "label": "Templating...", + "label": $.i18n._('core-project')["templating"], "click": function() { new TemplatingExporterDialog(); } } ]; @@ -109,10 +109,7 @@ ExporterManager.prototype._initializeUI = function() { ExporterManager.handlers.exportTripleloader = function(format) { if (!theProject.overlayModels.freebaseProtograph) { - alert( - "You haven't done any schema alignment yet,\nso there is no triple to export.\n\n" + - "Use the Freebase > Edit Schema Alignment Skeleton...\ncommand to align your data with Freebase schemas first." - ); + alert($.i18n._('triple-loader')["warning-align"]); } else { ExporterManager.handlers.exportRows(format, "txt"); } diff --git a/main/webapp/modules/core/scripts/project/history-apply-dialog.html b/main/webapp/modules/core/scripts/project/history-apply-dialog.html index a4cd447d4..b8db970d1 100644 --- a/main/webapp/modules/core/scripts/project/history-apply-dialog.html +++ b/main/webapp/modules/core/scripts/project/history-apply-dialog.html @@ -1,15 +1,13 @@
-
Apply Operation History
+
-
- Paste an extracted JSON history of operations to perform: -
+