mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 03:47:23 +01:00
Update HACKING.md and README.md
This commit is contained in:
parent
3f1a9a5756
commit
3394afc563
3 changed files with 39 additions and 29 deletions
|
|
@ -1,27 +0,0 @@
|
|||
# Internationalization
|
||||
|
||||
Execute the following commands from the project root directory to update
|
||||
translation files whenever translatable strings have been changed.
|
||||
|
||||
## 1. Update `template.pot`
|
||||
|
||||
```bash
|
||||
xgettext \
|
||||
--from-code=UTF-8 \
|
||||
--add-comments \
|
||||
--keyword=_ \
|
||||
--keyword=C_:1c,2 \
|
||||
--files-from=po/POTFILES \
|
||||
--output=po/template.pot
|
||||
```
|
||||
|
||||
## 2. Update translation files
|
||||
|
||||
```bash
|
||||
msgmerge \
|
||||
--update \
|
||||
--backup=off \
|
||||
--no-fuzzy-matching \
|
||||
po/de.po \
|
||||
po/template.pot
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue