Skip to content

Commit

Permalink
Make chinese language selector working (#102)
Browse files Browse the repository at this point in the history
* Update laigter.pro to fix chinese translation

* Update translations.qrc to fix chinese translation
  • Loading branch information
rexshao authored Apr 24, 2024
1 parent ca75310 commit 9c1310a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions laigter.pro
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ TRANSLATIONS = translations/laigter_da.ts \
translations/laigter_el.ts \
translations/laigter_tr.ts \
translations/laigter_jp.ts \
translations/laigter_de.ts
translations/laigter_de.ts \
translations/laigter_zh_CN.ts

LANGUAGES = da\
en \
Expand All @@ -163,7 +164,8 @@ LANGUAGES = da\
el \
tr \
jp \
de
de \
zh_CN

# parameters: var, prepend, append
defineReplace(prependAll) {
Expand Down
3 changes: 3 additions & 0 deletions translations.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@
<file>translations/laigter_de.ts</file>
<file>translations/laigter_de.qm</file>
<file>translations/flags/DE.png</file>
<file>translations/laigter_zh_CN.ts</file>
<file>translations/laigter_zh_CN.qm</file>
<file>translations/flags/CN.png</file>
</qresource>
</RCC>

0 comments on commit 9c1310a

Please sign in to comment.