summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/form.js4
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/fs.js4
-rw-r--r--modules/luci-base/po/ru/base.po6
3 files changed, 7 insertions, 7 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js
index 66ba030208..b1e7d2c393 100644
--- a/modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/modules/luci-base/htdocs/luci-static/resources/form.js
@@ -4007,7 +4007,7 @@ var CBIFlagValue = CBIValue.extend(/** @lends LuCI.form.FlagValue.prototype */ {
* Sets the input value to use for the checkbox checked state.
*
* @name LuCI.form.FlagValue.prototype#enabled
- * @type number
+ * @type string
* @default 1
*/
@@ -4015,7 +4015,7 @@ var CBIFlagValue = CBIValue.extend(/** @lends LuCI.form.FlagValue.prototype */ {
* Sets the input value to use for the checkbox unchecked state.
*
* @name LuCI.form.FlagValue.prototype#disabled
- * @type number
+ * @type string
* @default 0
*/
diff --git a/modules/luci-base/htdocs/luci-static/resources/fs.js b/modules/luci-base/htdocs/luci-static/resources/fs.js
index b64af04e56..cf64cfdf62 100644
--- a/modules/luci-base/htdocs/luci-static/resources/fs.js
+++ b/modules/luci-base/htdocs/luci-static/resources/fs.js
@@ -345,7 +345,7 @@ var FileSystem = baseclass.extend(/** @lends LuCI.fs.prototype */ {
* @param {string} path
* The file path to read.
*
- * @param {"blob"|"text"|"blob"} [type=text]
+ * @param {"blob"|"text"|"json"} [type=text]
* The expected type of read file contents. Valid values are `text` to
* interpret the contents as string, `json` to parse the contents as JSON
* or `blob` to return the contents as Blob instance.
@@ -387,7 +387,7 @@ var FileSystem = baseclass.extend(/** @lends LuCI.fs.prototype */ {
* @param {string[]} [params]
* The arguments to pass to the command.
*
- * @param {"blob"|"text"|"blob"} [type=text]
+ * @param {"blob"|"text"|"json"} [type=text]
* The expected output type of the invoked program. Valid values are
* `text` to interpret the output as string, `json` to parse the output
* as JSON or `blob` to return the output as Blob instance.
diff --git a/modules/luci-base/po/ru/base.po b/modules/luci-base/po/ru/base.po
index 76527cefde..1c25ddc0ce 100644
--- a/modules/luci-base/po/ru/base.po
+++ b/modules/luci-base/po/ru/base.po
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: LuCI: base\n"
"POT-Creation-Date: 2010-05-09 01:01+0300\n"
-"PO-Revision-Date: 2024-01-20 10:36+0000\n"
+"PO-Revision-Date: 2024-01-21 14:17+0000\n"
"Last-Translator: st7105 <st7105@gmail.com>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/openwrt/luci/ru/>"
"\n"
@@ -3371,7 +3371,7 @@ msgstr "Ожидание: %s"
#: protocols/luci-proto-bonding/htdocs/luci-static/resources/protocol/bonding.js:50
msgid "Expecting: non-empty value"
-msgstr "Ожидается: непустое значение"
+msgstr "Ожидание: непустое значение"
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js:50
msgid "Expires"
@@ -10474,7 +10474,7 @@ msgstr "Тип"
#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js:182
msgid "Type of service"
-msgstr "Тип сервиса"
+msgstr "Тип службы"
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:56
msgctxt "nft udp dport"