Skip to content
Browse files

Initialize the Simplified Chinese translation and make WxMaxima know …

…about it
  • Loading branch information...
1 parent 47a35a1 commit 44ad3f9188dfae46c67e038bf5b620ee180812a1 @crickzhang1 crickzhang1 committed
Showing with 3,383 additions and 3 deletions.
  1. +1 −1 Makefile.am
  2. +4 −2 locales/Makefile.am
  3. +3,376 −0 locales/zh_CN.po
  4. +2 −0 src/Config.cpp
View
2 Makefile.am
@@ -23,7 +23,7 @@ docdir = ${datadir}/wxMaxima
doc_DATA = README COPYING art/config/options.png art/config/maxima.png \
art/config/styles.png
-LANGS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl
+LANGS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl zh_CN
wxMaxima.app: all
mkdir -p wxMaxima.app/Contents/MacOS
View
6 locales/Makefile.am
@@ -2,8 +2,8 @@
# This file is based on the corresponding file for the poedit program
#
-WXMAXIMA_LINGUAS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl
-WXWIN_LINGUAS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl
+WXMAXIMA_LINGUAS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl zh_CN
+WXWIN_LINGUAS = fr es it de pt_BR ru hu uk pl zh_TW da cs el ja ca gl zh_CN
localedir = $(datadir)/locale
@@ -112,6 +112,8 @@ transcoded:
$(MSGFMT) transcoded/ca.po -o transcoded/ca.mo
cp gl.po transcoded
$(MSGFMT) transcoded/gl.po -o transcoded/gl.mo
+ cp zh_CN.po transcoded
+ $(MSGFMT) transcoded/zh_CN.po -o transcoded/zh_CN.mo
EXTRA_DIST = fr.po fr.mo wxwin/fr.mo \
View
3,376 locales/zh_CN.po
3,376 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 src/Config.cpp
@@ -38,6 +38,7 @@ const int langs[] =
{
wxLANGUAGE_DEFAULT,
wxLANGUAGE_CATALAN,
+ wxLANGUAGE_CHINESE_SIMPLIFIED,
wxLANGUAGE_CHINESE_TRADITIONAL,
wxLANGUAGE_CZECH,
wxLANGUAGE_DANISH,
@@ -238,6 +239,7 @@ wxPanel* Config::CreateOptionsPanel()
{
_("(Use default language)"),
_("Catalan"),
+ _("Chinese Simplified"),
_("Chinese traditional"),
_("Czech"),
_("Danish"),

0 comments on commit 44ad3f9

Please sign in to comment.
Something went wrong with that request. Please try again.