Merge pull request #131 from YunoHost/alert_to_upgrade_to_2.4

Alert to upgrade to 2.4
This commit is contained in:
opi 2016-08-01 12:32:48 +02:00 committed by GitHub
commit a0b6a4bf9d
4 changed files with 15 additions and 13 deletions

File diff suppressed because one or more lines are too long

View file

@ -547,6 +547,7 @@ var app = Sammy('#main', function (sam) {
$('.logout-button').fadeIn();
c.flash('success', y18n.t('logged_in'));
c.flash('warning', y18n.t('old_2_2_upgrade_link'));
if (store.get('path')) {
c.redirect(store.get('path'));
} else {

View file

@ -49,6 +49,7 @@
"passwords_too_short" : "Password is too short",
"password_empty" : "Password field is empty",
"logged_in" : "Logged in",
"old_2_2_upgrade_link" : "<b>Warning</b>: you are using the old version 2.2 of YunoHost, you should upgrade to 2.4 <a target='_blank' href='https://forum.yunohost.org/t/yunohost-2-4-released/1544'>by following those instructions</a>",
"logged_out" : "Logged out",
"unauthorized" : "Unauthorized",
"error_occured" : "An error occured, try again",

View file

@ -1,4 +1,5 @@
{
"old_2_2_upgrade_link" : "<b>Attention</b>: vous utilisez l'ancienne version 2.2 de YunoHost, vous devriez la mettre à jours vers la version 2.4 <a target='_blank' href='https://forum.yunohost.org/t/parution-de-yunohost-2-4/1541'>en suivant ces instructions</a>",
"domain": "Domaine",
"domains": "Domaines",
"password": "Mot de passe",