The headline feature is the optional localization of the interactive help screen, selected from the standard POSIX locale
environment variables (LC_ALL > LC_MESSAGES > LANG). English remains the default; Japanese
(ja) is now available for UTF-8 locales and locales without an explicit codeset, e.g. LANG=ja_JP.UTF-8 dua i.
Bug Fixes
- Make
messagecolor yellow, instead of red.
It's less alarming, red should only be used to signal 'danger'. - don't show unapplicable global options in
configsubcommand.
New Features
-
add
config show-defaultsub-command with option to reset configuration file
Adddua config show-defaultto print the current built-in default
configuration, making newly introduced configuration keys discoverable without
opening the editor.Support
dua config show-default --overwrite-with-defaultto overwrite the active configuration
file with the built-in defaults while keeping stdout reserved for the default
TOML content. -
allow to set the
formatin the configuration file. -
optional i18n for the interactive help screen
Localize the interactive help pane via the standard POSIX locale
environment variables, honoring the usual precedence
LC_ALL > LC_MESSAGES > LANG, with English as the default. Japanese is
the first added translation. No new dependencies; only the help screen
is translated.- New
i18nmodule: aLanguageenum, env detection split into a pure
detect()plus a thinfrom_env(), and anEN/JAtranslation table. - The help pane resolves the language with
Language::from_env()when it
is rendered (only while the pane is open). - Key names, the
^continuation markers and the symbolic legend stay
untranslated; the block title is localized.
- New
Commit Statistics
- 11 commits contributed to the release.
- 5 commits were understood as conventional.
- 1 unique issue was worked on: #336
Commit Details
view details
- #336
- Don't show unapplicable global options in
configsubcommand. (d02a65e)
- Don't show unapplicable global options in
- Uncategorized
- Merge pull request #339 from Byron/fix-336 (9975c07)
- Make
messagecolor yellow, instead of red. (08bda9f) - Address auto-review (e5627c0)
- Add
config show-defaultsub-command with option to reset configuration file (db3e267) - Allow to set the
formatin the configuration file. (c1a759f) - Merge pull request #334 from bellsmarket/feat/help-i18n (c171b44)
- Address auto-review comments (e180b1f)
- Review (71f4532)
- Optional i18n for the interactive help screen (e902598)
- Merge pull request #333 from xfocus3/fix/install-respects-cargo-home-279 (d4f5671)