diff options
Diffstat (limited to 'applications/luci-app-vnstat2')
8 files changed, 60 insertions, 41 deletions
diff --git a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js index 0b01239799..14e968a071 100644 --- a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js +++ b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js @@ -1,13 +1,14 @@ // This is free software, licensed under the Apache License, Version 2.0 'use strict'; +'require view'; 'require fs'; 'require ui'; 'require uci'; 'require form'; 'require tools.widgets as widgets'; -return L.view.extend({ +return view.extend({ handleDeleteModal: function(m, iface, ev) { L.showModal(_('Delete interface <em>%h</em>').format(iface), [ E('p', _('The interface will be removed from the database permanently. This cannot be undone.')), diff --git a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js index 770884655a..fbe9d59337 100644 --- a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js +++ b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js @@ -1,10 +1,11 @@ // This is free software, licensed under the Apache License, Version 2.0 'use strict'; +'require view'; 'require fs'; 'require ui'; -return L.view.extend({ +return view.extend({ renderTab: function(ifaces, style, title) { var tab = E('div', { 'class': 'cbi-section', diff --git a/applications/luci-app-vnstat2/po/de/vnstat2.po b/applications/luci-app-vnstat2/po/de/vnstat2.po index 478219468f..e7a02ff494 100644 --- a/applications/luci-app-vnstat2/po/de/vnstat2.po +++ b/applications/luci-app-vnstat2/po/de/vnstat2.po @@ -1,7 +1,7 @@ msgid "" msgstr "" -"PO-Revision-Date: 2020-03-05 08:07+0000\n" -"Last-Translator: Tobias Strobel <me@strobeltobias.de>\n" +"PO-Revision-Date: 2020-03-29 21:22+0000\n" +"Last-Translator: Dr.-Ing. Patrick Siegl <patrick@siegl.it>\n" "Language-Team: German <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsvnstat2/de/>\n" "Language: de\n" @@ -29,7 +29,7 @@ msgstr "" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:23 #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:79 msgid "Delete" -msgstr "" +msgstr "Löschen" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:12 msgid "Delete interface <em>%h</em>" @@ -41,7 +41,7 @@ msgstr "" #: applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json:17 msgid "Graphs" -msgstr "" +msgstr "Diagramme" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:57 msgid "Hourly" @@ -61,7 +61,7 @@ msgstr "" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:46 msgid "Monitor interfaces" -msgstr "" +msgstr "Schnittstellen überwachen" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:59 msgid "Monthly" diff --git a/applications/luci-app-vnstat2/po/hu/vnstat2.po b/applications/luci-app-vnstat2/po/hu/vnstat2.po index 36ff0c0734..1d61f3bd18 100644 --- a/applications/luci-app-vnstat2/po/hu/vnstat2.po +++ b/applications/luci-app-vnstat2/po/hu/vnstat2.po @@ -1,14 +1,14 @@ msgid "" msgstr "" -"PO-Revision-Date: 2020-02-01 06:57+0000\n" -"Last-Translator: Balázs Úr <balazs@urbalazs.hu>\n" +"PO-Revision-Date: 2020-03-31 13:27+0000\n" +"Last-Translator: Tamas Szanto <taszanto@gmail.com>\n" "Language-Team: Hungarian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsvnstat2/hu/>\n" "Language: hu\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 3.11-dev\n" +"X-Generator: Weblate 4.0-dev\n" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:56 msgid "5 Minute" @@ -57,7 +57,7 @@ msgstr "Csatolók" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:14 msgid "Loading graphs…" -msgstr "" +msgstr "Grafikonok betöltése…" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:46 msgid "Monitor interfaces" diff --git a/applications/luci-app-vnstat2/po/pt/vnstat2.po b/applications/luci-app-vnstat2/po/pt/vnstat2.po index 0355cf46fc..0f3c110082 100644 --- a/applications/luci-app-vnstat2/po/pt/vnstat2.po +++ b/applications/luci-app-vnstat2/po/pt/vnstat2.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2020-03-03 13:35+0000\n" +"PO-Revision-Date: 2020-03-28 04:46+0000\n" "Last-Translator: ssantos <ssantos@web.de>\n" "Language-Team: Portuguese <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsvnstat2/pt/>\n" @@ -12,7 +12,7 @@ msgstr "" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:56 msgid "5 Minute" -msgstr "" +msgstr "5 minutos" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:18 msgid "Cancel" @@ -24,7 +24,7 @@ msgstr "Configuração" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:58 msgid "Daily" -msgstr "" +msgstr "Diário" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:23 #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:79 @@ -33,11 +33,11 @@ msgstr "Apagar" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:12 msgid "Delete interface <em>%h</em>" -msgstr "" +msgstr "Apagar interface <em>%h</em>" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:91 msgid "Delete…" -msgstr "" +msgstr "Apagar…" #: applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json:17 msgid "Graphs" @@ -45,7 +45,7 @@ msgstr "Gráficos" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:57 msgid "Hourly" -msgstr "" +msgstr "Horário" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:78 msgid "Interface" @@ -57,7 +57,7 @@ msgstr "Interfaces" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:14 msgid "Loading graphs…" -msgstr "" +msgstr "Carregando gráficos…" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:46 msgid "Monitor interfaces" @@ -65,66 +65,76 @@ msgstr "Monitorar interfaces" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:59 msgid "Monthly" -msgstr "" +msgstr "Mensal" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:61 msgid "" "No monitored interfaces have been found. Go to the configuration to enable " "monitoring for one or more interfaces." msgstr "" +"Não foram encontradas interfaces monitorizadas. Vá para a configuração para " +"ativar o monitoramento de uma ou mais interfaces." #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:95 msgid "No unconfigured interfaces found in database." -msgstr "" +msgstr "Não se encontram interfaces não configuradas na base de dados." #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:54 msgid "Summary" -msgstr "" +msgstr "Resumo" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:13 msgid "" "The interface will be removed from the database permanently. This cannot be " "undone." msgstr "" +"A interface será permanentemente removida da base de dados. Isto não pode " +"ser desfeito." #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:46 msgid "" "The selected interfaces are automatically added to the vnStat database upon " "startup." msgstr "" +"As interfaces selecionadas são automaticamente adicionadas à base de dados " +"vnStat no momento da inicialização." #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:100 msgid "" "These interfaces are present in the vnStat database, but are not configured " "above." msgstr "" +"Estas interfaces estão presentes na base de dados vnStat, mas não estão " +"configuradas acima." #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:55 msgid "Top" -msgstr "" +msgstr "Início" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:98 msgid "Unconfigured interfaces" -msgstr "" +msgstr "Interfaces não configuradas" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:60 msgid "Yearly" -msgstr "" +msgstr "Anual" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:40 msgid "vnStat" -msgstr "" +msgstr "vnStat" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:52 msgid "vnStat Graphs" -msgstr "" +msgstr "Gráficos vnStat" #: applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json:3 msgid "vnStat Traffic Monitor" -msgstr "" +msgstr "Monitor de Tráfego vnStat" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:40 msgid "" "vnStat is a network traffic monitor for Linux that keeps a log of network " "traffic for the selected interface(s)." msgstr "" +"O vnStat é um monitor de tráfego de rede para Linux que mantém um registo de " +"tráfego de rede para a(s) interface(s) selecionada(s)." diff --git a/applications/luci-app-vnstat2/po/ro/vnstat2.po b/applications/luci-app-vnstat2/po/ro/vnstat2.po index 6daa91de02..842d1e4ec2 100644 --- a/applications/luci-app-vnstat2/po/ro/vnstat2.po +++ b/applications/luci-app-vnstat2/po/ro/vnstat2.po @@ -1,8 +1,15 @@ msgid "" msgstr "" +"PO-Revision-Date: 2020-03-29 21:22+0000\n" +"Last-Translator: Cristian Ionescu <joker_op@yahoo.com>\n" +"Language-Team: Romanian <https://hosted.weblate.org/projects/openwrt/" +"luciapplicationsvnstat2/ro/>\n" "Language: ro\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2;\n" +"X-Generator: Weblate 4.0-dev\n" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:56 msgid "5 Minute" @@ -14,7 +21,7 @@ msgstr "" #: applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json:26 msgid "Configuration" -msgstr "" +msgstr "Configurare" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:58 msgid "Daily" @@ -35,7 +42,7 @@ msgstr "" #: applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json:17 msgid "Graphs" -msgstr "" +msgstr "Grafice" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:57 msgid "Hourly" @@ -43,7 +50,7 @@ msgstr "" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:78 msgid "Interface" -msgstr "" +msgstr "Interfață" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:42 msgid "Interfaces" diff --git a/applications/luci-app-vnstat2/po/sk/vnstat2.po b/applications/luci-app-vnstat2/po/sk/vnstat2.po index 249ae5a578..2026c8f5de 100644 --- a/applications/luci-app-vnstat2/po/sk/vnstat2.po +++ b/applications/luci-app-vnstat2/po/sk/vnstat2.po @@ -1,7 +1,7 @@ msgid "" msgstr "" -"PO-Revision-Date: 2020-03-09 14:35+0000\n" -"Last-Translator: Chaoos <all@chaoos.com>\n" +"PO-Revision-Date: 2020-04-04 17:35+0000\n" +"Last-Translator: Dušan Kazik <prescott66@gmail.com>\n" "Language-Team: Slovak <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsvnstat2/sk/>\n" "Language: sk\n" @@ -16,11 +16,11 @@ msgstr "" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:18 msgid "Cancel" -msgstr "Storno" +msgstr "Zrušiť" #: applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json:26 msgid "Configuration" -msgstr "" +msgstr "Konfigurácia" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:58 msgid "Daily" @@ -49,11 +49,11 @@ msgstr "" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:78 msgid "Interface" -msgstr "" +msgstr "Rozhranie" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:42 msgid "Interfaces" -msgstr "" +msgstr "Rozhrania" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:14 msgid "Loading graphs…" diff --git a/applications/luci-app-vnstat2/po/zh_Hant/vnstat2.po b/applications/luci-app-vnstat2/po/zh_Hant/vnstat2.po index 511fbeebf2..f0e966b98a 100644 --- a/applications/luci-app-vnstat2/po/zh_Hant/vnstat2.po +++ b/applications/luci-app-vnstat2/po/zh_Hant/vnstat2.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2020-03-09 14:35+0000\n" +"PO-Revision-Date: 2020-04-06 12:20+0000\n" "Last-Translator: Trevor <wowpapa3232@gmail.com>\n" "Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/" "openwrt/luciapplicationsvnstat2/zh_Hant/>\n" @@ -20,7 +20,7 @@ msgstr "取消" #: applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json:26 msgid "Configuration" -msgstr "設定" +msgstr "配置" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:58 msgid "Daily" @@ -29,7 +29,7 @@ msgstr "" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:23 #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:79 msgid "Delete" -msgstr "" +msgstr "刪除" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:12 msgid "Delete interface <em>%h</em>" @@ -61,11 +61,11 @@ msgstr "" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js:46 msgid "Monitor interfaces" -msgstr "" +msgstr "監測介面" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:59 msgid "Monthly" -msgstr "" +msgstr "每月" #: applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js:61 msgid "" |