[fix] Use _desc as suffix for backup string. Properly minify JS.

This commit is contained in:
opi 2015-10-08 12:56:00 +02:00
parent c11aba2ee9
commit 88c3824b0f
4 changed files with 22 additions and 8307 deletions

File diff suppressed because one or more lines are too long

View file

@ -373,7 +373,7 @@ var app = Sammy('#main', function (sam) {
data[group_id]={ data[group_id]={
name:y18n.t('hook_'+group_id), name:y18n.t('hook_'+group_id),
value:hook, value:hook,
description:(group_id==hook)?y18n.t('hook_desc_'+hook):y18n.t('hook_'+hook) description:(group_id==hook)?y18n.t('hook_'+hook+'_desc'):y18n.t('hook_'+hook)
}; };
}); });
return data; return data;

View file

@ -260,9 +260,9 @@
"restore": "Restore", "restore": "Restore",
"download": "Download", "download": "Download",
"hook_data_home": "User data", "hook_data_home": "User data",
"hook_desc_data_home": "User data located in /home/USER", "hook_data_home_desc": "User data located in /home/USER",
"hook_data_mail": "Mail", "hook_data_mail": "Mail",
"hook_desc_data_mail": "Mail which are on the server", "hook_data_mail_desc": "Mail which are on the server",
"hook_conf_ldap": "LDAP", "hook_conf_ldap": "LDAP",
"hook_conf_ssh": "SSH", "hook_conf_ssh": "SSH",
"hook_conf_ynh_mysql": "Password MySQL", "hook_conf_ynh_mysql": "Password MySQL",

View file

@ -238,12 +238,12 @@
"backup_archive_copy": "Copier cette sauvegarde sur un autre stockage", "backup_archive_copy": "Copier cette sauvegarde sur un autre stockage",
"copy": "Copier", "copy": "Copier",
"backup_create": "Créer une sauvegarde", "backup_create": "Créer une sauvegarde",
"restore": "Restorer", "restore": "Restaurer",
"download": "Télécharger", "download": "Télécharger",
"hook_data_home": "Données utilisateurs", "hook_data_home": "Données utilisateurs",
"hook_desc_data_home": "Les données des utilisateurs situées dans /home/USER", "hook_data_home_desc": "Les données des utilisateurs situées dans /home/USER",
"hook_data_mail": "Mail", "hook_data_mail": "Mail",
"hook_desc_data_mail": "Les mails qui sont encore sur le serveur", "hook_data_mail_desc": "Les mails qui sont encore sur le serveur",
"hook_conf_ldap": "LDAP", "hook_conf_ldap": "LDAP",
"hook_conf_ssh": "SSH", "hook_conf_ssh": "SSH",
"hook_conf_ynh_mysql": "Mot de passe MySQL", "hook_conf_ynh_mysql": "Mot de passe MySQL",