From: systemcrash Date: Wed, 3 Jan 2024 13:27:11 +0000 (+0000) Subject: deploy: 7b445ef406d43ab64911c2b97481873d4333b6e4 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5d3acb028e754b2bef6dceb53adf75d9af39bad7;p=project%2Fluci.git deploy: 7b445ef406d43ab64911c2b97481873d4333b6e4 --- diff --git a/i18n.md b/i18n.md index 442ec2d0dd..471eb88f1e 100644 --- a/i18n.md +++ b/i18n.md @@ -59,6 +59,20 @@ The actual translation files can be found at `po/[lang]/[package].po`. In order to use the commands below you need to have the `gettext` utilities (`msgcat`, `msgfmt`, `msgmerge`) installed on your system. On Debian/Ubuntu you can install with `sudo apt install gettext`. +### Initialize po files + +When you add or update an app, simply run from your app folder: + + ../../build/i18n-add-language.sh + +This creates the skeleton po files for all existing languages open for translation for your app. + +Or from the luci repo root: + + ./build/i18n-add-language.sh + +This creates the skeleton po files for all existing languages open for translation for all sub-folders. + ### Rebuild po files If you want to rebuild the translations after you made changes to a package this is an easy way: diff --git a/jsapi/LuCI.baseclass.html b/jsapi/LuCI.baseclass.html index ab0e8f227f..26cb059a5b 100644 --- a/jsapi/LuCI.baseclass.html +++ b/jsapi/LuCI.baseclass.html @@ -4774,7 +4774,7 @@ and the values extracted from the args array beginning with diff --git a/jsapi/LuCI.dom.html b/jsapi/LuCI.dom.html index 8cbd02677a..6144510062 100644 --- a/jsapi/LuCI.dom.html +++ b/jsapi/LuCI.dom.html @@ -6332,7 +6332,7 @@ ignored, else not.

diff --git a/jsapi/LuCI.form.AbstractElement.html b/jsapi/LuCI.form.AbstractElement.html index 2f71078283..b6356337af 100644 --- a/jsapi/LuCI.form.AbstractElement.html +++ b/jsapi/LuCI.form.AbstractElement.html @@ -4321,7 +4321,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.AbstractSection.html b/jsapi/LuCI.form.AbstractSection.html index 714bc68b04..9c7fad897d 100644 --- a/jsapi/LuCI.form.AbstractSection.html +++ b/jsapi/LuCI.form.AbstractSection.html @@ -6220,7 +6220,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.AbstractValue.html b/jsapi/LuCI.form.AbstractValue.html index 60e9187853..78f759a65f 100644 --- a/jsapi/LuCI.form.AbstractValue.html +++ b/jsapi/LuCI.form.AbstractValue.html @@ -7278,7 +7278,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.ButtonValue.html b/jsapi/LuCI.form.ButtonValue.html index 60692b62c4..b2e0d08ddd 100644 --- a/jsapi/LuCI.form.ButtonValue.html +++ b/jsapi/LuCI.form.ButtonValue.html @@ -7601,7 +7601,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.DummyValue.html b/jsapi/LuCI.form.DummyValue.html index d468415695..fe0f4e2235 100644 --- a/jsapi/LuCI.form.DummyValue.html +++ b/jsapi/LuCI.form.DummyValue.html @@ -7587,7 +7587,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.DynamicList.html b/jsapi/LuCI.form.DynamicList.html index 726676bd9a..fc601ea615 100644 --- a/jsapi/LuCI.form.DynamicList.html +++ b/jsapi/LuCI.form.DynamicList.html @@ -7438,7 +7438,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.FileUpload.html b/jsapi/LuCI.form.FileUpload.html index 2383ed52ec..d42688f498 100644 --- a/jsapi/LuCI.form.FileUpload.html +++ b/jsapi/LuCI.form.FileUpload.html @@ -7649,7 +7649,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.FlagValue.html b/jsapi/LuCI.form.FlagValue.html index 4ff5aacad5..9cfb338168 100644 --- a/jsapi/LuCI.form.FlagValue.html +++ b/jsapi/LuCI.form.FlagValue.html @@ -7527,7 +7527,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.GridSection.html b/jsapi/LuCI.form.GridSection.html index 0bdb919303..b4fbd1faa3 100644 --- a/jsapi/LuCI.form.GridSection.html +++ b/jsapi/LuCI.form.GridSection.html @@ -7082,7 +7082,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.HiddenValue.html b/jsapi/LuCI.form.HiddenValue.html index d7b5c560d0..4b1e4cd9dd 100644 --- a/jsapi/LuCI.form.HiddenValue.html +++ b/jsapi/LuCI.form.HiddenValue.html @@ -7442,7 +7442,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.JSONMap.html b/jsapi/LuCI.form.JSONMap.html index 6e3d3f146c..a06124b0fa 100644 --- a/jsapi/LuCI.form.JSONMap.html +++ b/jsapi/LuCI.form.JSONMap.html @@ -5900,7 +5900,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.ListValue.html b/jsapi/LuCI.form.ListValue.html index 91c8b6a715..5e276df39f 100644 --- a/jsapi/LuCI.form.ListValue.html +++ b/jsapi/LuCI.form.ListValue.html @@ -7587,7 +7587,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.Map.html b/jsapi/LuCI.form.Map.html index dc3c9322ca..f341dc6294 100644 --- a/jsapi/LuCI.form.Map.html +++ b/jsapi/LuCI.form.Map.html @@ -5879,7 +5879,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.MultiValue.html b/jsapi/LuCI.form.MultiValue.html index 250c805ece..62662cf5dc 100644 --- a/jsapi/LuCI.form.MultiValue.html +++ b/jsapi/LuCI.form.MultiValue.html @@ -7538,7 +7538,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.NamedSection.html b/jsapi/LuCI.form.NamedSection.html index a1bfb06408..7a1fe7027d 100644 --- a/jsapi/LuCI.form.NamedSection.html +++ b/jsapi/LuCI.form.NamedSection.html @@ -6484,7 +6484,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.SectionValue.html b/jsapi/LuCI.form.SectionValue.html index 57938264f6..987ce49f20 100644 --- a/jsapi/LuCI.form.SectionValue.html +++ b/jsapi/LuCI.form.SectionValue.html @@ -7469,7 +7469,7 @@ its write() implementation is a no-op.

