diff options
author | Anton Kikin <a.kikin@tano-systems.com> | 2021-07-02 04:37:38 +0300 |
---|---|---|
committer | Anton Kikin <a.kikin@tano-systems.com> | 2021-07-02 04:45:23 +0300 |
commit | fb52e86b54f25e8fb2f46c857af20dd3b4ddb022 (patch) | |
tree | d9a710c552099af968cb6e8b301ab522f0aa4487 /applications/luci-app-nlbwmon/po/zh_Hans | |
parent | 48a78f01a84795263187cfbc71cf573c8c4596ee (diff) |
luci-app-nlbwmon: Add translation context for Download/Upload terms
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 <a.kikin@tano-systems.com>
Diffstat (limited to 'applications/luci-app-nlbwmon/po/zh_Hans')
-rw-r--r-- | applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po b/applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po index 7a31c35593..8f376cc8ce 100644 --- a/applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po +++ b/applications/luci-app-nlbwmon/po/zh_Hans/nlbwmon.po @@ -229,6 +229,7 @@ msgid "Down. (Pkts.)" msgstr "下载量(包)" #: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:586 +msgctxt "Traffic counter" msgid "Download" msgstr "下载" @@ -517,6 +518,7 @@ msgid "Up. (Pkts.)" msgstr "上传量(包)" #: applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js:590 +msgctxt "Traffic counter" msgid "Upload" msgstr "上传" |