diff options
author | Duncan Hill <github.com@cricalix.net> | 2023-12-04 21:12:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 22:12:28 +0100 |
commit | 28f805b2e5f95e04515bd7d045a103cc3a366c2c (patch) | |
tree | 4c52498b38b97efdc3660c404a0341027d391518 /applications/luci-app-example/po/templates | |
parent | a5786b5f2f68596b2ea8441fc8ad8ad7cf2ce2a9 (diff) |
luci-app-example: Update with more documentation, more examples (#6503)
* luci-app-example: Update with more documentation, examples
* Update translations file
* Move more YAML support to .md file, improve README
* luci-app-example: Update with more documentation, examples
* luci-app-example: Fix missed call to load_sample_yaml
* Format with tabs by using jsbeautify
Diffstat (limited to 'applications/luci-app-example/po/templates')
-rw-r--r-- | applications/luci-app-example/po/templates/example.pot | 130 |
1 files changed, 118 insertions, 12 deletions
diff --git a/applications/luci-app-example/po/templates/example.pot b/applications/luci-app-example/po/templates/example.pot index 264f4f35e4..09c9e5a3d1 100644 --- a/applications/luci-app-example/po/templates/example.pot +++ b/applications/luci-app-example/po/templates/example.pot @@ -1,35 +1,55 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:22 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:38 msgid "A boolean option" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:27 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:43 msgid "A select option" msgstr "" +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:56 +msgid "Cats" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:73 +msgid "Description for this table section" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:73 +msgid "Description for this typed section" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:57 +msgid "Dogs" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:55 +msgid "Dynamic list option" +msgstr "" + #: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:3 msgid "Example" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:9 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:25 msgid "Example Form" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:10 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:26 msgid "Example Form Configuration." msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/htmlview.js:16 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/htmlview.js:18 msgid "Example HTML Page" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:15 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:31 msgid "First Option" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:21 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:37 msgid "Flag Option" msgstr "" @@ -38,25 +58,111 @@ msgid "Form View" msgstr "" #: applications/luci-app-example/root/usr/share/rpcd/acl.d/luci-app-example.json:3 -msgid "Grant UCI access to LuCI app example" +msgid "Grant UCI and RPC access to LuCI app example" msgstr "" #: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:23 msgid "HTML Page" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:16 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:53 +msgid "Input for a password (storage on disk is not encrypted)" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:32 msgid "Input for the first option" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:26 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 +msgid "Is this real?" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:130 +msgid "JSON converted to table via array building and loop" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:60 +msgid "JSONMap TableSection Sample" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:60 +msgid "JSONMap TypedSection Sample" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 +msgid "No" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:87 +msgid "Not found" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:74 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:74 +msgid "Option name" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:75 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:75 +msgid "Option value" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:58 +msgid "Parakeets" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:52 +msgid "Password Option" +msgstr "" + +#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:32 +msgid "RPC Array Example" +msgstr "" + +#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:41 +msgid "RPC JSONMap Table Example" +msgstr "" + +#: applications/luci-app-example/root/usr/share/luci/menu.d/luci-app-example.json:50 +msgid "RPC JSONMap Typed Example" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:36 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:36 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:35 +msgid "RPC call failure:" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:128 +msgid "Sample JS via RPC" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js:61 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js:61 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:115 +msgid "See browser console for raw data" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:42 msgid "Select Option" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:12 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:59 +msgid "Should be \"Not found\"" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc.js:60 +msgid "Yes" +msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:28 msgid "first section" msgstr "" -#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:18 +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:34 msgid "second section" msgstr "" + +#: applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js:50 +msgid "third section" +msgstr "" |