Admin template translated.
parent
d0b3e19279
commit
44b8e565ae
|
@ -125,6 +125,7 @@ var ListWidgetChildView = Backbone.View.extend({
|
|||
if (this.model.get('item').length > 30) {
|
||||
this.$el.tooltip({title:this.model.get('item')});
|
||||
}
|
||||
$(this.el).i18n();
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
@ -210,6 +211,7 @@ var ListWidgetView = Backbone.View.extend({
|
|||
}, this);
|
||||
}
|
||||
|
||||
$(this.el).i18n();
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -262,6 +264,7 @@ var BreadCrumbView = Backbone.View.extend({
|
|||
}, this);
|
||||
|
||||
$('#breadcrumbs').html(this.el);
|
||||
$(this.el).i18n();
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -318,6 +321,7 @@ var BlackListListView = Backbone.View.extend({
|
|||
collection: this.model
|
||||
}).render().el);
|
||||
|
||||
$(this.el).i18n();
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
@ -410,6 +414,7 @@ var UserProfileView = Backbone.View.extend({
|
|||
}
|
||||
}, this);
|
||||
|
||||
$(this.el).i18n();
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,4 +1,17 @@
|
|||
{
|
||||
"admin": {
|
||||
"blacklist-form": {
|
||||
"blacklisted-uris": "Blacklisted URIs"
|
||||
},
|
||||
"list-widget": {
|
||||
"empty": "There are no items in this list."
|
||||
},
|
||||
"user-profile": {
|
||||
"claim": "Claim name:",
|
||||
"text": "Your user profile has the following information:",
|
||||
"value": "Claim value:"
|
||||
}
|
||||
},
|
||||
"client": {
|
||||
"more-info": {
|
||||
"contacts": "Administrative Contacts:",
|
||||
|
|
|
@ -1,4 +1,17 @@
|
|||
{
|
||||
"admin": {
|
||||
"blacklist-form": {
|
||||
"blacklisted-uris": "Svarlistade URIer"
|
||||
},
|
||||
"list-widget": {
|
||||
"empty": "Det finns inget innehåll i denna lista."
|
||||
},
|
||||
"user-profile": {
|
||||
"claim": "Claim-namn:",
|
||||
"text": "Din användarprofil innehåller följande information:",
|
||||
"value": "Claim-värde:"
|
||||
}
|
||||
},
|
||||
"client": {
|
||||
"more-info": {
|
||||
"contacts": "Administrativ kontakt:",
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
<script type="text/html" id="tmpl-list-widget-child-empty">
|
||||
<tr class="info">
|
||||
<td colspan="2">There are no items in this list.</td>
|
||||
<td colspan="2" data-i18n="admin.list-widget.empty">There are no items in this list.</td>
|
||||
</tr>
|
||||
</script>
|
||||
|
||||
|
@ -57,17 +57,17 @@
|
|||
<form class="form-horizontal">
|
||||
<fieldset>
|
||||
<div class="well well-small">
|
||||
<button class="btn btn-small refresh-table"><i class="icon-refresh"></i> Refresh</button>
|
||||
<button class="btn btn-small refresh-table"><i class="icon-refresh"></i> <span data-i18n="common.refresh">Refresh</span></button>
|
||||
</div>
|
||||
|
||||
<div class="control-group" id="blacklist">
|
||||
<label class="control-label">Blacklisted URIs</label>
|
||||
<label class="control-label" data-i18n="admin.blacklist-form.blacklisted-uris">Blacklisted URIs</label>
|
||||
<div class="controls">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="well well-small">
|
||||
<button class="btn btn-small refresh-table"><i class="icon-refresh"></i> Refresh</button>
|
||||
<button class="btn btn-small refresh-table"><i class="icon-refresh"></i> <span data-i18n="common.refresh">Refresh</span></button>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
@ -78,11 +78,11 @@
|
|||
<!-- user profile -->
|
||||
<script type="text/html" id="tmpl-user-profile">
|
||||
|
||||
<div>Your user profile has the following information:</div>
|
||||
<div data-i18n="admin.user-profile.text">Your user profile has the following information:</div>
|
||||
|
||||
<dl class="dl-horizontal">
|
||||
<dt><span class="text-info">Claim name:</span></dt>
|
||||
<dd><span class="text-info">Claim value:</span></dt>
|
||||
<dt><span class="text-info" data-i18n="admin.user-profile.claim">Claim name:</span></dt>
|
||||
<dd><span class="text-info" data-i18n="admin.user-profile.value">Claim value:</span></dt>
|
||||
</dl>
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue