mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Update translations and add notes
This commit is contained in:
parent
34098f13b6
commit
88bd3875f5
3 changed files with 475 additions and 403 deletions
21
po/NOTES.md
Normal file
21
po/NOTES.md
Normal 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue