[fix] Split confirm_update sentence for better translations.

This commit is contained in:
opi 2017-03-21 16:27:31 +01:00
parent d06f5ea415
commit c00ab38700
2 changed files with 3 additions and 1 deletions

View file

@ -74,7 +74,7 @@
else {
c.confirm(
y18n.t('tools'),
y18n.t('confirm_update_type', [y18n.t('system_'+c.params['type']).toLowerCase()]),
y18n.t('confirm_update_' + c.params['type'].toLowerCase()),
function(){
endurl = '';
if (c.params['type'] == 'packages') {endurl = 'ignore_apps';}

View file

@ -70,6 +70,8 @@
"confirm_service_action": "Are you sure you want to %s %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 ?",
"confirm_update_packages": "Are you sure you want update every packages ?",
"confirm_upnp_action": "Are you sure you want to %s UPnP ?",
"connection": "Connection",
"copy": "Copy",