applet: add Russian and Chinese to language picker
authorAlex Badea <vamposdecampos@gmail.com>
Tue, 14 Sep 2010 20:31:32 +0000 (23:31 +0300)
committerAlex Badea <vamposdecampos@gmail.com>
Tue, 14 Sep 2010 20:31:32 +0000 (23:31 +0300)
These require the espeak-extra-data package to be installed.

src/applet.c

index fccac88..5bdc339 100644 (file)
@@ -36,13 +36,15 @@ static const struct voice {
        { "pt",         "Portuguese (Brazil)" },
        { "pt-pt",      "Portuguese (European)" },
        { "ro",         "Romanian" },
+       { "ru",         "Russian [extra]" },
        { "sk",         "Slovak" },
        { "sr",         "Serbian" },
        { "sv",         "Swedish" },
        { "sw",         "Swahihi" },
        { "ta",         "Tamil" },
        { "tr",         "Turkish" },
-       { "zh",         "Mandarin Chinese" },
+       { "zh",         "Chinese (Mandarin) [extra]" },
+       { "zh-yue",     "Chinese (Cantonese) [extra]" },
 };
 static const int num_voices = sizeof(voices) / sizeof(voices[0]);