Update translations and add notes

This commit is contained in:
Elias Projahn 2022-08-26 15:05:20 +02:00
parent 34098f13b6
commit 88bd3875f5
3 changed files with 475 additions and 403 deletions

21
po/NOTES.md Normal file
View file

@ -0,0 +1,21 @@
All commands should be executed from this directory!
Regenerate `POTFILES.in` using:
```bash
find ../crates \( -name \*.rs -o -name \*.ui \) -print > POTFILES.in
```
Update `musicus.pot` using:
```bash
xgettext -f POTFILES.in -o musicus.pot
```
Update the translation files using e.g.:
```bash
msgmerge de.po musicus.pot > tmp.po
# Inspect tmp.po for errors.
mv tmp.po de.po
```