diff --git a/applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js b/applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js index 0304ee9fa7..f76c6574d6 100644 --- a/applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js +++ b/applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js @@ -104,7 +104,6 @@ return view.extend({ o = s.option(form.Flag, 'render_try_index', _('Render index or directory list'), _('Serve index.html when requesting a directory, returns directory listing if not found index.html.')); o.default = o.enabled; - o.depends('render_index', '0'); o = s.option(form.Flag, 'allow_all', _('Allow all operations')); diff --git a/applications/luci-app-dufs/po/templates/dufs.pot b/applications/luci-app-dufs/po/templates/dufs.pot index 3edb550516..150e0d991e 100644 --- a/applications/luci-app-dufs/po/templates/dufs.pot +++ b/applications/luci-app-dufs/po/templates/dufs.pot @@ -9,27 +9,27 @@ msgstr "" msgid "Allow access from Internet" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:109 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:108 msgid "Allow all operations" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:114 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:113 msgid "Allow delete files/folders" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:117 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:116 msgid "Allow search files/folders" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:120 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:119 msgid "Allow symlink to files/folders outside root directory" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:111 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:110 msgid "Allow upload files/folders" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:123 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:122 msgid "Allow zip archive generation" msgstr "" @@ -74,7 +74,7 @@ msgstr "" msgid "Hide paths from directory listings, e.g. %s." msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:130 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:129 msgid "High" msgstr "" @@ -86,11 +86,11 @@ msgstr "" msgid "Listen port" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:128 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:127 msgid "Low" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:129 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:128 msgid "Medium" msgstr "" @@ -98,7 +98,7 @@ msgstr "" msgid "NOT RUNNING" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:127 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:126 msgid "None" msgstr "" @@ -142,6 +142,6 @@ msgstr "" msgid "Specify a (URL) path prefix" msgstr "" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:126 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:125 msgid "Zip compression level" msgstr "" diff --git a/applications/luci-app-dufs/po/zh_Hans/dufs.po b/applications/luci-app-dufs/po/zh_Hans/dufs.po index 7ac972f795..7e8387b4b3 100644 --- a/applications/luci-app-dufs/po/zh_Hans/dufs.po +++ b/applications/luci-app-dufs/po/zh_Hans/dufs.po @@ -16,27 +16,27 @@ msgstr "添加认证用户,如:%s。" msgid "Allow access from Internet" msgstr "允许从互联网访问" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:109 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:108 msgid "Allow all operations" msgstr "允许所有操作" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:114 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:113 msgid "Allow delete files/folders" msgstr "允许删除文件(夹)" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:117 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:116 msgid "Allow search files/folders" msgstr "允许搜索文件(夹)" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:120 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:119 msgid "Allow symlink to files/folders outside root directory" msgstr "允许创建指向根目录外的文件(夹)的符号链接" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:111 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:110 msgid "Allow upload files/folders" msgstr "允许上传文件(夹)" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:123 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:122 msgid "Allow zip archive generation" msgstr "允许生成 zip 压缩包" @@ -82,7 +82,7 @@ msgstr "隐藏路径" msgid "Hide paths from directory listings, e.g. %s." msgstr "从目录列表中隐藏路径,如:%s。" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:130 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:129 msgid "High" msgstr "高" @@ -94,11 +94,11 @@ msgstr "监听地址" msgid "Listen port" msgstr "监听端口" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:128 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:127 msgid "Low" msgstr "低" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:129 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:128 msgid "Medium" msgstr "中" @@ -106,7 +106,7 @@ msgstr "中" msgid "NOT RUNNING" msgstr "未运行" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:127 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:126 msgid "None" msgstr "无" @@ -152,6 +152,6 @@ msgstr "挂载路径" msgid "Specify a (URL) path prefix" msgstr "指定一个(URL)路径前缀" -#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:126 +#: applications/luci-app-dufs/htdocs/luci-static/resources/view/dufs.js:125 msgid "Zip compression level" msgstr "Zip 压缩级别"