From fb52e86b54f25e8fb2f46c857af20dd3b4ddb022 Mon Sep 17 00:00:00 2001 From: Anton Kikin Date: Fri, 2 Jul 2021 04:37:38 +0300 Subject: luci-app-nlbwmon: Add translation context for Download/Upload terms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a translation context for the terms 'Download' and 'Upload' used in this application. The reason is that these terms are translated differently in Russian depending on the context. If the terms are used in the sense of an action (download file or upload file) then the translations should be as follows: - Download = скачать - Upload = загрузить But if they are used in the context of a traffic counter (like in this application) the correct translations are: - Download = скачано - Upload = загружено A translation context has been added to all affected PO files to avoid breaking existing translations. The Russian translation in PO file is fixed to comply with the used context. Signed-off-by: Anton Kikin --- applications/luci-app-nlbwmon/po/bg/nlbwmon.po | 2 ++ 1 file changed, 2 insertions(+) (limited to 'applications/luci-app-nlbwmon/po/bg/nlbwmon.po') diff --git a/applications/luci-app-nlbwmon/po/bg/nlbwmon.po b/applications/luci-app-nlbwmon/po/bg/nlbwmon.po index 2cc476a760..1b434f1e43 100644 --- a/applications/luci-app-nlbwmon/po/bg/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/bg/nlbwmon.po @@ -220,6 +220,7 @@ msgid "Down. (Pkts.)" msgstr "" #: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:586 +msgctxt "Traffic counter" msgid "Download" msgstr "" @@ -504,6 +505,7 @@ msgid "Up. (Pkts.)" msgstr "" #: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:590 +msgctxt "Traffic counter" msgid "Upload" msgstr "" -- cgit v1.2.3