mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 02:21:50 +08:00
a31eccfa1494e6cb8afc90963ae7081c800d25e0
Support for %{key} and %{key:fmt} named placeholders in String.format().
The key is looked up in any plain-object argument passed to format(); the
argument list is scanned left-to-right and the first object containing the
key wins, allowing mixing of positional and named substitutions, e.g.:
'%s test %{foo:s}'.format('blah', {bar: true}, {foo: 123})
=> 'blah test 123'
Ref: https://github.com/openwrt/luci/issues/8603#issuecomment-4554956879
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
OpenWrt luci feed
Description
This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.
Usage
This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:
src-git luci https://github.com/openwrt/luci.git
To install all its package definitions, run:
./scripts/feeds update luci
./scripts/feeds install -a -p luci
API Reference
You can browse the generated API documentation directly on Github.
Use ucode and rpcd for server side operations.
Development
Documentation for developing and extending LuCI can be found in the Wiki
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Translation status
Use Weblate instead of direct editing of the *.po files.
Description
Languages
JavaScript
65%
C
17.1%
Lua
6.5%
CSS
3.7%
UnrealScript
3.1%
Other
4.4%