Admin template translated.
parent
d0b3e19279
commit
44b8e565ae
|
@ -125,6 +125,7 @@ var ListWidgetChildView = Backbone.View.extend({
|
||||||
if (this.model.get('item').length > 30) {
|
if (this.model.get('item').length > 30) {
|
||||||
this.$el.tooltip({title:this.model.get('item')});
|
this.$el.tooltip({title:this.model.get('item')});
|
||||||
}
|
}
|
||||||
|
$(this.el).i18n();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -210,6 +211,7 @@ var ListWidgetView = Backbone.View.extend({
|
||||||
}, this);
|
}, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(this.el).i18n();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,6 +264,7 @@ var BreadCrumbView = Backbone.View.extend({
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
$('#breadcrumbs').html(this.el);
|
$('#breadcrumbs').html(this.el);
|
||||||
|
$(this.el).i18n();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -318,6 +321,7 @@ var BlackListListView = Backbone.View.extend({
|
||||||
collection: this.model
|
collection: this.model
|
||||||
}).render().el);
|
}).render().el);
|
||||||
|
|
||||||
|
$(this.el).i18n();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -410,6 +414,7 @@ var UserProfileView = Backbone.View.extend({
|
||||||
}
|
}
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
|
$(this.el).i18n();
|
||||||
return this;
|
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": {
|
"client": {
|
||||||
"more-info": {
|
"more-info": {
|
||||||
"contacts": "Administrative Contacts:",
|
"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": {
|
"client": {
|
||||||
"more-info": {
|
"more-info": {
|
||||||
"contacts": "Administrativ kontakt:",
|
"contacts": "Administrativ kontakt:",
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
<script type="text/html" id="tmpl-list-widget-child-empty">
|
<script type="text/html" id="tmpl-list-widget-child-empty">
|
||||||
<tr class="info">
|
<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>
|
</tr>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -57,17 +57,17 @@
|
||||||
<form class="form-horizontal">
|
<form class="form-horizontal">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div class="well well-small">
|
<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>
|
||||||
|
|
||||||
<div class="control-group" id="blacklist">
|
<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 class="controls">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="well well-small">
|
<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>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -78,11 +78,11 @@
|
||||||
<!-- user profile -->
|
<!-- user profile -->
|
||||||
<script type="text/html" id="tmpl-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">
|
<dl class="dl-horizontal">
|
||||||
<dt><span class="text-info">Claim name:</span></dt>
|
<dt><span class="text-info" data-i18n="admin.user-profile.claim">Claim name:</span></dt>
|
||||||
<dd><span class="text-info">Claim value:</span></dt>
|
<dd><span class="text-info" data-i18n="admin.user-profile.value">Claim value:</span></dt>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue