mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
33 lines
No EOL
644 B
Markdown
33 lines
No EOL
644 B
Markdown
# Musicus
|
|
|
|
The classical music player and organizer.
|
|
|
|
## Hacking
|
|
|
|
### 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
|
|
``` |