Flatten remaining messages

This commit is contained in:
Antonin Delpeuch 2018-11-21 16:45:24 +00:00
parent 5153dd950a
commit b46c5a7b4e
3 changed files with 18 additions and 18 deletions

View File

@ -65,19 +65,19 @@ Refine.DatabaseSourceUI.prototype.attachUI = function(body) {
var self = this;
$('#database-title').text($.i18n._('database-import/title'));
$('#connectionNameLabel').html($.i18n._("database-source")["connectionNameLabel"]);
$('#databaseTypeLabel').html($.i18n._("database-source")["databaseTypeLabel"]);
$('#databaseHostLabel').text($.i18n._("database-source")["databaseHostLabel"]);
$('#databasePortLabel').text($.i18n._("database-source")["databasePortLabel"]);
$('#databaseUserLabel').text($.i18n._("database-source")["databaseUserLabel"]);
$('#databasePasswordLabel').text($.i18n._("database-source")["databasePasswordLabel"]);
$('#databaseNameLabel').text($.i18n._("database-source")["databaseNameLabel"]);
$('#databaseSchemaLabel').text($.i18n._("database-source")["databaseSchemaLabel"]);
$('#databaseTestButton').text($.i18n._("database-source")["databaseTestButton"]);
$('#databaseSaveButton').text($.i18n._("database-source")["databaseSaveButton"]);
$('#databaseConnectButton').text($.i18n._("database-source")["databaseConnectButton"]);
$('#newConnectionButtonDiv').text($.i18n._("database-source")["newConnectionButtonDiv"]);
$('#savedConnectionSpan').text($.i18n._("database-source")["savedConnectionSpan"]);
$('#connectionNameLabel').html($.i18n._('database-source/connectionNameLabel'));
$('#databaseTypeLabel').html($.i18n._('database-source/databaseTypeLabel'));
$('#databaseHostLabel').text($.i18n._('database-source/databaseHostLabel'));
$('#databasePortLabel').text($.i18n._('database-source/databasePortLabel'));
$('#databaseUserLabel').text($.i18n._('database-source/databaseUserLabel'));
$('#databasePasswordLabel').text($.i18n._('database-source/databasePasswordLabel'));
$('#databaseNameLabel').text($.i18n._('database-source/databaseNameLabel'));
$('#databaseSchemaLabel').text($.i18n._('database-source/databaseSchemaLabel'));
$('#databaseTestButton').text($.i18n._('database-source/databaseTestButton'));
$('#databaseSaveButton').text($.i18n._('database-source/databaseSaveButton'));
$('#databaseConnectButton').text($.i18n._('database-source/databaseConnectButton'));
$('#newConnectionButtonDiv').text($.i18n._('database-source/newConnectionButtonDiv'));
$('#savedConnectionSpan').text($.i18n._('database-source/savedConnectionSpan'));
this._elmts.newConnectionButton.click(function(evt) {

View File

@ -61,7 +61,7 @@ function SqlExporterDialog(options) {
this._elmts.cancelButton.html($.i18n._('core-buttons/cancel'));
// this._elmts.nextButton.html($.i18n._('core-buttons/next'));
this._elmts.tableNameLabel.html($.i18n._('core-dialogs')["tableNameLabel"]);
this._elmts.tableNameLabel.html($.i18n._('core-dialogs/tableNameLabel'));
this._elmts.includeStructureLabel.html($.i18n._('core-dialogs/for-include-structure-checkbox'));
this._elmts.includeDropStatementLabel.html($.i18n._('core-dialogs/for-include-drop-statement-checkbox'));
this._elmts.includeContentLabel.html($.i18n._('core-dialogs/for-include-content-checkbox'));
@ -69,9 +69,9 @@ function SqlExporterDialog(options) {
this._elmts.nullCellValueToEmptyStringLabel.html($.i18n._('core-dialogs/for-null-cell-value-to-empty-str-label'));
this._elmts.sqlExportIgnoreFacetsLabel.html($.i18n._('core-dialogs')["sqlExporterIgnoreFacets"]);
this._elmts.sqlExportTrimAllColumnsLabel.html($.i18n._('core-dialogs')["sqlExporterTrimColumns"]);
this._elmts.sqlExportOutputEmptyRowsLabel.html($.i18n._('core-dialogs')["sqlExporterOutputEmptyRows"]);
this._elmts.sqlExportIgnoreFacetsLabel.html($.i18n._('core-dialogs/sqlExporterIgnoreFacets'));
this._elmts.sqlExportTrimAllColumnsLabel.html($.i18n._('core-dialogs/sqlExporterTrimColumns'));
this._elmts.sqlExportOutputEmptyRowsLabel.html($.i18n._('core-dialogs/sqlExporterOutputEmptyRows'));
$("#sql-exporter-tabs-content").css("display", "");
$("#sql-exporter-tabs-download").css("display", "");

View File

@ -93,7 +93,7 @@ EditMetadataDialog.prototype._createDialog = function() {
var body = $("#metadata-body");
$('<h1>').text($.i18n._('core-index')["metaDatas"]).appendTo(body);
$('<h1>').text($.i18n._('core-index/metaDatas')).appendTo(body);
var metadataTable = $("<table>")
.addClass("list-table")