Skip to content

Commit

Permalink
Improve, fix and complete zh-CN translation (#3180)
Browse files Browse the repository at this point in the history
* Minor fixing README for translation.

* Improve/fix/add translation for zh-CN

* Compile translation
  • Loading branch information
clsty authored Feb 18, 2025
1 parent c00f609 commit a9ae064
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 173 deletions.
6 changes: 3 additions & 3 deletions archinstall/locales/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Before starting a new language translation be aware that a font for that languag
available on the ISO.

Fonts that are using a different character set than Latin will not be displayed correctly. If those languages
want to be selected than a proper font has to be set manually in the console.
want to be selected, then a proper font has to be set manually in the console.

All available console fonts can be found in `/usr/share/kbd/consolefonts` and they
can be set with `setfont LatGrkCyr-8x16`
can be set with `setfont LatGrkCyr-8x16`.

## Adding new languages

Expand All @@ -34,7 +34,7 @@ translation is provided for a language then this is the text that is going to be

## Perform translations

To perform translations for a language this file can be edited manually or the neat `poedit` can be used (https://poedit.net/).
To perform translations for a language, the file `base.po` can be edited manually, or the neat `poedit` can be used (https://poedit.net/).
If editing the file manually, write the translation in the `msgstr` part

```
Expand Down
8 changes: 4 additions & 4 deletions archinstall/locales/base.pot
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,8 @@ msgid ""
msgstr ""

msgid ""
"Provides a selection of desktop environments and tiling window managers, e."
"g. gnome, kde, sway"
"Provides a selection of desktop environments and tiling window managers, "
"e.g. gnome, kde, sway"
msgstr ""

msgid "Select your desired desktop environment"
Expand Down Expand Up @@ -1278,8 +1278,8 @@ msgid "Disable Copy-on-Write"
msgstr ""

msgid ""
"Provides a selection of desktop environments and tiling window managers, e."
"g. GNOME, KDE Plasma, Sway"
"Provides a selection of desktop environments and tiling window managers, "
"e.g. GNOME, KDE Plasma, Sway"
msgstr ""

msgid "Configuration type: {}"
Expand Down
Binary file modified archinstall/locales/zh-CN/LC_MESSAGES/base.mo
Binary file not shown.
Loading

0 comments on commit a9ae064

Please # to comment.