diff --git a/jsapi/LuCI.form.TableSection.html b/jsapi/LuCI.form.TableSection.html index b982c4a281..15edc11a0f 100644 --- a/jsapi/LuCI.form.TableSection.html +++ b/jsapi/LuCI.form.TableSection.html @@ -7258,7 +7258,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.TextValue.html b/jsapi/LuCI.form.TextValue.html index 601ecb7ce4..2822181c4b 100644 --- a/jsapi/LuCI.form.TextValue.html +++ b/jsapi/LuCI.form.TextValue.html @@ -7485,7 +7485,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.TypedSection.html b/jsapi/LuCI.form.TypedSection.html index 5efe48810a..4d3c8da0ff 100644 --- a/jsapi/LuCI.form.TypedSection.html +++ b/jsapi/LuCI.form.TypedSection.html @@ -6743,7 +6743,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.Value.html b/jsapi/LuCI.form.Value.html index 3cd64b81b0..aad3a6de7f 100644 --- a/jsapi/LuCI.form.Value.html +++ b/jsapi/LuCI.form.Value.html @@ -7544,7 +7544,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.html b/jsapi/LuCI.form.html index a748a5c368..d75c0e0450 100644 --- a/jsapi/LuCI.form.html +++ b/jsapi/LuCI.form.html @@ -3742,7 +3742,7 @@ m.render().then(function(node) { diff --git a/jsapi/LuCI.fs.html b/jsapi/LuCI.fs.html index 869a31b331..6f0cbf7c5b 100644 --- a/jsapi/LuCI.fs.html +++ b/jsapi/LuCI.fs.html @@ -5931,7 +5931,7 @@ the failure reason. diff --git a/jsapi/LuCI.headers.html b/jsapi/LuCI.headers.html index 4c93465362..2a9ce0530c 100644 --- a/jsapi/LuCI.headers.html +++ b/jsapi/LuCI.headers.html @@ -3947,7 +3947,7 @@ Note: Header-Names are case-insensitive.

diff --git a/jsapi/LuCI.html b/jsapi/LuCI.html index 79aa86e27e..62110e47fe 100644 --- a/jsapi/LuCI.html +++ b/jsapi/LuCI.html @@ -8354,7 +8354,7 @@ else null.

diff --git a/jsapi/LuCI.network.Device.html b/jsapi/LuCI.network.Device.html index 7ddafdbfee..d5ae2996e0 100644 --- a/jsapi/LuCI.network.Device.html +++ b/jsapi/LuCI.network.Device.html @@ -6312,7 +6312,7 @@ when it is down or absent. diff --git a/jsapi/LuCI.network.Hosts.html b/jsapi/LuCI.network.Hosts.html index d74feb7bb2..ddf081e957 100644 --- a/jsapi/LuCI.network.Hosts.html +++ b/jsapi/LuCI.network.Hosts.html @@ -4873,7 +4873,7 @@ is used as hint. diff --git a/jsapi/LuCI.network.Protocol.html b/jsapi/LuCI.network.Protocol.html index 107cfb5c32..8a065d8d55 100644 --- a/jsapi/LuCI.network.Protocol.html +++ b/jsapi/LuCI.network.Protocol.html @@ -8103,7 +8103,7 @@ configuration.

diff --git a/jsapi/LuCI.network.WifiDevice.html b/jsapi/LuCI.network.WifiDevice.html index ce865c64dc..4718468fa7 100644 --- a/jsapi/LuCI.network.WifiDevice.html +++ b/jsapi/LuCI.network.WifiDevice.html @@ -5244,7 +5244,7 @@ configuration.

diff --git a/jsapi/LuCI.network.WifiNetwork.html b/jsapi/LuCI.network.WifiNetwork.html index 6eef536623..58634a016d 100644 --- a/jsapi/LuCI.network.WifiNetwork.html +++ b/jsapi/LuCI.network.WifiNetwork.html @@ -7834,7 +7834,7 @@ configuration.

diff --git a/jsapi/LuCI.network.html b/jsapi/LuCI.network.html index ecaaa6c103..72c4365e2a 100644 --- a/jsapi/LuCI.network.html +++ b/jsapi/LuCI.network.html @@ -9682,7 +9682,7 @@ conjunction with quality to calculate a quality percentage.

- Documentation generated by JSDoc 3.6.11 on Tue Jan 02 2024 21:39:25 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.11 on Wed Jan 03 2024 13:26:50 GMT+0000 (Coordinated Universal Time) diff --git a/jsapi/LuCI.poll.html b/jsapi/LuCI.poll.html index e20bc91191..ba58a89504 100644 --- a/jsapi/LuCI.poll.html +++ b/jsapi/LuCI.poll.html @@ -4330,7 +4330,7 @@ run to begin with. diff --git a/jsapi/LuCI.request.html b/jsapi/LuCI.request.html index fc192a0100..8773677cf9 100644 --- a/jsapi/LuCI.request.html +++ b/jsapi/LuCI.request.html @@ -5265,7 +5265,7 @@ instances as sole argument during the HTTP request transfer.

diff --git a/jsapi/LuCI.request.poll.html b/jsapi/LuCI.request.poll.html index 27d7503f6a..dd4fa9d46a 100644 --- a/jsapi/LuCI.request.poll.html +++ b/jsapi/LuCI.request.poll.html @@ -4449,7 +4449,7 @@ else null.

diff --git a/jsapi/LuCI.response.html b/jsapi/LuCI.response.html index 6ff89e8dc2..cee656861d 100644 --- a/jsapi/LuCI.response.html +++ b/jsapi/LuCI.response.html @@ -4407,7 +4407,7 @@ using String() and treated as response text.

diff --git a/jsapi/LuCI.rpc.html b/jsapi/LuCI.rpc.html index a259340da4..54327d04c3 100644 --- a/jsapi/LuCI.rpc.html +++ b/jsapi/LuCI.rpc.html @@ -5738,7 +5738,7 @@ to the expect and filter declarations. diff --git a/jsapi/LuCI.session.html b/jsapi/LuCI.session.html index 350fd32baf..f9d550d237 100644 --- a/jsapi/LuCI.session.html +++ b/jsapi/LuCI.session.html @@ -4177,7 +4177,7 @@ being put in the session store.

diff --git a/jsapi/LuCI.uci.html b/jsapi/LuCI.uci.html index 599039ad22..b71fd10519 100644 --- a/jsapi/LuCI.uci.html +++ b/jsapi/LuCI.uci.html @@ -7225,7 +7225,7 @@ associated name as arguments.

diff --git a/jsapi/LuCI.ui.AbstractElement.html b/jsapi/LuCI.ui.AbstractElement.html index ff4bd0b382..c50664326f 100644 --- a/jsapi/LuCI.ui.AbstractElement.html +++ b/jsapi/LuCI.ui.AbstractElement.html @@ -5281,7 +5281,7 @@ and are displayed in a slightly faded style.

diff --git a/jsapi/LuCI.ui.Checkbox.html b/jsapi/LuCI.ui.Checkbox.html index 37adf554ca..cb1e4b2a50 100644 --- a/jsapi/LuCI.ui.Checkbox.html +++ b/jsapi/LuCI.ui.Checkbox.html @@ -5395,7 +5395,7 @@ it is required for HTML based form submissions.

diff --git a/jsapi/LuCI.ui.ComboButton.html b/jsapi/LuCI.ui.ComboButton.html index 47af46ba4c..7749e6133f 100644 --- a/jsapi/LuCI.ui.ComboButton.html +++ b/jsapi/LuCI.ui.ComboButton.html @@ -5425,7 +5425,7 @@ choice value as second argument.

diff --git a/jsapi/LuCI.ui.Combobox.html b/jsapi/LuCI.ui.Combobox.html index f7498ec83a..332d43a7db 100644 --- a/jsapi/LuCI.ui.Combobox.html +++ b/jsapi/LuCI.ui.Combobox.html @@ -5328,7 +5328,7 @@ forcibly set to true.

diff --git a/jsapi/LuCI.ui.Dropdown.html b/jsapi/LuCI.ui.Dropdown.html index f6a6d212ed..7461e602a4 100644 --- a/jsapi/LuCI.ui.Dropdown.html +++ b/jsapi/LuCI.ui.Dropdown.html @@ -6126,7 +6126,7 @@ expression. Only applicable when create is true.

- Documentation generated by JSDoc 3.6.11 on Tue Jan 02 2024 21:39:25 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.11 on Wed Jan 03 2024 13:26:51 GMT+0000 (Coordinated Universal Time) diff --git a/jsapi/LuCI.ui.DynamicList.html b/jsapi/LuCI.ui.DynamicList.html index 5171a64cb1..e70fe294f0 100644 --- a/jsapi/LuCI.ui.DynamicList.html +++ b/jsapi/LuCI.ui.DynamicList.html @@ -5503,7 +5503,7 @@ it to remain unselected.

diff --git a/jsapi/LuCI.ui.FileUpload.html b/jsapi/LuCI.ui.FileUpload.html index ad0cd85616..a4a3092414 100644 --- a/jsapi/LuCI.ui.FileUpload.html +++ b/jsapi/LuCI.ui.FileUpload.html @@ -5352,7 +5352,7 @@ ACL setup for the current session.

diff --git a/jsapi/LuCI.ui.Hiddenfield.html b/jsapi/LuCI.ui.Hiddenfield.html index 328909d47c..d703a3486a 100644 --- a/jsapi/LuCI.ui.Hiddenfield.html +++ b/jsapi/LuCI.ui.Hiddenfield.html @@ -5106,7 +5106,7 @@ trigger validation runs, e.g. when programmatically altering values.

diff --git a/jsapi/LuCI.ui.Select.html b/jsapi/LuCI.ui.Select.html index e96b4f1549..906e4f160a 100644 --- a/jsapi/LuCI.ui.Select.html +++ b/jsapi/LuCI.ui.Select.html @@ -5458,7 +5458,7 @@ selected yet. Only applicable to the select widget type.

diff --git a/jsapi/LuCI.ui.Textarea.html b/jsapi/LuCI.ui.Textarea.html index e17fe9250d..a7508a5c5c 100644 --- a/jsapi/LuCI.ui.Textarea.html +++ b/jsapi/LuCI.ui.Textarea.html @@ -5404,7 +5404,7 @@ contents.

diff --git a/jsapi/LuCI.ui.Textfield.html b/jsapi/LuCI.ui.Textfield.html index db671fb526..01324676bc 100644 --- a/jsapi/LuCI.ui.Textfield.html +++ b/jsapi/LuCI.ui.Textfield.html @@ -5332,7 +5332,7 @@ corresponding <input> element is empty.

diff --git a/jsapi/LuCI.ui.changes.html b/jsapi/LuCI.ui.changes.html index fd23e7f258..ee3e3d5e8c 100644 --- a/jsapi/LuCI.ui.changes.html +++ b/jsapi/LuCI.ui.changes.html @@ -4184,7 +4184,7 @@ is removed.

diff --git a/jsapi/LuCI.ui.html b/jsapi/LuCI.ui.html index 9a0c4e86cc..1be143ea7c 100644 --- a/jsapi/LuCI.ui.html +++ b/jsapi/LuCI.ui.html @@ -6280,7 +6280,7 @@ cancelled by the user. diff --git a/jsapi/LuCI.ui.menu.html b/jsapi/LuCI.ui.menu.html index 490b8cca12..c7d2af067b 100644 --- a/jsapi/LuCI.ui.menu.html +++ b/jsapi/LuCI.ui.menu.html @@ -4231,7 +4231,7 @@ internal root node if omitted.

diff --git a/jsapi/LuCI.ui.tabs.html b/jsapi/LuCI.ui.tabs.html index 5c2dee6dcf..97e2421e4d 100644 --- a/jsapi/LuCI.ui.tabs.html +++ b/jsapi/LuCI.ui.tabs.html @@ -3931,7 +3931,7 @@ DOM node.

diff --git a/jsapi/LuCI.view.html b/jsapi/LuCI.view.html index ab1c22b627..1769abf73c 100644 --- a/jsapi/LuCI.view.html +++ b/jsapi/LuCI.view.html @@ -4535,7 +4535,7 @@ to a Node value. diff --git a/jsapi/LuCI.xhr.html b/jsapi/LuCI.xhr.html index d333e43c1b..770155c023 100644 --- a/jsapi/LuCI.xhr.html +++ b/jsapi/LuCI.xhr.html @@ -4499,7 +4499,7 @@ when invoked.

diff --git a/jsapi/form.js.html b/jsapi/form.js.html index 4730256116..763fe29498 100644 --- a/jsapi/form.js.html +++ b/jsapi/form.js.html @@ -8405,7 +8405,7 @@ return baseclass.extend(/** @lends LuCI.form.prototype */ { diff --git a/jsapi/fs.js.html b/jsapi/fs.js.html index b074039764..4b6538a6ed 100644 --- a/jsapi/fs.js.html +++ b/jsapi/fs.js.html @@ -3973,7 +3973,7 @@ return FileSystem; diff --git a/jsapi/index.html b/jsapi/index.html index 7d5d088543..7471666176 100644 --- a/jsapi/index.html +++ b/jsapi/index.html @@ -3560,7 +3560,7 @@ is the central JSDoc 3.6.11 on Tue Jan 02 2024 21:39:25 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.11 on Wed Jan 03 2024 13:26:50 GMT+0000 (Coordinated Universal Time) diff --git a/jsapi/luci.js.html b/jsapi/luci.js.html index facfddf1db..7840deca01 100644 --- a/jsapi/luci.js.html +++ b/jsapi/luci.js.html @@ -7006,7 +7006,7 @@ diff --git a/jsapi/network.js.html b/jsapi/network.js.html index 1681709a9a..90731c4181 100644 --- a/jsapi/network.js.html +++ b/jsapi/network.js.html @@ -7930,7 +7930,7 @@ return Network; diff --git a/jsapi/rpc.js.html b/jsapi/rpc.js.html index c1ab089ed2..689aed1742 100644 --- a/jsapi/rpc.js.html +++ b/jsapi/rpc.js.html @@ -4029,7 +4029,7 @@ return baseclass.extend(/** @lends LuCI.rpc.prototype */ { diff --git a/jsapi/uci.js.html b/jsapi/uci.js.html index c6c9755d7e..1674422ee6 100644 --- a/jsapi/uci.js.html +++ b/jsapi/uci.js.html @@ -4532,7 +4532,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { diff --git a/jsapi/ui.js.html b/jsapi/ui.js.html index bf8c3513ca..7518a28190 100644 --- a/jsapi/ui.js.html +++ b/jsapi/ui.js.html @@ -8501,7 +8501,7 @@ return UI;