mirror of
https://github.com/lutris/lutris
synced 2024-11-05 18:10:49 +00:00
Update Croatian language and README.md
This commit is contained in:
parent
34b72cb153
commit
fbec42d22c
3 changed files with 4523 additions and 8 deletions
|
@ -1,4 +1,5 @@
|
|||
fr
|
||||
hr
|
||||
nl
|
||||
tr
|
||||
zh_CN
|
||||
|
|
20
po/README.md
20
po/README.md
|
@ -5,27 +5,27 @@ Translations are not implemented yet, see github issue #728. Please read the not
|
|||
## Updating a translations
|
||||
|
||||
```bash
|
||||
meson transl-builddir
|
||||
ninja lutris-update-po -C transl-builddir
|
||||
meson builddir
|
||||
ninja lutris-update-po -C builddir
|
||||
```
|
||||
Now update the `$LANG.po` file, and run after that
|
||||
```bash
|
||||
ninja lutris-update-po -C transl-builddir
|
||||
rm -Rf transl-builddir
|
||||
ninja lutris-update-po -C builddir
|
||||
rm -Rf builddir
|
||||
```
|
||||
and commit your changes.
|
||||
|
||||
## Creating a translation
|
||||
|
||||
```bash
|
||||
meson transl-builddir
|
||||
ninja lutris-pot -C transl-builddir
|
||||
meson builddir
|
||||
ninja lutris-pot -C builddir
|
||||
mv po/lutris.pot po/$LANG.po
|
||||
```
|
||||
Now edit the `$LANG.po` file, add `$LANG` to the `LINGUAS` file, and run after that
|
||||
```bash
|
||||
ninja lutris-update-po -C transl-builddir
|
||||
rm -Rf transl-builddir
|
||||
ninja lutris-update-po -C builddir
|
||||
rm -Rf builddir
|
||||
```
|
||||
and commit your changes.
|
||||
|
||||
|
@ -39,5 +39,9 @@ and commit your changes.
|
|||
rm -Rf transl-builddir
|
||||
meson transl-builddir --prefix=~/.local
|
||||
ninja install -C transl-builddir
|
||||
|
||||
rm -Rf builddir
|
||||
meson builddir --prefix=~/.local
|
||||
ninja install -C builddir
|
||||
env LANGUAGE=$LANG ~/.local/bin/lutris
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue