mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Split confirm_upnp_action sentence for better translations.
This commit is contained in:
parent
02b25042f7
commit
95f853abbd
2 changed files with 3 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
||||||
app.get('#/tools/firewall/upnp/:action', function (c) {
|
app.get('#/tools/firewall/upnp/:action', function (c) {
|
||||||
c.confirm(
|
c.confirm(
|
||||||
y18n.t('firewall'),
|
y18n.t('firewall'),
|
||||||
y18n.t('confirm_upnp_action', [y18n.t(c.params['action'])]),
|
y18n.t('confirm_upnp_' + c.params['action'].toLowerCase()),
|
||||||
function(){
|
function(){
|
||||||
params = {'action' : c.params['action']};
|
params = {'action' : c.params['action']};
|
||||||
c.api('/firewall/upnp', function(data) {
|
c.api('/firewall/upnp', function(data) {
|
||||||
|
|
|
@ -79,6 +79,8 @@
|
||||||
"confirm_update_apps": "Are you sure you want update every applications ?",
|
"confirm_update_apps": "Are you sure you want update every applications ?",
|
||||||
"confirm_update_packages": "Are you sure you want update every packages ?",
|
"confirm_update_packages": "Are you sure you want update every packages ?",
|
||||||
"confirm_upnp_action": "Are you sure you want to %s UPnP ?",
|
"confirm_upnp_action": "Are you sure you want to %s UPnP ?",
|
||||||
|
"confirm_upnp_enable": "Are you sure you want to enable UPnP ?",
|
||||||
|
"confirm_upnp_disable": "Are you sure you want to disable UPnP ?",
|
||||||
"connection": "Connection",
|
"connection": "Connection",
|
||||||
"copy": "Copy",
|
"copy": "Copy",
|
||||||
"count_min": "%s min",
|
"count_min": "%s min",
|
||||||
|
|
Loading…
Add table
Reference in a new issue