summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-cifsd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-cifsd')
-rw-r--r--applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js4
-rw-r--r--applications/luci-app-cifsd/po/templates/cifsd.pot4
-rw-r--r--applications/luci-app-cifsd/po/zh-cn/cifsd.po110
3 files changed, 114 insertions, 4 deletions
diff --git a/applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js b/applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js
index de346c1db..7c75b85d7 100644
--- a/applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js
+++ b/applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js
@@ -31,8 +31,8 @@ return L.view.extend({
o.placeholder = 'Cifsd on OpenWrt';
o = s.taboption('template', form.TextValue, '_tmpl',
- _('Edit the template that is used for generating the samba configuration.'),
- _("This is the content of the file '/etc/cifs/smb.conf.template' from which your samba configuration will be generated. \
+ _('Edit the template that is used for generating the cifsd configuration.'),
+ _("This is the content of the file '/etc/cifs/smb.conf.template' from which your cifsd configuration will be generated. \
Values enclosed by pipe symbols ('|') should not be changed. They get their values from the 'General Settings' tab."));
o.rows = 20;
o.cfgvalue = function(section_id) {
diff --git a/applications/luci-app-cifsd/po/templates/cifsd.pot b/applications/luci-app-cifsd/po/templates/cifsd.pot
index 3a48d1f23..f62fa13ba 100644
--- a/applications/luci-app-cifsd/po/templates/cifsd.pot
+++ b/applications/luci-app-cifsd/po/templates/cifsd.pot
@@ -30,7 +30,7 @@ msgid "Edit Template"
msgstr ""
#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:34
-msgid "Edit the template that is used for generating the samba configuration."
+msgid "Edit the template that is used for generating the cifsd configuration."
msgstr ""
#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:67
@@ -87,7 +87,7 @@ msgstr ""
#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:35
msgid ""
"This is the content of the file '/etc/cifs/smb.conf.template' from which "
-"your samba configuration will be generated. Values enclosed by pipe symbols "
+"your cifsd configuration will be generated. Values enclosed by pipe symbols "
"('|') should not be changed. They get their values from the 'General "
"Settings' tab."
msgstr ""
diff --git a/applications/luci-app-cifsd/po/zh-cn/cifsd.po b/applications/luci-app-cifsd/po/zh-cn/cifsd.po
new file mode 100644
index 000000000..b27ba7c83
--- /dev/null
+++ b/applications/luci-app-cifsd/po/zh-cn/cifsd.po
@@ -0,0 +1,110 @@
+msgid ""
+msgstr ""
+"Content-Type: text/plain; charset=UTF-8\n"
+"Project-Id-Version: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 2.2.4\n"
+"Last-Translator: Richard Yu <yurichard3839@gmail.com>\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"Language: zh_CN\n"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:72
+msgid "Allow guests"
+msgstr "允许匿名用户"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:69
+msgid "Allowed users"
+msgstr "允许用户"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:57
+msgid "Browse-able"
+msgstr "可浏览"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:84
+msgid "Create mask"
+msgstr "创建权限掩码"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:30
+msgid "Description"
+msgstr "描述"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:89
+msgid "Directory mask"
+msgstr "目录权限掩码"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:22
+msgid "Edit Template"
+msgstr "编辑模板"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:34
+msgid "Edit the template that is used for generating the cifsd configuration."
+msgstr "编辑用来生成 cifsd 设置的模板。"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:67
+msgid "Force Root"
+msgstr "强制 Root"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:21
+msgid "General Settings"
+msgstr "基本设置"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:82
+msgid "Hide dot files"
+msgstr ""
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:77
+msgid "Inherit owner"
+msgstr "继承所有者"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:24
+msgid "Interface"
+msgstr "接口"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:25
+msgid "Listen only on the given interface or, if unspecified, on lan"
+msgstr "仅监听指定的接口,未指定则监听 lan"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:51
+msgid "Name"
+msgstr "共享名"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:16
+#: applications/luci-app-cifsd/luasrc/controller/cifsd.lua:10
+msgid "Network Shares"
+msgstr "网络共享"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:52
+msgid "Path"
+msgstr "目录"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:47
+msgid ""
+"Please add directories to share. Each directory refers to a folder on a "
+"mounted device."
+msgstr "请添加要共享的目录。每个目录指到已挂载设备上的文件夹。"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:62
+msgid "Read-only"
+msgstr "只读"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:46
+msgid "Shared Directories"
+msgstr "共享目录"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:35
+msgid ""
+"This is the content of the file '/etc/cifs/smb.conf.template' from which "
+"your cifsd configuration will be generated. Values enclosed by pipe symbols "
+"('|') should not be changed. They get their values from the 'General "
+"Settings' tab."
+msgstr ""
+"这是将从其上生成 cifsd 配置的文件“/etc/cifs/smb.conf.template”的内容。由管道"
+"符(“|”)包围的值不应更改。它们将从“常规设置”标签中获取其值。"
+
+#: applications/luci-app-cifsd/htdocs/luci-static/resources/view/cifsd.js:27
+msgid "Workgroup"
+msgstr "工作组"