Translate loading popyps in client page.
parent
7d24490f30
commit
91ac730129
|
@ -438,10 +438,11 @@ var ClientListView = Backbone.View.extend({
|
|||
}
|
||||
|
||||
$('#loadingbox').sheet('show');
|
||||
$('#loading').html('<span class="label" id="loading-clients">Clients</span> ' +
|
||||
'<span class="label" id="loading-whitelist">Whitelist</span> ' +
|
||||
'<span class="label" id="loading-scopes">Scopes</span> ' +
|
||||
'<span class="label" id="loading-stats">Statistics</span> '
|
||||
$('#loading').html(
|
||||
'<span class="label" id="loading-clients">' + $.t("common.clients") + '</span>' +
|
||||
'<span class="label" id="loading-whitelist">' + $.t("whitelist.whitelist") + '</span> ' +
|
||||
'<span class="label" id="loading-scopes">' + $.t("common.scopes") + '</span> ' +
|
||||
'<span class="label" id="loading-stats">' + $.t("common.statistics") + '</span> '
|
||||
);
|
||||
|
||||
$.when(this.model.fetchIfNeeded({success:function(e) {$('#loading-clients').addClass('label-success');}}),
|
||||
|
@ -548,10 +549,11 @@ var ClientListView = Backbone.View.extend({
|
|||
refreshTable:function(e) {
|
||||
e.preventDefault();
|
||||
$('#loadingbox').sheet('show');
|
||||
$('#loading').html('<span class="label" id="loading-clients">Clients</span> ' +
|
||||
'<span class="label" id="loading-whitelist">Whitelist</span> ' +
|
||||
'<span class="label" id="loading-scopes">Scopes</span> ' +
|
||||
'<span class="label" id="loading-stats">Statistics</span> '
|
||||
$('#loading').html(
|
||||
'<span class="label" id="loading-clients">' + $.t("common.clients") + '</span>' +
|
||||
'<span class="label" id="loading-whitelist">' + $.t("whitelist.whitelist") + '</span> ' +
|
||||
'<span class="label" id="loading-scopes">' + $.t("common.scopes") + '</span> ' +
|
||||
'<span class="label" id="loading-stats">' + $.t("common.statistics") + '</span> '
|
||||
);
|
||||
|
||||
var _self = this;
|
||||
|
@ -649,7 +651,7 @@ var ClientFormView = Backbone.View.extend({
|
|||
if (this.model.get('id') == null) {
|
||||
// only show the box if this is a new client, otherwise the box is already showing
|
||||
$('#loadingbox').sheet('show');
|
||||
$('#loading').html('<span class="label" id="loading-scopes">Scopes</span> ');
|
||||
$('#loading').html('<span class="label" id="loading-scopes">' + $.t("common.scopes") + '</span> ');
|
||||
}
|
||||
|
||||
$.when(this.options.systemScopeList.fetchIfNeeded({success:function(e) {$('#loading-scopes').addClass('label-success');}}))
|
||||
|
|
|
@ -92,7 +92,8 @@
|
|||
"information": "Information",
|
||||
"revoke": "Revoke",
|
||||
"save": "Save",
|
||||
"scopes": "Scopes"
|
||||
"scopes": "Scopes",
|
||||
"statistics": "Statistics"
|
||||
},
|
||||
"grant": {
|
||||
"more-info": "more information",
|
||||
|
|
|
@ -93,7 +93,8 @@
|
|||
"refresh": "Uppdatera",
|
||||
"revoke": "Återkalla",
|
||||
"save": "Spara",
|
||||
"scopes": "Scope"
|
||||
"scopes": "Scope",
|
||||
"statistics": "Statistik"
|
||||
},
|
||||
"grant": {
|
||||
"refresh": "Uppdatera",
|
||||
|
|
Loading…
Reference in New Issue