[fix] Split confirm_service_action sentence for better translations.

This commit is contained in:
opi 2017-03-21 16:30:10 +01:00
parent c00ab38700
commit c1708fd9ca
2 changed files with 5 additions and 1 deletions

View file

@ -59,7 +59,7 @@
app.get('#/services/:service/:action', function (c) {
c.confirm(
"Service",
y18n.t('confirm_service_action', [y18n.t(c.params['action']), c.params['service']]),
y18n.t('confirm_service_' + c.params['action'].toLowerCase(), [c.params['service']]),
function(){
var method = null, endurl = c.params['service'];

View file

@ -68,6 +68,10 @@
"confirm_postinstall": "You are about to launch the post-installation process on the domain %s. It may take a few minutes, *do not interrupt the operation*.",
"confirm_restore": "Are you sure you want to restore %s ?",
"confirm_service_action": "Are you sure you want to %s %s ?",
"confirm_service_start": "Are you sure you want to start %s ?",
"confirm_service_stop": "Are you sure you want to stop %s ?",
"confirm_service_enable": "Are you sure you want to enable %s ?",
"confirm_service_disable": "Are you sure you want to disable %s ?",
"confirm_uninstall": "Are you sure you want to uninstall %s ?",
"confirm_update_type": "Are you sure you want update every %s ?",
"confirm_update_apps": "Are you sure you want update every applications ?",