mirror of
https://github.com/lutris/lutris
synced 2024-10-14 19:53:53 +00:00
Update Croatian language and README.md
This commit is contained in:
parent
34b72cb153
commit
fbec42d22c
|
@ -1,4 +1,5 @@
|
||||||
fr
|
fr
|
||||||
|
hr
|
||||||
nl
|
nl
|
||||||
tr
|
tr
|
||||||
zh_CN
|
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
|
## Updating a translations
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
meson transl-builddir
|
meson builddir
|
||||||
ninja lutris-update-po -C transl-builddir
|
ninja lutris-update-po -C builddir
|
||||||
```
|
```
|
||||||
Now update the `$LANG.po` file, and run after that
|
Now update the `$LANG.po` file, and run after that
|
||||||
```bash
|
```bash
|
||||||
ninja lutris-update-po -C transl-builddir
|
ninja lutris-update-po -C builddir
|
||||||
rm -Rf transl-builddir
|
rm -Rf builddir
|
||||||
```
|
```
|
||||||
and commit your changes.
|
and commit your changes.
|
||||||
|
|
||||||
## Creating a translation
|
## Creating a translation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
meson transl-builddir
|
meson builddir
|
||||||
ninja lutris-pot -C transl-builddir
|
ninja lutris-pot -C builddir
|
||||||
mv po/lutris.pot po/$LANG.po
|
mv po/lutris.pot po/$LANG.po
|
||||||
```
|
```
|
||||||
Now edit the `$LANG.po` file, add `$LANG` to the `LINGUAS` file, and run after that
|
Now edit the `$LANG.po` file, add `$LANG` to the `LINGUAS` file, and run after that
|
||||||
```bash
|
```bash
|
||||||
ninja lutris-update-po -C transl-builddir
|
ninja lutris-update-po -C builddir
|
||||||
rm -Rf transl-builddir
|
rm -Rf builddir
|
||||||
```
|
```
|
||||||
and commit your changes.
|
and commit your changes.
|
||||||
|
|
||||||
|
@ -39,5 +39,9 @@ and commit your changes.
|
||||||
rm -Rf transl-builddir
|
rm -Rf transl-builddir
|
||||||
meson transl-builddir --prefix=~/.local
|
meson transl-builddir --prefix=~/.local
|
||||||
ninja install -C transl-builddir
|
ninja install -C transl-builddir
|
||||||
|
|
||||||
|
rm -Rf builddir
|
||||||
|
meson builddir --prefix=~/.local
|
||||||
|
ninja install -C builddir
|
||||||
env LANGUAGE=$LANG ~/.local/bin/lutris
|
env LANGUAGE=$LANG ~/.local/bin/lutris
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue