Fix i18n calls after migration
This commit is contained in:
parent
321d01402c
commit
7dd4db1ca1
@ -43,7 +43,7 @@ Refine.GDataSourceUI.prototype.attachUI = function(body) {
|
|||||||
|
|
||||||
$('#gdata-title').text($.i18n('gdata-import/title'));
|
$('#gdata-title').text($.i18n('gdata-import/title'));
|
||||||
$('#gdata-import').html($.i18n('gdata-import/import-by-url'));
|
$('#gdata-import').html($.i18n('gdata-import/import-by-url'));
|
||||||
$('#gdata-next').html($.i18n('gdata-import')["next->"]);
|
$('#gdata-next').html($.i18n('gdata-import/next->'));
|
||||||
$('#gdata-auth-doc').text($.i18n('gdata-import/auth-doc'));
|
$('#gdata-auth-doc').text($.i18n('gdata-import/auth-doc'));
|
||||||
$('#gdata-please').text($.i18n('gdata-import/please'));
|
$('#gdata-please').text($.i18n('gdata-import/please'));
|
||||||
$('#gdata-signin-btn').text($.i18n('gdata-import/sign-in'));
|
$('#gdata-signin-btn').text($.i18n('gdata-import/sign-in'));
|
||||||
|
@ -82,7 +82,7 @@ EditRenderer._renderTerm = function(termType, json, container) {
|
|||||||
var namedesc = $('<div></div>').addClass('wbs-namedesc').appendTo(container);
|
var namedesc = $('<div></div>').addClass('wbs-namedesc').appendTo(container);
|
||||||
var type_container = $('<div></div>').addClass('wbs-namedesc-type').appendTo(namedesc);
|
var type_container = $('<div></div>').addClass('wbs-namedesc-type').appendTo(namedesc);
|
||||||
var type_span = $('<span></span>').appendTo(type_container)
|
var type_span = $('<span></span>').appendTo(type_container)
|
||||||
.text($.i18n('wikidata-schema')[termType]);
|
.text($.i18n('wikidata-schema/'+termType));
|
||||||
|
|
||||||
var right = $('<div></div>').addClass('wbs-right').appendTo(namedesc);
|
var right = $('<div></div>').addClass('wbs-right').appendTo(namedesc);
|
||||||
var value_container = $('<div></div>').addClass('wbs-namedesc-value').appendTo(namedesc);
|
var value_container = $('<div></div>').addClass('wbs-namedesc-value').appendTo(namedesc);
|
||||||
|
@ -96,7 +96,7 @@ ScatterplotDialog.prototype._renderMatrix = function() {
|
|||||||
};
|
};
|
||||||
$.getJSON("command/core/get-columns-info?" + $.param(params),function(data) {
|
$.getJSON("command/core/get-columns-info?" + $.param(params),function(data) {
|
||||||
if (data === null || typeof data.length == 'undefined') {
|
if (data === null || typeof data.length == 'undefined') {
|
||||||
container.html($.i18n('core-dialogs')["error-getColumnInfo"]);
|
container.html($.i18n('core-dialogs/error-getColumnInfo'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ function EditMetadataDialog(metaData, targetRowElem) {
|
|||||||
var td0 = tr.insertCell(0);
|
var td0 = tr.insertCell(0);
|
||||||
|
|
||||||
var td1 = tr.insertCell(1);
|
var td1 = tr.insertCell(1);
|
||||||
var keyLable = $.i18n('core-index')[key] || key;
|
var keyLable = $.i18n('core-index/'+key) || key;
|
||||||
$(td1).text(keyLable);
|
$(td1).text(keyLable);
|
||||||
|
|
||||||
var td2 = tr.insertCell(2);
|
var td2 = tr.insertCell(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user