Update Croatian language and README.md

This commit is contained in:
muzena 2020-05-24 20:33:04 +02:00 committed by Mathieu Comandon
parent 34b72cb153
commit fbec42d22c
3 changed files with 4523 additions and 8 deletions

View file

@ -1,4 +1,5 @@
fr fr
hr
nl nl
tr tr
zh_CN zh_CN

View file

@ -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
``` ```

4510
po/hr.po Normal file

File diff suppressed because it is too large Load diff