From 5717a129bbd1284bd26735c2c3675a5da150c031 Mon Sep 17 00:00:00 2001
From: opi
Date: Mon, 15 May 2017 12:32:13 +0200
Subject: [PATCH] [fix] Always use appslists plural form for translation
strings consistency.
---
src/js/yunohost/controllers/apps.js | 2 +-
src/locales/en.json | 6 +++---
src/views/app/app_appslists_info.ms | 2 +-
src/views/app/app_list_install.ms | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js
index 291d539e..4edaf4d2 100644
--- a/src/js/yunohost/controllers/apps.js
+++ b/src/js/yunohost/controllers/apps.js
@@ -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');
diff --git a/src/locales/en.json b/src/locales/en.json
index e1e2de9d..6c5410bd 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -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."
}
diff --git a/src/views/app/app_appslists_info.ms b/src/views/app/app_appslists_info.ms
index 986452df..f8186774 100644
--- a/src/views/app/app_appslists_info.ms
+++ b/src/views/app/app_appslists_info.ms
@@ -17,7 +17,7 @@
{{appslist.name}}
{{t 'url'}}
{{appslist.url}}
- {{t 'appslist_last_update'}}
+ {{t 'appslists_last_update'}}
{{timestampToDate appslist.lastUpdate}}
diff --git a/src/views/app/app_list_install.ms b/src/views/app/app_list_install.ms
index 7ef02a8e..1ff9b887 100644
--- a/src/views/app/app_list_install.ms
+++ b/src/views/app/app_list_install.ms
@@ -43,7 +43,7 @@