From 877dec0fe58a93073d3c7de40aaba57aa950362c Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Fri, 22 Nov 2019 13:58:33 +0100 Subject: luci-app-samba4: switch to luci static javascript api * switch to luci static javascript api * add version info * remove 'home' option * regenerate translations Signed-off-by: Andy Walsh --- applications/luci-app-samba4/po/en/samba4.po | 99 ++++++++++++++++------------ 1 file changed, 58 insertions(+), 41 deletions(-) (limited to 'applications/luci-app-samba4/po/en') diff --git a/applications/luci-app-samba4/po/en/samba4.po b/applications/luci-app-samba4/po/en/samba4.po index 0e515052f..9cdbfbf52 100644 --- a/applications/luci-app-samba4/po/en/samba4.po +++ b/applications/luci-app-samba4/po/en/samba4.po @@ -13,120 +13,126 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Pootle 2.0.4\n" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:78 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:96 msgid "Allow guests" msgstr "Allow guests" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:15 -msgid "Allow system users to reach their home directories via network shares" -msgstr "Allow system users to reach their home directories via network shares" - -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:75 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:93 msgid "Allowed users" msgstr "Allowed users" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:106 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:124 msgid "Apple Time-machine share" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:63 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:81 msgid "Browse-able" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:93 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:111 msgid "Create mask" msgstr "Create mask" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:12 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:38 msgid "Description" msgstr "Description" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:98 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:116 msgid "Directory mask" msgstr "Directory mask" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:27 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:51 msgid "Disable Active Directory Domain Controller" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:24 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:48 msgid "Disable Netbios" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:30 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:54 msgid "Disable Winbind" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:9 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:30 msgid "Edit Template" msgstr "Edit template" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:34 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:58 msgid "Edit the template that is used for generating the samba configuration." msgstr "Edit the template that is used for generating the Samba configuration." -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:19 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:44 msgid "Enable macOS compatible shares" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:20 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:45 msgid "" "Enables Apple's AAPL extension globally and adds macOS compatibility options " "to all shares." msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:73 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:91 msgid "Force Root" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:8 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:41 +msgid "Force synchronous I/O" +msgstr "" + +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:29 msgid "General Settings" msgstr "General settings" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:83 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:101 msgid "Guests only" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:11 -msgid "Hostname" -msgstr "Hostname" - -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:88 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:106 msgid "Inherit owner" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:57 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:32 +msgid "Interface" +msgstr "" + +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:33 +msgid "Listen only on the given interface or, if unspecified, on lan" +msgstr "" + +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:75 msgid "Name" msgstr "Name" -#: applications/luci-app-samba4/luasrc/controller/samba4.lua:12 -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:3 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:21 +#: applications/luci-app-samba4/luasrc/controller/samba4.lua:10 msgid "Network Shares" msgstr "Network Shares" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:58 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:42 +msgid "" +"On lower-end devices may increase speeds, by forceing synchronous I/O " +"instead of the default asynchronous." +msgstr "" + +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:76 msgid "Path" msgstr "Path" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:52 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:71 msgid "" "Please add directories to share. Each directory refers to a folder on a " "mounted device." msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:68 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:86 msgid "Read-only" msgstr "Read-only" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:14 -msgid "Share home-directories" -msgstr "Share home-directories" - -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:51 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:70 msgid "Shared Directories" msgstr "Shared Directories" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:35 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:59 msgid "" "This is the content of the file '/etc/samba/smb.conf.template' from which " "your samba configuration will be generated. Values enclosed by pipe symbols " @@ -138,18 +144,29 @@ msgstr "" "('|') should not be changed. They get their values from the 'General " "settings' tab." -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:108 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:126 msgid "Time-machine size in GB" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:103 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:121 msgid "Vfs objects" msgstr "" -#: applications/luci-app-samba4/luasrc/model/cbi/samba4.lua:13 +#: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:35 msgid "Workgroup" msgstr "Workgroup" +#~ msgid "" +#~ "Allow system users to reach their home directories via network shares" +#~ msgstr "" +#~ "Allow system users to reach their home directories via network shares" + +#~ msgid "Hostname" +#~ msgstr "Hostname" + +#~ msgid "Share home-directories" +#~ msgstr "Share home-directories" + #~ msgid "Mask for new directories" #~ msgstr "Mask for new directories" -- cgit v1.2.3