mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
home-manager: support i18n of install script
This commit is contained in:
parent
c1677de31a
commit
3d9eb1cecd
3 changed files with 60 additions and 27 deletions
3
xgettext
3
xgettext
|
|
@ -22,13 +22,14 @@ function run() {
|
|||
-k_ipError:1,2 --flag=_ip:1:c-format --flag=_ip:2:c-format \
|
||||
-k_ipWarn:1,2 --flag=_ip:1:c-format --flag=_ip:2:c-format \
|
||||
-k_ipNote:1,2 --flag=_ip:1:c-format --flag=_ip:2:c-format \
|
||||
--add-comments=translators: \
|
||||
-o "$output" -d "$domain" "$@"
|
||||
}
|
||||
|
||||
run 'Home Manager' \
|
||||
home-manager/po/home-manager.pot \
|
||||
home-manager \
|
||||
home-manager/home-manager
|
||||
home-manager/home-manager home-manager/**/*.nix
|
||||
|
||||
run 'Home Manager Modules' \
|
||||
modules/po/hm-modules.pot \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue