spek

Acoustic spectrum analyser
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

commit 21768b0db61c2fde7537e37f033c05558c5f1a60
parent 1de4878a21f2d48457b020016a5693e6f5c88f0f
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Sun,  8 Jul 2012 17:20:41 -0700

i18n: Enable Chinese transaltions

Diffstat:
Mdist/osx/bundle.sh | 2+-
Mdist/win/bundle.sh | 2+-
Msrc/spek-preferences-dialog.vala | 4+++-
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/dist/osx/bundle.sh b/dist/osx/bundle.sh @@ -14,7 +14,7 @@ ige-mac-bundler spek.bundle cd Spek.app/Contents/Resources mkdir share/locale_ -mv share/locale/{cs,de,es,fr,it,ja,nl,pl,pt_BR,ru,sv,uk} share/locale_/ +mv share/locale/{cs,de,es,fr,it,ja,nl,pl,pt_BR,ru,sv,uk,zh_CN,zh_TW} share/locale_/ rm -fr share/locale mv share/locale_ share/locale cd ../../.. diff --git a/dist/win/bundle.sh b/dist/win/bundle.sh @@ -61,7 +61,7 @@ cp /usr/bin/avutil-51.dll bin/ # Clean up mv bin/spek.exe ../ mkdir share/locale_ -mv share/locale/{cs,de,es,fr,it,ja,nl,pl,pt_BR,ru,sv,uk} share/locale_/ +mv share/locale/{cs,de,es,fr,it,ja,nl,pl,pt_BR,ru,sv,uk,zh_CN,zh_TW} share/locale_/ rm -fr share/locale mv share/locale_ share/locale rm -fr doc diff --git a/src/spek-preferences-dialog.vala b/src/spek-preferences-dialog.vala @@ -36,7 +36,9 @@ namespace Spek { {"pt_BR", "Português brasileiro"}, {"ru", "Русский"}, {"sv", "Svenska"}, - {"uk", "Українська"} + {"uk", "Українська"}, + {"zh_CN", "中文(简体)"}, + {"zh_TW", "中文(台灣)"} }; public PreferencesDialog () {