[fix] Always use appslists plural form for translation strings consistency.

This commit is contained in:
opi 2017-05-15 12:32:13 +02:00
parent d214734079
commit 5717a129bb
4 changed files with 6 additions and 6 deletions

View file

@ -108,7 +108,7 @@
app.get('#/apps/lists/:appslist/remove', function (c) {
c.confirm(
y18n.t('appslist'),
y18n.t('appslist_confirm_remove', [c.params['app']]),
y18n.t('appslists_confirm_remove', [c.params['app']]),
function() {
c.api('/appslists', function() {
c.redirect('#/apps/lists');

View file

@ -332,12 +332,12 @@
"appslists" : "Applications lists",
"appslists_add" : "Add applications list",
"appslists_manage" : "Manage applications lists",
"appslist_confirm_remove" : "Are you sure you want to remove this applications list?",
"appslists_confirm_remove" : "Are you sure you want to remove this applications list?",
"appslists_info_refresh_desc" : "Refresh applications status from this list.",
"appslists_info_remove_desc" : "Applications from this list will not be available anymore.",
"appslist_last_update" : "Last update",
"appslists_last_update" : "Last update",
"appslists_unknown_list" : "Unknown apps list: %s",
"name" : "Name",
"install_custom_app_appslist_info" : "Note that you can use alternative applications lists to install some other apps maintained by the YunoHost community."
"install_custom_app_appslists_info" : "Note that you can use alternative applications lists to install some other apps maintained by the YunoHost community."
}

View file

@ -17,7 +17,7 @@
<dd>{{appslist.name}}</dd>
<dt>{{t 'url'}}</dt>
<dd>{{appslist.url}}</dd>
<dt>{{t 'appslist_last_update'}}</dt>
<dt>{{t 'appslists_last_update'}}</dt>
<dd>{{timestampToDate appslist.lastUpdate}}</dd>
</dl>
</div>

View file

@ -43,7 +43,7 @@
</p>
<div class="alert alert-info">
<p><span class="fa-lightbulb-o"></span>
{{t 'install_custom_app_appslist_info'}}</p>
{{t 'install_custom_app_appslists_info'}}</p>
<p>
<a href="#/apps/lists" class="btn btn-info">{{t 'appslists_manage'}}</a>
</p>