diff options
-rw-r--r-- | applications/luci-ddns/luasrc/i18n/ddns.pt-br.lua (renamed from applications/luci-ddns/luasrc/i18n/ddns.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-ddns/luasrc/i18n/ddns.pt-br.xml (renamed from applications/luci-ddns/luasrc/i18n/ddns.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-fw/luasrc/i18n/luci-fw.pt-br.lua (renamed from applications/luci-fw/luasrc/i18n/luci-fw.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-fw/luasrc/i18n/luci-fw.pt-br.xml (renamed from applications/luci-fw/luasrc/i18n/luci-fw.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-hd_idle/luasrc/i18n/hd_idle.pt-br.lua (renamed from applications/luci-hd_idle/luasrc/i18n/hd_idle.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-hd_idle/luasrc/i18n/hd_idle.pt-br.xml (renamed from applications/luci-hd_idle/luasrc/i18n/hd_idle.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-initmgr/luasrc/i18n/initmgr.pt-br.lua (renamed from applications/luci-initmgr/luasrc/i18n/initmgr.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-initmgr/luasrc/i18n/initmgr.pt-br.xml (renamed from applications/luci-initmgr/luasrc/i18n/initmgr.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-ntpc/luasrc/i18n/ntpc.pt-br.lua (renamed from applications/luci-ntpc/luasrc/i18n/ntpc.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-ntpc/luasrc/i18n/ntpc.pt-br.xml (renamed from applications/luci-ntpc/luasrc/i18n/ntpc.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-p910nd/luasrc/i18n/p910nd.pt-br.lua (renamed from applications/luci-p910nd/luasrc/i18n/p910nd.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-p910nd/luasrc/i18n/p910nd.pt-br.xml (renamed from applications/luci-p910nd/luasrc/i18n/p910nd.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-qos/luasrc/i18n/qos.pt-br.lua (renamed from applications/luci-qos/luasrc/i18n/qos.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-qos/luasrc/i18n/qos.pt-br.xml (renamed from applications/luci-qos/luasrc/i18n/qos.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-samba/luasrc/i18n/samba.pt-br.lua (renamed from applications/luci-samba/luasrc/i18n/samba.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-samba/luasrc/i18n/samba.pt-br.xml (renamed from applications/luci-samba/luasrc/i18n/samba.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-statistics/luasrc/i18n/rrdtool.pt-br.lua (renamed from applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-statistics/luasrc/i18n/rrdtool.pt-br.xml.hide (renamed from applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.xml.hide) | 0 | ||||
-rw-r--r-- | applications/luci-statistics/luasrc/i18n/statistics.pt-br.lua (renamed from applications/luci-statistics/luasrc/i18n/statistics.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-statistics/luasrc/i18n/statistics.pt-br.xml (renamed from applications/luci-statistics/luasrc/i18n/statistics.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt-br.lua (renamed from applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt-br.xml (renamed from applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-upnp/luasrc/i18n/upnp.pt-br.lua (renamed from applications/luci-upnp/luasrc/i18n/upnp.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-upnp/luasrc/i18n/upnp.pt-br.xml (renamed from applications/luci-upnp/luasrc/i18n/upnp.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-ushare/luasrc/i18n/ushare.pt-br.lua (renamed from applications/luci-ushare/luasrc/i18n/ushare.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-ushare/luasrc/i18n/ushare.pt-br.xml (renamed from applications/luci-ushare/luasrc/i18n/ushare.pt_br.xml) | 0 | ||||
-rw-r--r-- | applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt-br.lua (renamed from applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt_br.lua) | 0 | ||||
-rw-r--r-- | applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt-br.xml (renamed from applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt_br.xml) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt-br.lua (renamed from i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt_br.lua) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt-br.xml (renamed from i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt_br.xml) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/cbi.pt-br.lua (renamed from i18n/portuguese_brazilian/luasrc/i18n/cbi.pt_br.lua) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/cbi.pt-br.xml (renamed from i18n/portuguese_brazilian/luasrc/i18n/cbi.pt_br.xml) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/default.pt-br.lua (renamed from i18n/portuguese_brazilian/luasrc/i18n/default.pt_br.lua) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/default.pt-br.xml (renamed from i18n/portuguese_brazilian/luasrc/i18n/default.pt_br.xml) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt-br.lua (renamed from i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt_br.lua) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt-br.xml (renamed from i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt_br.xml) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.lua (renamed from i18n/portuguese_brazilian/luasrc/i18n/wifi.pt_br.lua) | 0 | ||||
-rw-r--r-- | i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.xml (renamed from i18n/portuguese_brazilian/luasrc/i18n/wifi.pt_br.xml) | 0 | ||||
-rw-r--r-- | libs/uvl/luasrc/i18n/uvl.pt-br.lua (renamed from libs/uvl/luasrc/i18n/uvl.pt_br.lua) | 0 | ||||
-rw-r--r-- | libs/uvl/luasrc/i18n/uvl.pt-br.xml (renamed from libs/uvl/luasrc/i18n/uvl.pt_br.xml) | 0 | ||||
-rw-r--r-- | libs/web/luasrc/i18n.lua | 10 |
41 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-ddns/luasrc/i18n/ddns.pt_br.lua b/applications/luci-ddns/luasrc/i18n/ddns.pt-br.lua index 58375c28ac..58375c28ac 100644 --- a/applications/luci-ddns/luasrc/i18n/ddns.pt_br.lua +++ b/applications/luci-ddns/luasrc/i18n/ddns.pt-br.lua diff --git a/applications/luci-ddns/luasrc/i18n/ddns.pt_br.xml b/applications/luci-ddns/luasrc/i18n/ddns.pt-br.xml index c77ff3eb5a..c77ff3eb5a 100644 --- a/applications/luci-ddns/luasrc/i18n/ddns.pt_br.xml +++ b/applications/luci-ddns/luasrc/i18n/ddns.pt-br.xml diff --git a/applications/luci-fw/luasrc/i18n/luci-fw.pt_br.lua b/applications/luci-fw/luasrc/i18n/luci-fw.pt-br.lua index dc65599dda..dc65599dda 100644 --- a/applications/luci-fw/luasrc/i18n/luci-fw.pt_br.lua +++ b/applications/luci-fw/luasrc/i18n/luci-fw.pt-br.lua diff --git a/applications/luci-fw/luasrc/i18n/luci-fw.pt_br.xml b/applications/luci-fw/luasrc/i18n/luci-fw.pt-br.xml index 10dca8a907..10dca8a907 100644 --- a/applications/luci-fw/luasrc/i18n/luci-fw.pt_br.xml +++ b/applications/luci-fw/luasrc/i18n/luci-fw.pt-br.xml diff --git a/applications/luci-hd_idle/luasrc/i18n/hd_idle.pt_br.lua b/applications/luci-hd_idle/luasrc/i18n/hd_idle.pt-br.lua index 856523a243..856523a243 100644 --- a/applications/luci-hd_idle/luasrc/i18n/hd_idle.pt_br.lua +++ b/applications/luci-hd_idle/luasrc/i18n/hd_idle.pt-br.lua diff --git a/applications/luci-hd_idle/luasrc/i18n/hd_idle.pt_br.xml b/applications/luci-hd_idle/luasrc/i18n/hd_idle.pt-br.xml index b4ce7228ac..b4ce7228ac 100644 --- a/applications/luci-hd_idle/luasrc/i18n/hd_idle.pt_br.xml +++ b/applications/luci-hd_idle/luasrc/i18n/hd_idle.pt-br.xml diff --git a/applications/luci-initmgr/luasrc/i18n/initmgr.pt_br.lua b/applications/luci-initmgr/luasrc/i18n/initmgr.pt-br.lua index 9831948b6c..9831948b6c 100644 --- a/applications/luci-initmgr/luasrc/i18n/initmgr.pt_br.lua +++ b/applications/luci-initmgr/luasrc/i18n/initmgr.pt-br.lua diff --git a/applications/luci-initmgr/luasrc/i18n/initmgr.pt_br.xml b/applications/luci-initmgr/luasrc/i18n/initmgr.pt-br.xml index 26686dc347..26686dc347 100644 --- a/applications/luci-initmgr/luasrc/i18n/initmgr.pt_br.xml +++ b/applications/luci-initmgr/luasrc/i18n/initmgr.pt-br.xml diff --git a/applications/luci-ntpc/luasrc/i18n/ntpc.pt_br.lua b/applications/luci-ntpc/luasrc/i18n/ntpc.pt-br.lua index be3ce5b702..be3ce5b702 100644 --- a/applications/luci-ntpc/luasrc/i18n/ntpc.pt_br.lua +++ b/applications/luci-ntpc/luasrc/i18n/ntpc.pt-br.lua diff --git a/applications/luci-ntpc/luasrc/i18n/ntpc.pt_br.xml b/applications/luci-ntpc/luasrc/i18n/ntpc.pt-br.xml index ed5e719b1c..ed5e719b1c 100644 --- a/applications/luci-ntpc/luasrc/i18n/ntpc.pt_br.xml +++ b/applications/luci-ntpc/luasrc/i18n/ntpc.pt-br.xml diff --git a/applications/luci-p910nd/luasrc/i18n/p910nd.pt_br.lua b/applications/luci-p910nd/luasrc/i18n/p910nd.pt-br.lua index 3ec3ec0f32..3ec3ec0f32 100644 --- a/applications/luci-p910nd/luasrc/i18n/p910nd.pt_br.lua +++ b/applications/luci-p910nd/luasrc/i18n/p910nd.pt-br.lua diff --git a/applications/luci-p910nd/luasrc/i18n/p910nd.pt_br.xml b/applications/luci-p910nd/luasrc/i18n/p910nd.pt-br.xml index 141b5809a6..141b5809a6 100644 --- a/applications/luci-p910nd/luasrc/i18n/p910nd.pt_br.xml +++ b/applications/luci-p910nd/luasrc/i18n/p910nd.pt-br.xml diff --git a/applications/luci-qos/luasrc/i18n/qos.pt_br.lua b/applications/luci-qos/luasrc/i18n/qos.pt-br.lua index 582e7aa94e..582e7aa94e 100644 --- a/applications/luci-qos/luasrc/i18n/qos.pt_br.lua +++ b/applications/luci-qos/luasrc/i18n/qos.pt-br.lua diff --git a/applications/luci-qos/luasrc/i18n/qos.pt_br.xml b/applications/luci-qos/luasrc/i18n/qos.pt-br.xml index ff32e2259d..ff32e2259d 100644 --- a/applications/luci-qos/luasrc/i18n/qos.pt_br.xml +++ b/applications/luci-qos/luasrc/i18n/qos.pt-br.xml diff --git a/applications/luci-samba/luasrc/i18n/samba.pt_br.lua b/applications/luci-samba/luasrc/i18n/samba.pt-br.lua index 9129ef6f43..9129ef6f43 100644 --- a/applications/luci-samba/luasrc/i18n/samba.pt_br.lua +++ b/applications/luci-samba/luasrc/i18n/samba.pt-br.lua diff --git a/applications/luci-samba/luasrc/i18n/samba.pt_br.xml b/applications/luci-samba/luasrc/i18n/samba.pt-br.xml index 288a50dbeb..288a50dbeb 100644 --- a/applications/luci-samba/luasrc/i18n/samba.pt_br.xml +++ b/applications/luci-samba/luasrc/i18n/samba.pt-br.xml diff --git a/applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.lua b/applications/luci-statistics/luasrc/i18n/rrdtool.pt-br.lua index 708f34c5a2..708f34c5a2 100644 --- a/applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.lua +++ b/applications/luci-statistics/luasrc/i18n/rrdtool.pt-br.lua diff --git a/applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.xml.hide b/applications/luci-statistics/luasrc/i18n/rrdtool.pt-br.xml.hide index 7f369c1bfc..7f369c1bfc 100644 --- a/applications/luci-statistics/luasrc/i18n/rrdtool.pt_br.xml.hide +++ b/applications/luci-statistics/luasrc/i18n/rrdtool.pt-br.xml.hide diff --git a/applications/luci-statistics/luasrc/i18n/statistics.pt_br.lua b/applications/luci-statistics/luasrc/i18n/statistics.pt-br.lua index 9aca2020fb..9aca2020fb 100644 --- a/applications/luci-statistics/luasrc/i18n/statistics.pt_br.lua +++ b/applications/luci-statistics/luasrc/i18n/statistics.pt-br.lua diff --git a/applications/luci-statistics/luasrc/i18n/statistics.pt_br.xml b/applications/luci-statistics/luasrc/i18n/statistics.pt-br.xml index ed51ebfe26..ed51ebfe26 100644 --- a/applications/luci-statistics/luasrc/i18n/statistics.pt_br.xml +++ b/applications/luci-statistics/luasrc/i18n/statistics.pt-br.xml diff --git a/applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt_br.lua b/applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt-br.lua index 03e0bc63e2..03e0bc63e2 100644 --- a/applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt_br.lua +++ b/applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt-br.lua diff --git a/applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt_br.xml b/applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt-br.xml index 65d52ce978..65d52ce978 100644 --- a/applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt_br.xml +++ b/applications/luci-tinyproxy/luasrc/i18n/tinyproxy.pt-br.xml diff --git a/applications/luci-upnp/luasrc/i18n/upnp.pt_br.lua b/applications/luci-upnp/luasrc/i18n/upnp.pt-br.lua index 9170a311de..9170a311de 100644 --- a/applications/luci-upnp/luasrc/i18n/upnp.pt_br.lua +++ b/applications/luci-upnp/luasrc/i18n/upnp.pt-br.lua diff --git a/applications/luci-upnp/luasrc/i18n/upnp.pt_br.xml b/applications/luci-upnp/luasrc/i18n/upnp.pt-br.xml index 9b5788364f..9b5788364f 100644 --- a/applications/luci-upnp/luasrc/i18n/upnp.pt_br.xml +++ b/applications/luci-upnp/luasrc/i18n/upnp.pt-br.xml diff --git a/applications/luci-ushare/luasrc/i18n/ushare.pt_br.lua b/applications/luci-ushare/luasrc/i18n/ushare.pt-br.lua index 492c4cefbd..492c4cefbd 100644 --- a/applications/luci-ushare/luasrc/i18n/ushare.pt_br.lua +++ b/applications/luci-ushare/luasrc/i18n/ushare.pt-br.lua diff --git a/applications/luci-ushare/luasrc/i18n/ushare.pt_br.xml b/applications/luci-ushare/luasrc/i18n/ushare.pt-br.xml index 729e056911..729e056911 100644 --- a/applications/luci-ushare/luasrc/i18n/ushare.pt_br.xml +++ b/applications/luci-ushare/luasrc/i18n/ushare.pt-br.xml diff --git a/applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt_br.lua b/applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt-br.lua index f07765d192..f07765d192 100644 --- a/applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt_br.lua +++ b/applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt-br.lua diff --git a/applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt_br.xml b/applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt-br.xml index 14fa4fdcc7..14fa4fdcc7 100644 --- a/applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt_br.xml +++ b/applications/luci-uvc_streamer/luasrc/i18n/uvc_streamer.pt-br.xml diff --git a/i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt_br.lua b/i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt-br.lua index c7e5cfd0c3..c7e5cfd0c3 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt_br.lua +++ b/i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt-br.lua diff --git a/i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt_br.xml b/i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt-br.xml index 0f8b59bdb5..0f8b59bdb5 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt_br.xml +++ b/i18n/portuguese_brazilian/luasrc/i18n/admin-core.pt-br.xml diff --git a/i18n/portuguese_brazilian/luasrc/i18n/cbi.pt_br.lua b/i18n/portuguese_brazilian/luasrc/i18n/cbi.pt-br.lua index 45136810d0..45136810d0 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/cbi.pt_br.lua +++ b/i18n/portuguese_brazilian/luasrc/i18n/cbi.pt-br.lua diff --git a/i18n/portuguese_brazilian/luasrc/i18n/cbi.pt_br.xml b/i18n/portuguese_brazilian/luasrc/i18n/cbi.pt-br.xml index 53dca0e401..53dca0e401 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/cbi.pt_br.xml +++ b/i18n/portuguese_brazilian/luasrc/i18n/cbi.pt-br.xml diff --git a/i18n/portuguese_brazilian/luasrc/i18n/default.pt_br.lua b/i18n/portuguese_brazilian/luasrc/i18n/default.pt-br.lua index 1a43c0786c..1a43c0786c 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/default.pt_br.lua +++ b/i18n/portuguese_brazilian/luasrc/i18n/default.pt-br.lua diff --git a/i18n/portuguese_brazilian/luasrc/i18n/default.pt_br.xml b/i18n/portuguese_brazilian/luasrc/i18n/default.pt-br.xml index 9f44e89262..9f44e89262 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/default.pt_br.xml +++ b/i18n/portuguese_brazilian/luasrc/i18n/default.pt-br.xml diff --git a/i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt_br.lua b/i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt-br.lua index 9df9c6a624..9df9c6a624 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt_br.lua +++ b/i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt-br.lua diff --git a/i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt_br.xml b/i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt-br.xml index d63433ea6a..d63433ea6a 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt_br.xml +++ b/i18n/portuguese_brazilian/luasrc/i18n/sysauth.pt-br.xml diff --git a/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt_br.lua b/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.lua index ab6bceafda..ab6bceafda 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt_br.lua +++ b/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.lua diff --git a/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt_br.xml b/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.xml index c722b1b001..c722b1b001 100644 --- a/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt_br.xml +++ b/i18n/portuguese_brazilian/luasrc/i18n/wifi.pt-br.xml diff --git a/libs/uvl/luasrc/i18n/uvl.pt_br.lua b/libs/uvl/luasrc/i18n/uvl.pt-br.lua index baf789a78e..baf789a78e 100644 --- a/libs/uvl/luasrc/i18n/uvl.pt_br.lua +++ b/libs/uvl/luasrc/i18n/uvl.pt-br.lua diff --git a/libs/uvl/luasrc/i18n/uvl.pt_br.xml b/libs/uvl/luasrc/i18n/uvl.pt-br.xml index a209fede6d..a209fede6d 100644 --- a/libs/uvl/luasrc/i18n/uvl.pt_br.xml +++ b/libs/uvl/luasrc/i18n/uvl.pt-br.xml diff --git a/libs/web/luasrc/i18n.lua b/libs/web/luasrc/i18n.lua index 84a8695397..4b3adf7ebb 100644 --- a/libs/web/luasrc/i18n.lua +++ b/libs/web/luasrc/i18n.lua @@ -12,9 +12,9 @@ Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. -You may obtain a copy of the License at +You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, @@ -45,7 +45,7 @@ end -- @param force Force reload even if already loaded (optional) -- @return Success status function load(file, lang, force) - lang = lang or "" + lang = lang and lang:gsub("_", "-") or "" if force or not loaded[lang] or not loaded[lang][file] then local f = loadfile(i18ndir .. file .. "." .. lang .. ".lua") if f then @@ -75,7 +75,7 @@ end --- Set the context default translation language. -- @param lang Two-letter language code function setlanguage(lang) - context.lang = lang + context.lang = lang:gsub("_", "-") end --- Return the translated value for a specific translation key. @@ -95,4 +95,4 @@ end -- @return Translated and formatted string function translatef(key, default, ...) return translate(key, default):format(...) -end
\ No newline at end of file +end |