Added toggle buttons for switching speak engine, update PO files master
authorPali Rohár <pali.rohar@gmail.com>
Mon, 4 Jun 2012 14:59:13 +0000 (16:59 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Mon, 4 Jun 2012 16:09:33 +0000 (18:09 +0200)
debian/changelog
po/ca.po
po/cs.po
po/de.po
po/fi.po
po/ru.po
po/sk.po
po/zh_CN.po
src/tts.cpp
src/tts.hpp

index 2988622..5ee5c48 100644 (file)
@@ -3,7 +3,7 @@ mstardict (0.6-5) unstable; urgency=low
   * Added Wyabdc RealPeople TTS support by Pali Rohar.
   * Added Catalan translation by el_libre.
 
- -- Roman Moravcik <roman.moravcik@gmail.com>  Mon, 14 Nov 2011 10:27:51 +0100
+ -- Pali Rohár <pali.rohar@gmail.com>  Mon,  4 Jun 2012 15:43:39 +0100
 
 mstardict (0.6-4) unstable; urgency=low
 
index 6b6693d..64b1e89 100644 (file)
--- a/po/ca.po
+++ b/po/ca.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-11-14 10:21+0100\n"
+"POT-Creation-Date: 2011-11-14 12:56+0100\n"
 "PO-Revision-Date: 2010-10-24 15:35+0100\n"
 "Last-Translator: el_libre - - www.catmidia.cat <el.libre@gmail.com>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -92,242 +92,340 @@ msgstr "Traducció"
 msgid "Say"
 msgstr ""
 
-#: ../src/tts.cpp:60
+#: ../src/tts.cpp:66
 msgid "Afrikaans"
 msgstr "Afrikaans"
 
-#: ../src/tts.cpp:61
+#: ../src/tts.cpp:67
 msgid "Bosnian"
 msgstr "Bosnià"
 
-#: ../src/tts.cpp:62
+#: ../src/tts.cpp:68
 msgid "Catalan"
 msgstr "Català"
 
-#: ../src/tts.cpp:63
+#: ../src/tts.cpp:69
 msgid "Czech"
 msgstr "Txec"
 
-#: ../src/tts.cpp:64
+#: ../src/tts.cpp:70
 msgid "Welsh"
 msgstr "Gal·lès"
 
-#: ../src/tts.cpp:65
+#: ../src/tts.cpp:71
 msgid "Danish"
 msgstr "Danès"
 
-#: ../src/tts.cpp:66
+#: ../src/tts.cpp:72
 msgid "German"
 msgstr "Alemany"
 
-#: ../src/tts.cpp:67
+#: ../src/tts.cpp:73
 msgid "Greek"
 msgstr "Grec"
 
-#: ../src/tts.cpp:68
+#: ../src/tts.cpp:74
 msgid "English (Scottish)"
 msgstr ""
 
-#: ../src/tts.cpp:69
+#: ../src/tts.cpp:75
 msgid "English"
 msgstr "Anglès"
 
-#: ../src/tts.cpp:70
+#: ../src/tts.cpp:76
 msgid "English (Lancashire)"
 msgstr ""
 
-#: ../src/tts.cpp:71
+#: ../src/tts.cpp:77
 msgid "English (Received Pronunciation)"
 msgstr ""
 
-#: ../src/tts.cpp:72
+#: ../src/tts.cpp:78
 msgid "English (West Midlands)"
 msgstr ""
 
-#: ../src/tts.cpp:73
+#: ../src/tts.cpp:79
 msgid "English (American)"
 msgstr "Anglès (americà)"
 
-#: ../src/tts.cpp:74
+#: ../src/tts.cpp:80
 msgid "English (Westindies)"
 msgstr ""
 
-#: ../src/tts.cpp:75
+#: ../src/tts.cpp:81
 msgid "Esperanto"
 msgstr "Esperanto "
 
-#: ../src/tts.cpp:76
+#: ../src/tts.cpp:82
 msgid "Spanish"
 msgstr "Espanyol"
 
-#: ../src/tts.cpp:77
+#: ../src/tts.cpp:83
 msgid "Spanish (Latin American)"
 msgstr ""
 
-#: ../src/tts.cpp:78
+#: ../src/tts.cpp:84
 msgid "Finnish"
 msgstr "Finès"
 
-#: ../src/tts.cpp:79
+#: ../src/tts.cpp:85
 msgid "French"
 msgstr "Francès"
 
-#: ../src/tts.cpp:80
+#: ../src/tts.cpp:86
 msgid "French (Belgium)"
 msgstr "Francès (Bèlgica)"
 
-#: ../src/tts.cpp:81
+#: ../src/tts.cpp:87
 msgid "Greek (Ancient)"
 msgstr ""
 
-#: ../src/tts.cpp:82
+#: ../src/tts.cpp:88
 msgid "Hindi"
 msgstr "Hindi"
 
-#: ../src/tts.cpp:83
+#: ../src/tts.cpp:89
 msgid "Croatian"
 msgstr "Croat"
 
-#: ../src/tts.cpp:84
+#: ../src/tts.cpp:90
 msgid "Hungarian"
 msgstr "Hungarès"
 
-#: ../src/tts.cpp:85
+#: ../src/tts.cpp:91
 msgid "Armenian"
 msgstr "Armeni"
 
-#: ../src/tts.cpp:86
+#: ../src/tts.cpp:92
 msgid "Armenian (West)"
 msgstr ""
 
-#: ../src/tts.cpp:87
+#: ../src/tts.cpp:93
 msgid "Indonesian"
 msgstr "Indonesi"
 
-#: ../src/tts.cpp:88
+#: ../src/tts.cpp:94
 msgid "Icelandic"
 msgstr "Islandès"
 
-#: ../src/tts.cpp:89
+#: ../src/tts.cpp:95
 msgid "Italian"
 msgstr "Italià"
 
-#: ../src/tts.cpp:90
+#: ../src/tts.cpp:96
 msgid "Lojban"
 msgstr ""
 
-#: ../src/tts.cpp:91
+#: ../src/tts.cpp:97
 msgid "Kurdish"
 msgstr "Kurd"
 
-#: ../src/tts.cpp:92
+#: ../src/tts.cpp:98
 msgid "Latin"
 msgstr "Llatí"
 
-#: ../src/tts.cpp:93
+#: ../src/tts.cpp:99
 msgid "Latvian"
 msgstr "Letó"
 
-#: ../src/tts.cpp:94
+#: ../src/tts.cpp:100
 msgid "Macedonian"
 msgstr "Macedoni"
 
-#: ../src/tts.cpp:95
+#: ../src/tts.cpp:101
 msgid "Dutch"
 msgstr "Holandès"
 
-#: ../src/tts.cpp:96
+#: ../src/tts.cpp:102
 msgid "Norwegian"
 msgstr "Noruec"
 
-#: ../src/tts.cpp:97
+#: ../src/tts.cpp:103
 msgid "Papiamento"
 msgstr "Papiament"
 
-#: ../src/tts.cpp:98
+#: ../src/tts.cpp:104
 msgid "Polish"
 msgstr "Polonès"
 
-#: ../src/tts.cpp:99
+#: ../src/tts.cpp:105
 msgid "Brazil"
 msgstr "Brasil"
 
-#: ../src/tts.cpp:100
+#: ../src/tts.cpp:106
 msgid "Portugal"
 msgstr "Portugal"
 
-#: ../src/tts.cpp:101
+#: ../src/tts.cpp:107
 msgid "Romanian"
 msgstr "Romanès"
 
-#: ../src/tts.cpp:102
+#: ../src/tts.cpp:108
 msgid "Russian"
 msgstr "Rus"
 
-#: ../src/tts.cpp:103
+#: ../src/tts.cpp:109
 msgid "Slovak"
 msgstr "Eslovac"
 
-#: ../src/tts.cpp:104
+#: ../src/tts.cpp:110
 msgid "Albanian"
 msgstr "Albanès"
 
-#: ../src/tts.cpp:105
+#: ../src/tts.cpp:111
 msgid "Serbian"
 msgstr "Serbi"
 
-#: ../src/tts.cpp:106
+#: ../src/tts.cpp:112
 msgid "Swedish"
 msgstr "Suec"
 
-#: ../src/tts.cpp:107
+#: ../src/tts.cpp:113
 msgid "Swahihi"
 msgstr ""
 
-#: ../src/tts.cpp:108
+#: ../src/tts.cpp:114
 msgid "Tamil"
 msgstr "Tàmil"
 
-#: ../src/tts.cpp:109
+#: ../src/tts.cpp:115
 msgid "Turkish"
 msgstr "Turc"
 
-#: ../src/tts.cpp:110
-msgid "Vietnam"
+#: ../src/tts.cpp:116
+msgid "Vietnamese"
 msgstr ""
 
-#: ../src/tts.cpp:111
+#: ../src/tts.cpp:117
 msgid "Chinese (Mandarin)"
 msgstr ""
 
-#: ../src/tts.cpp:112
+#: ../src/tts.cpp:118
 msgid "Chinese (Cantonese)"
 msgstr ""
 
-#: ../src/tts.cpp:113
-msgid "Default"
-msgstr "Predeterminat"
+#: ../src/tts.cpp:119
+msgid "Akam"
+msgstr ""
 
-#: ../src/tts.cpp:114
-msgid "WyabdcRealPeopleTTS"
+#: ../src/tts.cpp:120
+msgid "Amharic"
+msgstr ""
+
+#: ../src/tts.cpp:121
+#, fuzzy
+msgid "Azerbaijani"
+msgstr "Serbi"
+
+#: ../src/tts.cpp:122
+#, fuzzy
+msgid "Bulgarian"
+msgstr "Hungarès"
+
+#: ../src/tts.cpp:123
+#, fuzzy
+msgid "Dari"
+msgstr "Danès"
+
+#: ../src/tts.cpp:124
+msgid "Divehi"
+msgstr ""
+
+#: ../src/tts.cpp:125
+#, fuzzy
+msgid "Georgian"
+msgstr "Alemany"
+
+#: ../src/tts.cpp:126
+#, fuzzy
+msgid "Haitian"
+msgstr "Letó"
+
+#: ../src/tts.cpp:127
+msgid "Kannada"
+msgstr ""
+
+#: ../src/tts.cpp:128
+msgid "Kinyarwanda"
+msgstr ""
+
+#: ../src/tts.cpp:129
+msgid "Mlayalam"
+msgstr ""
+
+#: ../src/tts.cpp:130
+msgid "Nahuatl (Clasical)"
 msgstr ""
 
-#: ../src/tts.cpp:281
+#: ../src/tts.cpp:131
+msgid "Nepali"
+msgstr ""
+
+#: ../src/tts.cpp:132
+msgid "Northern Sotho"
+msgstr ""
+
+#: ../src/tts.cpp:133
+msgid "Punjabi"
+msgstr ""
+
+#: ../src/tts.cpp:134
+msgid "Setswana"
+msgstr ""
+
+#: ../src/tts.cpp:135
+msgid "Sinhala"
+msgstr ""
+
+#: ../src/tts.cpp:136
+#, fuzzy
+msgid "Slovenian"
+msgstr "Eslovac"
+
+#: ../src/tts.cpp:137
+msgid "Swahili"
+msgstr ""
+
+#: ../src/tts.cpp:138
+msgid "Telugu"
+msgstr ""
+
+#: ../src/tts.cpp:139
+msgid "Urdu"
+msgstr ""
+
+#: ../src/tts.cpp:140
+msgid "Wolof"
+msgstr ""
+
+#: ../src/tts.cpp:141
+msgid "Default"
+msgstr "Predeterminat"
+
+#: ../src/tts.cpp:351
 msgid "Text-To-Speech"
 msgstr "Text per pronunciar"
 
-#: ../src/tts.cpp:288
+#: ../src/tts.cpp:358
 msgid "Enable"
 msgstr "Habilita"
 
-#: ../src/tts.cpp:296
+#: ../src/tts.cpp:366
+msgid "eSpeak"
+msgstr ""
+
+#: ../src/tts.cpp:370
+msgid "Real People"
+msgstr ""
+
+#: ../src/tts.cpp:378
 msgid "Male"
 msgstr "Home"
 
-#: ../src/tts.cpp:300
+#: ../src/tts.cpp:382
 msgid "Female"
 msgstr "Dona"
 
-#: ../src/tts.cpp:306
+#: ../src/tts.cpp:388
 msgid "Language"
 msgstr "Idioma"
index 607c8b5..c0abe2a 100644 (file)
--- a/po/cs.po
+++ b/po/cs.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: mstardict\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-11-14 10:21+0100\n"
+"POT-Creation-Date: 2011-11-14 12:56+0100\n"
 "PO-Revision-Date: 2010-06-14 20:52+0200\n"
 "Last-Translator: Pavel Fric\n"
 "Language-Team: Czech <kde-i18n-doc@kde.org>\n"
@@ -93,242 +93,342 @@ msgstr "Překlad"
 msgid "Say"
 msgstr "Vyslovit"
 
-#: ../src/tts.cpp:60
+#: ../src/tts.cpp:66
 msgid "Afrikaans"
 msgstr "Afrikánský"
 
-#: ../src/tts.cpp:61
+#: ../src/tts.cpp:67
 msgid "Bosnian"
 msgstr "Bosenský"
 
-#: ../src/tts.cpp:62
+#: ../src/tts.cpp:68
 msgid "Catalan"
 msgstr "Katalánský"
 
-#: ../src/tts.cpp:63
+#: ../src/tts.cpp:69
 msgid "Czech"
 msgstr "Český"
 
-#: ../src/tts.cpp:64
+#: ../src/tts.cpp:70
 msgid "Welsh"
 msgstr "Welšský"
 
-#: ../src/tts.cpp:65
+#: ../src/tts.cpp:71
 msgid "Danish"
 msgstr "Dánský"
 
-#: ../src/tts.cpp:66
+#: ../src/tts.cpp:72
 msgid "German"
 msgstr "Německý"
 
-#: ../src/tts.cpp:67
+#: ../src/tts.cpp:73
 msgid "Greek"
 msgstr "Řecký"
 
-#: ../src/tts.cpp:68
+#: ../src/tts.cpp:74
 msgid "English (Scottish)"
 msgstr "Anglický (Skótský)"
 
-#: ../src/tts.cpp:69
+#: ../src/tts.cpp:75
 msgid "English"
 msgstr "Anglický"
 
-#: ../src/tts.cpp:70
+#: ../src/tts.cpp:76
 msgid "English (Lancashire)"
 msgstr "Anglický (Lancashire)"
 
-#: ../src/tts.cpp:71
+#: ../src/tts.cpp:77
 msgid "English (Received Pronunciation)"
 msgstr "Anglický (běžná výslovnost)"
 
-#: ../src/tts.cpp:72
+#: ../src/tts.cpp:78
 msgid "English (West Midlands)"
 msgstr "Anglický (West Midland - střední Anglie)"
 
-#: ../src/tts.cpp:73
+#: ../src/tts.cpp:79
 msgid "English (American)"
 msgstr "Anglický (Americký)"
 
-#: ../src/tts.cpp:74
+#: ../src/tts.cpp:80
 msgid "English (Westindies)"
 msgstr "Anglický (Karibská oblast)"
 
-#: ../src/tts.cpp:75
+#: ../src/tts.cpp:81
 msgid "Esperanto"
 msgstr "Esperanto"
 
-#: ../src/tts.cpp:76
+#: ../src/tts.cpp:82
 msgid "Spanish"
 msgstr "Španělský"
 
-#: ../src/tts.cpp:77
+#: ../src/tts.cpp:83
 msgid "Spanish (Latin American)"
 msgstr "Španělský (latinskoamerický)"
 
-#: ../src/tts.cpp:78
+#: ../src/tts.cpp:84
 msgid "Finnish"
 msgstr "Finský"
 
-#: ../src/tts.cpp:79
+#: ../src/tts.cpp:85
 msgid "French"
 msgstr "Francouzský"
 
-#: ../src/tts.cpp:80
+#: ../src/tts.cpp:86
 msgid "French (Belgium)"
 msgstr "Francouzský (Belgie)"
 
-#: ../src/tts.cpp:81
+#: ../src/tts.cpp:87
 msgid "Greek (Ancient)"
 msgstr "Řecký (starověký)"
 
-#: ../src/tts.cpp:82
+#: ../src/tts.cpp:88
 msgid "Hindi"
 msgstr "Hindský"
 
-#: ../src/tts.cpp:83
+#: ../src/tts.cpp:89
 msgid "Croatian"
 msgstr "Chorvatský"
 
-#: ../src/tts.cpp:84
+#: ../src/tts.cpp:90
 msgid "Hungarian"
 msgstr "Maďarský"
 
-#: ../src/tts.cpp:85
+#: ../src/tts.cpp:91
 msgid "Armenian"
 msgstr "Arménský"
 
-#: ../src/tts.cpp:86
+#: ../src/tts.cpp:92
 msgid "Armenian (West)"
 msgstr "Arménský (západní)"
 
-#: ../src/tts.cpp:87
+#: ../src/tts.cpp:93
 msgid "Indonesian"
 msgstr "Indonézský"
 
-#: ../src/tts.cpp:88
+#: ../src/tts.cpp:94
 msgid "Icelandic"
 msgstr "Islandský"
 
-#: ../src/tts.cpp:89
+#: ../src/tts.cpp:95
 msgid "Italian"
 msgstr "Italský"
 
-#: ../src/tts.cpp:90
+#: ../src/tts.cpp:96
 msgid "Lojban"
 msgstr "Lojban"
 
-#: ../src/tts.cpp:91
+#: ../src/tts.cpp:97
 msgid "Kurdish"
 msgstr "Kurdský"
 
-#: ../src/tts.cpp:92
+#: ../src/tts.cpp:98
 msgid "Latin"
 msgstr "Latinský"
 
-#: ../src/tts.cpp:93
+#: ../src/tts.cpp:99
 msgid "Latvian"
 msgstr "Lotyšský"
 
-#: ../src/tts.cpp:94
+#: ../src/tts.cpp:100
 msgid "Macedonian"
 msgstr "Makedónský"
 
-#: ../src/tts.cpp:95
+#: ../src/tts.cpp:101
 msgid "Dutch"
 msgstr "Holandský"
 
-#: ../src/tts.cpp:96
+#: ../src/tts.cpp:102
 msgid "Norwegian"
 msgstr "Norský"
 
-#: ../src/tts.cpp:97
+#: ../src/tts.cpp:103
 msgid "Papiamento"
 msgstr "Papiamento"
 
-#: ../src/tts.cpp:98
+#: ../src/tts.cpp:104
 msgid "Polish"
 msgstr "Polský"
 
-#: ../src/tts.cpp:99
+#: ../src/tts.cpp:105
 msgid "Brazil"
 msgstr "Brazilský"
 
-#: ../src/tts.cpp:100
+#: ../src/tts.cpp:106
 msgid "Portugal"
 msgstr "Portugalský"
 
-#: ../src/tts.cpp:101
+#: ../src/tts.cpp:107
 msgid "Romanian"
 msgstr "Rumunský"
 
-#: ../src/tts.cpp:102
+#: ../src/tts.cpp:108
 msgid "Russian"
 msgstr "Ruský"
 
-#: ../src/tts.cpp:103
+#: ../src/tts.cpp:109
 msgid "Slovak"
 msgstr "Slovenský"
 
-#: ../src/tts.cpp:104
+#: ../src/tts.cpp:110
 msgid "Albanian"
 msgstr "Albánský"
 
-#: ../src/tts.cpp:105
+#: ../src/tts.cpp:111
 msgid "Serbian"
 msgstr "Srbský"
 
-#: ../src/tts.cpp:106
+#: ../src/tts.cpp:112
 msgid "Swedish"
 msgstr "Švédský"
 
-#: ../src/tts.cpp:107
+#: ../src/tts.cpp:113
 msgid "Swahihi"
 msgstr "Swahihi"
 
-#: ../src/tts.cpp:108
+#: ../src/tts.cpp:114
 msgid "Tamil"
 msgstr "Tamilský"
 
-#: ../src/tts.cpp:109
+#: ../src/tts.cpp:115
 msgid "Turkish"
 msgstr "Turecký"
 
-#: ../src/tts.cpp:110
-msgid "Vietnam"
+#: ../src/tts.cpp:116
+#, fuzzy
+msgid "Vietnamese"
 msgstr "Větnamský"
 
-#: ../src/tts.cpp:111
+#: ../src/tts.cpp:117
 msgid "Chinese (Mandarin)"
 msgstr "Čínský (mandarínský)"
 
-#: ../src/tts.cpp:112
+#: ../src/tts.cpp:118
 msgid "Chinese (Cantonese)"
 msgstr "Čínský (kantonský)"
 
-#: ../src/tts.cpp:113
-msgid "Default"
-msgstr "Výchozí"
+#: ../src/tts.cpp:119
+msgid "Akam"
+msgstr ""
 
-#: ../src/tts.cpp:114
-msgid "WyabdcRealPeopleTTS"
+#: ../src/tts.cpp:120
+msgid "Amharic"
+msgstr ""
+
+#: ../src/tts.cpp:121
+#, fuzzy
+msgid "Azerbaijani"
+msgstr "Srbský"
+
+#: ../src/tts.cpp:122
+#, fuzzy
+msgid "Bulgarian"
+msgstr "Maďarský"
+
+#: ../src/tts.cpp:123
+#, fuzzy
+msgid "Dari"
+msgstr "Dánský"
+
+#: ../src/tts.cpp:124
+msgid "Divehi"
+msgstr ""
+
+#: ../src/tts.cpp:125
+#, fuzzy
+msgid "Georgian"
+msgstr "Německý"
+
+#: ../src/tts.cpp:126
+#, fuzzy
+msgid "Haitian"
+msgstr "Lotyšský"
+
+#: ../src/tts.cpp:127
+msgid "Kannada"
+msgstr ""
+
+#: ../src/tts.cpp:128
+msgid "Kinyarwanda"
+msgstr ""
+
+#: ../src/tts.cpp:129
+msgid "Mlayalam"
+msgstr ""
+
+#: ../src/tts.cpp:130
+msgid "Nahuatl (Clasical)"
 msgstr ""
 
-#: ../src/tts.cpp:281
+#: ../src/tts.cpp:131
+msgid "Nepali"
+msgstr ""
+
+#: ../src/tts.cpp:132
+msgid "Northern Sotho"
+msgstr ""
+
+#: ../src/tts.cpp:133
+msgid "Punjabi"
+msgstr ""
+
+#: ../src/tts.cpp:134
+msgid "Setswana"
+msgstr ""
+
+#: ../src/tts.cpp:135
+msgid "Sinhala"
+msgstr ""
+
+#: ../src/tts.cpp:136
+#, fuzzy
+msgid "Slovenian"
+msgstr "Slovenský"
+
+#: ../src/tts.cpp:137
+#, fuzzy
+msgid "Swahili"
+msgstr "Swahihi"
+
+#: ../src/tts.cpp:138
+msgid "Telugu"
+msgstr ""
+
+#: ../src/tts.cpp:139
+msgid "Urdu"
+msgstr ""
+
+#: ../src/tts.cpp:140
+msgid "Wolof"
+msgstr ""
+
+#: ../src/tts.cpp:141
+msgid "Default"
+msgstr "Výchozí"
+
+#: ../src/tts.cpp:351
 msgid "Text-To-Speech"
 msgstr "Výslovnost"
 
-#: ../src/tts.cpp:288
+#: ../src/tts.cpp:358
 msgid "Enable"
 msgstr "Povolit"
 
-#: ../src/tts.cpp:296
+#: ../src/tts.cpp:366
+msgid "eSpeak"
+msgstr ""
+
+#: ../src/tts.cpp:370
+msgid "Real People"
+msgstr ""
+
+#: ../src/tts.cpp:378
 msgid "Male"
 msgstr "Muž"
 
-#: ../src/tts.cpp:300
+#: ../src/tts.cpp:382
 msgid "Female"
 msgstr "Žena"
 
-#: ../src/tts.cpp:306
+#: ../src/tts.cpp:388
 msgid "Language"
 msgstr "Jazyk"
index b91cd95..63a4fe7 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -2,7 +2,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: MStarDict-0.5\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-11-14 10:21+0100\n"
+"POT-Creation-Date: 2011-11-14 12:56+0100\n"
 "PO-Revision-Date: \n"
 "Last-Translator: Oskar Welzl <dev@welzl.info>\n"
 "Language-Team: \n"
@@ -90,242 +90,342 @@ msgstr "Übersetzung"
 msgid "Say"
 msgstr "Aussprechen"
 
-#: ../src/tts.cpp:60
+#: ../src/tts.cpp:66
 msgid "Afrikaans"
 msgstr "Afrikaans"
 
-#: ../src/tts.cpp:61
+#: ../src/tts.cpp:67
 msgid "Bosnian"
 msgstr "Bosnisch"
 
-#: ../src/tts.cpp:62
+#: ../src/tts.cpp:68
 msgid "Catalan"
 msgstr "Katalanisch"
 
-#: ../src/tts.cpp:63
+#: ../src/tts.cpp:69
 msgid "Czech"
 msgstr "Tschechisch"
 
-#: ../src/tts.cpp:64
+#: ../src/tts.cpp:70
 msgid "Welsh"
 msgstr "Walisisch"
 
-#: ../src/tts.cpp:65
+#: ../src/tts.cpp:71
 msgid "Danish"
 msgstr "Dänisch"
 
-#: ../src/tts.cpp:66
+#: ../src/tts.cpp:72
 msgid "German"
 msgstr "Deutsch"
 
-#: ../src/tts.cpp:67
+#: ../src/tts.cpp:73
 msgid "Greek"
 msgstr "Griechisch"
 
-#: ../src/tts.cpp:68
+#: ../src/tts.cpp:74
 msgid "English (Scottish)"
 msgstr "Englisch (Schottisch)"
 
-#: ../src/tts.cpp:69
+#: ../src/tts.cpp:75
 msgid "English"
 msgstr "Englisch"
 
-#: ../src/tts.cpp:70
+#: ../src/tts.cpp:76
 msgid "English (Lancashire)"
 msgstr "Englisch (Lancashire)"
 
-#: ../src/tts.cpp:71
+#: ../src/tts.cpp:77
 msgid "English (Received Pronunciation)"
 msgstr "Englisch (Received Pronunciation)"
 
-#: ../src/tts.cpp:72
+#: ../src/tts.cpp:78
 msgid "English (West Midlands)"
 msgstr "Englisch (West Midlands)"
 
-#: ../src/tts.cpp:73
+#: ../src/tts.cpp:79
 msgid "English (American)"
 msgstr "Englisch (Amerikanisch)"
 
-#: ../src/tts.cpp:74
+#: ../src/tts.cpp:80
 msgid "English (Westindies)"
 msgstr "Englisch (West Indies)"
 
-#: ../src/tts.cpp:75
+#: ../src/tts.cpp:81
 msgid "Esperanto"
 msgstr "Esperanto"
 
-#: ../src/tts.cpp:76
+#: ../src/tts.cpp:82
 msgid "Spanish"
 msgstr "Spanisch"
 
-#: ../src/tts.cpp:77
+#: ../src/tts.cpp:83
 msgid "Spanish (Latin American)"
 msgstr "Spanisch (Lateinamerikanisch)"
 
-#: ../src/tts.cpp:78
+#: ../src/tts.cpp:84
 msgid "Finnish"
 msgstr "Finnisch"
 
-#: ../src/tts.cpp:79
+#: ../src/tts.cpp:85
 msgid "French"
 msgstr "Französisch"
 
-#: ../src/tts.cpp:80
+#: ../src/tts.cpp:86
 msgid "French (Belgium)"
 msgstr "Französisch (Belgien)"
 
-#: ../src/tts.cpp:81
+#: ../src/tts.cpp:87
 msgid "Greek (Ancient)"
 msgstr "Griechisch (Altgriechisch)"
 
-#: ../src/tts.cpp:82
+#: ../src/tts.cpp:88
 msgid "Hindi"
 msgstr "Hindi"
 
-#: ../src/tts.cpp:83
+#: ../src/tts.cpp:89
 msgid "Croatian"
 msgstr "Kroatisch"
 
-#: ../src/tts.cpp:84
+#: ../src/tts.cpp:90
 msgid "Hungarian"
 msgstr "Ungarisch"
 
-#: ../src/tts.cpp:85
+#: ../src/tts.cpp:91
 msgid "Armenian"
 msgstr "Armenisch"
 
-#: ../src/tts.cpp:86
+#: ../src/tts.cpp:92
 msgid "Armenian (West)"
 msgstr "Armenisch (West)"
 
-#: ../src/tts.cpp:87
+#: ../src/tts.cpp:93
 msgid "Indonesian"
 msgstr "Indonesisch"
 
-#: ../src/tts.cpp:88
+#: ../src/tts.cpp:94
 msgid "Icelandic"
 msgstr "Isländisch"
 
-#: ../src/tts.cpp:89
+#: ../src/tts.cpp:95
 msgid "Italian"
 msgstr "Italienisch"
 
-#: ../src/tts.cpp:90
+#: ../src/tts.cpp:96
 msgid "Lojban"
 msgstr "Lojban"
 
-#: ../src/tts.cpp:91
+#: ../src/tts.cpp:97
 msgid "Kurdish"
 msgstr "Kurdisch"
 
-#: ../src/tts.cpp:92
+#: ../src/tts.cpp:98
 msgid "Latin"
 msgstr "Latein"
 
-#: ../src/tts.cpp:93
+#: ../src/tts.cpp:99
 msgid "Latvian"
 msgstr "Lettisch"
 
-#: ../src/tts.cpp:94
+#: ../src/tts.cpp:100
 msgid "Macedonian"
 msgstr "Mazedonisch"
 
-#: ../src/tts.cpp:95
+#: ../src/tts.cpp:101
 msgid "Dutch"
 msgstr "Nederländisch"
 
-#: ../src/tts.cpp:96
+#: ../src/tts.cpp:102
 msgid "Norwegian"
 msgstr "Norwegisch"
 
-#: ../src/tts.cpp:97
+#: ../src/tts.cpp:103
 msgid "Papiamento"
 msgstr "Papiamentu"
 
-#: ../src/tts.cpp:98
+#: ../src/tts.cpp:104
 msgid "Polish"
 msgstr "Polnisch"
 
-#: ../src/tts.cpp:99
+#: ../src/tts.cpp:105
 msgid "Brazil"
 msgstr "Portugiesisch (Brasilien)"
 
-#: ../src/tts.cpp:100
+#: ../src/tts.cpp:106
 msgid "Portugal"
 msgstr "Portugiesisch"
 
-#: ../src/tts.cpp:101
+#: ../src/tts.cpp:107
 msgid "Romanian"
 msgstr "Rumänisch"
 
-#: ../src/tts.cpp:102
+#: ../src/tts.cpp:108
 msgid "Russian"
 msgstr "Russisch"
 
-#: ../src/tts.cpp:103
+#: ../src/tts.cpp:109
 msgid "Slovak"
 msgstr "Slowakisch"
 
-#: ../src/tts.cpp:104
+#: ../src/tts.cpp:110
 msgid "Albanian"
 msgstr "Albanisch"
 
-#: ../src/tts.cpp:105
+#: ../src/tts.cpp:111
 msgid "Serbian"
 msgstr "Serbisch"
 
-#: ../src/tts.cpp:106
+#: ../src/tts.cpp:112
 msgid "Swedish"
 msgstr "Schwedisch"
 
-#: ../src/tts.cpp:107
+#: ../src/tts.cpp:113
 msgid "Swahihi"
 msgstr "Swahili"
 
-#: ../src/tts.cpp:108
+#: ../src/tts.cpp:114
 msgid "Tamil"
 msgstr "Tamil"
 
-#: ../src/tts.cpp:109
+#: ../src/tts.cpp:115
 msgid "Turkish"
 msgstr "Türkisch"
 
-#: ../src/tts.cpp:110
-msgid "Vietnam"
+#: ../src/tts.cpp:116
+#, fuzzy
+msgid "Vietnamese"
 msgstr "Vietnamesisch"
 
-#: ../src/tts.cpp:111
+#: ../src/tts.cpp:117
 msgid "Chinese (Mandarin)"
 msgstr "Chinesisch (Mandarin)"
 
-#: ../src/tts.cpp:112
+#: ../src/tts.cpp:118
 msgid "Chinese (Cantonese)"
 msgstr "Chinesisch (Kantonesisch)"
 
-#: ../src/tts.cpp:113
-msgid "Default"
-msgstr "Standard"
+#: ../src/tts.cpp:119
+msgid "Akam"
+msgstr ""
 
-#: ../src/tts.cpp:114
-msgid "WyabdcRealPeopleTTS"
+#: ../src/tts.cpp:120
+msgid "Amharic"
+msgstr ""
+
+#: ../src/tts.cpp:121
+#, fuzzy
+msgid "Azerbaijani"
+msgstr "Serbisch"
+
+#: ../src/tts.cpp:122
+#, fuzzy
+msgid "Bulgarian"
+msgstr "Ungarisch"
+
+#: ../src/tts.cpp:123
+#, fuzzy
+msgid "Dari"
+msgstr "Dänisch"
+
+#: ../src/tts.cpp:124
+msgid "Divehi"
+msgstr ""
+
+#: ../src/tts.cpp:125
+#, fuzzy
+msgid "Georgian"
+msgstr "Deutsch"
+
+#: ../src/tts.cpp:126
+#, fuzzy
+msgid "Haitian"
+msgstr "Lettisch"
+
+#: ../src/tts.cpp:127
+msgid "Kannada"
+msgstr ""
+
+#: ../src/tts.cpp:128
+msgid "Kinyarwanda"
+msgstr ""
+
+#: ../src/tts.cpp:129
+msgid "Mlayalam"
+msgstr ""
+
+#: ../src/tts.cpp:130
+msgid "Nahuatl (Clasical)"
+msgstr ""
+
+#: ../src/tts.cpp:131
+msgid "Nepali"
+msgstr ""
+
+#: ../src/tts.cpp:132
+msgid "Northern Sotho"
+msgstr ""
+
+#: ../src/tts.cpp:133
+msgid "Punjabi"
+msgstr ""
+
+#: ../src/tts.cpp:134
+msgid "Setswana"
+msgstr ""
+
+#: ../src/tts.cpp:135
+msgid "Sinhala"
 msgstr ""
 
-#: ../src/tts.cpp:281
+#: ../src/tts.cpp:136
+#, fuzzy
+msgid "Slovenian"
+msgstr "Slowakisch"
+
+#: ../src/tts.cpp:137
+#, fuzzy
+msgid "Swahili"
+msgstr "Swahili"
+
+#: ../src/tts.cpp:138
+msgid "Telugu"
+msgstr ""
+
+#: ../src/tts.cpp:139
+msgid "Urdu"
+msgstr ""
+
+#: ../src/tts.cpp:140
+msgid "Wolof"
+msgstr ""
+
+#: ../src/tts.cpp:141
+msgid "Default"
+msgstr "Standard"
+
+#: ../src/tts.cpp:351
 msgid "Text-To-Speech"
 msgstr "Sprachsynthese"
 
-#: ../src/tts.cpp:288
+#: ../src/tts.cpp:358
 msgid "Enable"
 msgstr "Einschalten"
 
-#: ../src/tts.cpp:296
+#: ../src/tts.cpp:366
+msgid "eSpeak"
+msgstr ""
+
+#: ../src/tts.cpp:370
+msgid "Real People"
+msgstr ""
+
+#: ../src/tts.cpp:378
 msgid "Male"
 msgstr "Männlich"
 
-#: ../src/tts.cpp:300
+#: ../src/tts.cpp:382
 msgid "Female"
 msgstr "Weiblich"
 
-#: ../src/tts.cpp:306
+#: ../src/tts.cpp:388
 msgid "Language"
 msgstr "Sprache"
index e3edd88..6852f4a 100644 (file)
--- a/po/fi.po
+++ b/po/fi.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 0.5-2\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-11-14 10:21+0100\n"
+"POT-Creation-Date: 2011-11-14 12:56+0100\n"
 "PO-Revision-Date: 2010-05-17 11:31+0200\n"
 "Last-Translator: Marko Vertainen <marko.vertainen@iki.fi>\n"
 "Language-Team: FINNISH <FI@li.org>\n"
@@ -92,242 +92,342 @@ msgstr "Käännös"
 msgid "Say"
 msgstr "Sano"
 
-#: ../src/tts.cpp:60
+#: ../src/tts.cpp:66
 msgid "Afrikaans"
 msgstr "Afrikaani"
 
-#: ../src/tts.cpp:61
+#: ../src/tts.cpp:67
 msgid "Bosnian"
 msgstr "Bosnialainen"
 
-#: ../src/tts.cpp:62
+#: ../src/tts.cpp:68
 msgid "Catalan"
 msgstr "Katalaani"
 
-#: ../src/tts.cpp:63
+#: ../src/tts.cpp:69
 msgid "Czech"
 msgstr "Tsekkiläinen"
 
-#: ../src/tts.cpp:64
+#: ../src/tts.cpp:70
 msgid "Welsh"
 msgstr "Waleslainen"
 
-#: ../src/tts.cpp:65
+#: ../src/tts.cpp:71
 msgid "Danish"
 msgstr "Tanskalainen"
 
-#: ../src/tts.cpp:66
+#: ../src/tts.cpp:72
 msgid "German"
 msgstr "Saksalainen"
 
-#: ../src/tts.cpp:67
+#: ../src/tts.cpp:73
 msgid "Greek"
 msgstr "Kreikkalainen"
 
-#: ../src/tts.cpp:68
+#: ../src/tts.cpp:74
 msgid "English (Scottish)"
 msgstr "Englantilainen (skotti)"
 
-#: ../src/tts.cpp:69
+#: ../src/tts.cpp:75
 msgid "English"
 msgstr "Englantilainen"
 
-#: ../src/tts.cpp:70
+#: ../src/tts.cpp:76
 msgid "English (Lancashire)"
 msgstr "Englantilainen (Lancashire)"
 
-#: ../src/tts.cpp:71
+#: ../src/tts.cpp:77
 msgid "English (Received Pronunciation)"
 msgstr "Englantilainen (Yleiskielinen ääntämys)"
 
-#: ../src/tts.cpp:72
+#: ../src/tts.cpp:78
 msgid "English (West Midlands)"
 msgstr "Englantilainen (West Midland)"
 
-#: ../src/tts.cpp:73
+#: ../src/tts.cpp:79
 msgid "English (American)"
 msgstr "Englantilainen (Amerikka)"
 
-#: ../src/tts.cpp:74
+#: ../src/tts.cpp:80
 msgid "English (Westindies)"
 msgstr "Englantilainen (Westindies)"
 
-#: ../src/tts.cpp:75
+#: ../src/tts.cpp:81
 msgid "Esperanto"
 msgstr "Esperantolainen"
 
-#: ../src/tts.cpp:76
+#: ../src/tts.cpp:82
 msgid "Spanish"
 msgstr "Espanjalainen"
 
-#: ../src/tts.cpp:77
+#: ../src/tts.cpp:83
 msgid "Spanish (Latin American)"
 msgstr "Espanjalainen (Latinalainen Amerikka)"
 
-#: ../src/tts.cpp:78
+#: ../src/tts.cpp:84
 msgid "Finnish"
 msgstr "Suomalainen"
 
-#: ../src/tts.cpp:79
+#: ../src/tts.cpp:85
 msgid "French"
 msgstr "Ranskalainen"
 
-#: ../src/tts.cpp:80
+#: ../src/tts.cpp:86
 msgid "French (Belgium)"
 msgstr "Ranskalainen (Belgia)"
 
-#: ../src/tts.cpp:81
+#: ../src/tts.cpp:87
 msgid "Greek (Ancient)"
 msgstr "Kreikkalainen (muinainen)"
 
-#: ../src/tts.cpp:82
+#: ../src/tts.cpp:88
 msgid "Hindi"
 msgstr "Hindilainen"
 
-#: ../src/tts.cpp:83
+#: ../src/tts.cpp:89
 msgid "Croatian"
 msgstr "Kroatialainen"
 
-#: ../src/tts.cpp:84
+#: ../src/tts.cpp:90
 msgid "Hungarian"
 msgstr "Unkarilainen"
 
-#: ../src/tts.cpp:85
+#: ../src/tts.cpp:91
 msgid "Armenian"
 msgstr "Armenialainen"
 
-#: ../src/tts.cpp:86
+#: ../src/tts.cpp:92
 msgid "Armenian (West)"
 msgstr "Armenialainen (Länsi)"
 
-#: ../src/tts.cpp:87
+#: ../src/tts.cpp:93
 msgid "Indonesian"
 msgstr "Indonesialainen"
 
-#: ../src/tts.cpp:88
+#: ../src/tts.cpp:94
 msgid "Icelandic"
 msgstr "Islantilainen"
 
-#: ../src/tts.cpp:89
+#: ../src/tts.cpp:95
 msgid "Italian"
 msgstr "Italialainen"
 
-#: ../src/tts.cpp:90
+#: ../src/tts.cpp:96
 msgid "Lojban"
 msgstr "Lojbanilainen"
 
-#: ../src/tts.cpp:91
+#: ../src/tts.cpp:97
 msgid "Kurdish"
 msgstr "Kurdi"
 
-#: ../src/tts.cpp:92
+#: ../src/tts.cpp:98
 msgid "Latin"
 msgstr "Latina"
 
-#: ../src/tts.cpp:93
+#: ../src/tts.cpp:99
 msgid "Latvian"
 msgstr "Latvialainen"
 
-#: ../src/tts.cpp:94
+#: ../src/tts.cpp:100
 msgid "Macedonian"
 msgstr "Makedonialainen"
 
-#: ../src/tts.cpp:95
+#: ../src/tts.cpp:101
 msgid "Dutch"
 msgstr "Hollantilainen"
 
-#: ../src/tts.cpp:96
+#: ../src/tts.cpp:102
 msgid "Norwegian"
 msgstr "Norjalainen"
 
-#: ../src/tts.cpp:97
+#: ../src/tts.cpp:103
 msgid "Papiamento"
 msgstr "Papiamentolainen"
 
-#: ../src/tts.cpp:98
+#: ../src/tts.cpp:104
 msgid "Polish"
 msgstr "Puolalainen"
 
-#: ../src/tts.cpp:99
+#: ../src/tts.cpp:105
 msgid "Brazil"
 msgstr "Brasilialainen"
 
-#: ../src/tts.cpp:100
+#: ../src/tts.cpp:106
 msgid "Portugal"
 msgstr "Portugalialainen"
 
-#: ../src/tts.cpp:101
+#: ../src/tts.cpp:107
 msgid "Romanian"
 msgstr "Romanialainen"
 
-#: ../src/tts.cpp:102
+#: ../src/tts.cpp:108
 msgid "Russian"
 msgstr "Venäläinen"
 
-#: ../src/tts.cpp:103
+#: ../src/tts.cpp:109
 msgid "Slovak"
 msgstr "Slovakialainen"
 
-#: ../src/tts.cpp:104
+#: ../src/tts.cpp:110
 msgid "Albanian"
 msgstr "Albanialainen"
 
-#: ../src/tts.cpp:105
+#: ../src/tts.cpp:111
 msgid "Serbian"
 msgstr "Serbialainen"
 
-#: ../src/tts.cpp:106
+#: ../src/tts.cpp:112
 msgid "Swedish"
 msgstr "Ruotsalainen"
 
-#: ../src/tts.cpp:107
+#: ../src/tts.cpp:113
 msgid "Swahihi"
 msgstr "Swahili"
 
-#: ../src/tts.cpp:108
+#: ../src/tts.cpp:114
 msgid "Tamil"
 msgstr "Tamili"
 
-#: ../src/tts.cpp:109
+#: ../src/tts.cpp:115
 msgid "Turkish"
 msgstr "Turkkilainen"
 
-#: ../src/tts.cpp:110
-msgid "Vietnam"
+#: ../src/tts.cpp:116
+#, fuzzy
+msgid "Vietnamese"
 msgstr "Vietnamilainen"
 
-#: ../src/tts.cpp:111
+#: ../src/tts.cpp:117
 msgid "Chinese (Mandarin)"
 msgstr "Kiinalainen (Mandariini)"
 
-#: ../src/tts.cpp:112
+#: ../src/tts.cpp:118
 msgid "Chinese (Cantonese)"
 msgstr "Kiinalainen (Kantoni)"
 
-#: ../src/tts.cpp:113
-msgid "Default"
-msgstr "Oletus"
+#: ../src/tts.cpp:119
+msgid "Akam"
+msgstr ""
 
-#: ../src/tts.cpp:114
-msgid "WyabdcRealPeopleTTS"
+#: ../src/tts.cpp:120
+msgid "Amharic"
+msgstr ""
+
+#: ../src/tts.cpp:121
+#, fuzzy
+msgid "Azerbaijani"
+msgstr "Serbialainen"
+
+#: ../src/tts.cpp:122
+#, fuzzy
+msgid "Bulgarian"
+msgstr "Unkarilainen"
+
+#: ../src/tts.cpp:123
+#, fuzzy
+msgid "Dari"
+msgstr "Tanskalainen"
+
+#: ../src/tts.cpp:124
+msgid "Divehi"
+msgstr ""
+
+#: ../src/tts.cpp:125
+#, fuzzy
+msgid "Georgian"
+msgstr "Saksalainen"
+
+#: ../src/tts.cpp:126
+#, fuzzy
+msgid "Haitian"
+msgstr "Latvialainen"
+
+#: ../src/tts.cpp:127
+msgid "Kannada"
+msgstr ""
+
+#: ../src/tts.cpp:128
+msgid "Kinyarwanda"
+msgstr ""
+
+#: ../src/tts.cpp:129
+msgid "Mlayalam"
+msgstr ""
+
+#: ../src/tts.cpp:130
+msgid "Nahuatl (Clasical)"
 msgstr ""
 
-#: ../src/tts.cpp:281
+#: ../src/tts.cpp:131
+msgid "Nepali"
+msgstr ""
+
+#: ../src/tts.cpp:132
+msgid "Northern Sotho"
+msgstr ""
+
+#: ../src/tts.cpp:133
+msgid "Punjabi"
+msgstr ""
+
+#: ../src/tts.cpp:134
+msgid "Setswana"
+msgstr ""
+
+#: ../src/tts.cpp:135
+msgid "Sinhala"
+msgstr ""
+
+#: ../src/tts.cpp:136
+#, fuzzy
+msgid "Slovenian"
+msgstr "Slovakialainen"
+
+#: ../src/tts.cpp:137
+#, fuzzy
+msgid "Swahili"
+msgstr "Swahili"
+
+#: ../src/tts.cpp:138
+msgid "Telugu"
+msgstr ""
+
+#: ../src/tts.cpp:139
+msgid "Urdu"
+msgstr ""
+
+#: ../src/tts.cpp:140
+msgid "Wolof"
+msgstr ""
+
+#: ../src/tts.cpp:141
+msgid "Default"
+msgstr "Oletus"
+
+#: ../src/tts.cpp:351
 msgid "Text-To-Speech"
 msgstr "Teksti-Puheeksi"
 
-#: ../src/tts.cpp:288
+#: ../src/tts.cpp:358
 msgid "Enable"
 msgstr "Ota käyttöön"
 
-#: ../src/tts.cpp:296
+#: ../src/tts.cpp:366
+msgid "eSpeak"
+msgstr ""
+
+#: ../src/tts.cpp:370
+msgid "Real People"
+msgstr ""
+
+#: ../src/tts.cpp:378
 msgid "Male"
 msgstr "Mies"
 
-#: ../src/tts.cpp:300
+#: ../src/tts.cpp:382
 msgid "Female"
 msgstr "Nainen"
 
-#: ../src/tts.cpp:306
+#: ../src/tts.cpp:388
 msgid "Language"
 msgstr "Kieli"
index 32743d7..bedb75a 100644 (file)
--- a/po/ru.po
+++ b/po/ru.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: mstardict\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-11-14 10:21+0100\n"
+"POT-Creation-Date: 2011-11-14 12:56+0100\n"
 "PO-Revision-Date: 2010-08-02 02:02+0400\n"
 "Last-Translator: Alexey Gavrilov <tehhez@gmail.com>\n"
 "Language-Team: \n"
@@ -93,242 +93,342 @@ msgstr "Паревод"
 msgid "Say"
 msgstr "Сказать"
 
-#: ../src/tts.cpp:60
+#: ../src/tts.cpp:66
 msgid "Afrikaans"
 msgstr "Африкаанс"
 
-#: ../src/tts.cpp:61
+#: ../src/tts.cpp:67
 msgid "Bosnian"
 msgstr "Боснийский"
 
-#: ../src/tts.cpp:62
+#: ../src/tts.cpp:68
 msgid "Catalan"
 msgstr "Каталанский"
 
-#: ../src/tts.cpp:63
+#: ../src/tts.cpp:69
 msgid "Czech"
 msgstr "Чешский"
 
-#: ../src/tts.cpp:64
+#: ../src/tts.cpp:70
 msgid "Welsh"
 msgstr "Валлийский"
 
-#: ../src/tts.cpp:65
+#: ../src/tts.cpp:71
 msgid "Danish"
 msgstr "Датский"
 
-#: ../src/tts.cpp:66
+#: ../src/tts.cpp:72
 msgid "German"
 msgstr "Немецкий"
 
-#: ../src/tts.cpp:67
+#: ../src/tts.cpp:73
 msgid "Greek"
 msgstr "Греческий"
 
-#: ../src/tts.cpp:68
+#: ../src/tts.cpp:74
 msgid "English (Scottish)"
 msgstr "Английский (шотландский)"
 
-#: ../src/tts.cpp:69
+#: ../src/tts.cpp:75
 msgid "English"
 msgstr "Английский"
 
-#: ../src/tts.cpp:70
+#: ../src/tts.cpp:76
 msgid "English (Lancashire)"
 msgstr "Английский (Ланкашир)"
 
-#: ../src/tts.cpp:71
+#: ../src/tts.cpp:77
 msgid "English (Received Pronunciation)"
 msgstr "Английский (общепринятое произношение)"
 
-#: ../src/tts.cpp:72
+#: ../src/tts.cpp:78
 msgid "English (West Midlands)"
 msgstr "Английский (Уэст-Мидлендс)"
 
-#: ../src/tts.cpp:73
+#: ../src/tts.cpp:79
 msgid "English (American)"
 msgstr "Английский (американский)"
 
-#: ../src/tts.cpp:74
+#: ../src/tts.cpp:80
 msgid "English (Westindies)"
 msgstr "Английский (западная Индия)"
 
-#: ../src/tts.cpp:75
+#: ../src/tts.cpp:81
 msgid "Esperanto"
 msgstr "Эсперанто"
 
-#: ../src/tts.cpp:76
+#: ../src/tts.cpp:82
 msgid "Spanish"
 msgstr "Испанский"
 
-#: ../src/tts.cpp:77
+#: ../src/tts.cpp:83
 msgid "Spanish (Latin American)"
 msgstr "Испанский (латиноамериканский)"
 
-#: ../src/tts.cpp:78
+#: ../src/tts.cpp:84
 msgid "Finnish"
 msgstr "Финский"
 
-#: ../src/tts.cpp:79
+#: ../src/tts.cpp:85
 msgid "French"
 msgstr "Французский"
 
-#: ../src/tts.cpp:80
+#: ../src/tts.cpp:86
 msgid "French (Belgium)"
 msgstr "Французский (бельгийский)"
 
-#: ../src/tts.cpp:81
+#: ../src/tts.cpp:87
 msgid "Greek (Ancient)"
 msgstr "Греческий (древнегреческий)"
 
-#: ../src/tts.cpp:82
+#: ../src/tts.cpp:88
 msgid "Hindi"
 msgstr "Хинди"
 
-#: ../src/tts.cpp:83
+#: ../src/tts.cpp:89
 msgid "Croatian"
 msgstr "Хорватский"
 
-#: ../src/tts.cpp:84
+#: ../src/tts.cpp:90
 msgid "Hungarian"
 msgstr "Венгерский"
 
-#: ../src/tts.cpp:85
+#: ../src/tts.cpp:91
 msgid "Armenian"
 msgstr "Армянский"
 
-#: ../src/tts.cpp:86
+#: ../src/tts.cpp:92
 msgid "Armenian (West)"
 msgstr "Армянский (западный)"
 
-#: ../src/tts.cpp:87
+#: ../src/tts.cpp:93
 msgid "Indonesian"
 msgstr "Индонезийский"
 
-#: ../src/tts.cpp:88
+#: ../src/tts.cpp:94
 msgid "Icelandic"
 msgstr "Исландский"
 
-#: ../src/tts.cpp:89
+#: ../src/tts.cpp:95
 msgid "Italian"
 msgstr "Итальянский"
 
-#: ../src/tts.cpp:90
+#: ../src/tts.cpp:96
 msgid "Lojban"
 msgstr "Ложбан"
 
-#: ../src/tts.cpp:91
+#: ../src/tts.cpp:97
 msgid "Kurdish"
 msgstr "Курдский"
 
-#: ../src/tts.cpp:92
+#: ../src/tts.cpp:98
 msgid "Latin"
 msgstr "Латинский"
 
-#: ../src/tts.cpp:93
+#: ../src/tts.cpp:99
 msgid "Latvian"
 msgstr "Латвийский"
 
-#: ../src/tts.cpp:94
+#: ../src/tts.cpp:100
 msgid "Macedonian"
 msgstr "Македонский"
 
-#: ../src/tts.cpp:95
+#: ../src/tts.cpp:101
 msgid "Dutch"
 msgstr "Голландский"
 
-#: ../src/tts.cpp:96
+#: ../src/tts.cpp:102
 msgid "Norwegian"
 msgstr "Норвежский"
 
-#: ../src/tts.cpp:97
+#: ../src/tts.cpp:103
 msgid "Papiamento"
 msgstr "Папиаменто"
 
-#: ../src/tts.cpp:98
+#: ../src/tts.cpp:104
 msgid "Polish"
 msgstr "Польский"
 
-#: ../src/tts.cpp:99
+#: ../src/tts.cpp:105
 msgid "Brazil"
 msgstr "Бразильский"
 
-#: ../src/tts.cpp:100
+#: ../src/tts.cpp:106
 msgid "Portugal"
 msgstr "Португальский"
 
-#: ../src/tts.cpp:101
+#: ../src/tts.cpp:107
 msgid "Romanian"
 msgstr "Румынский"
 
-#: ../src/tts.cpp:102
+#: ../src/tts.cpp:108
 msgid "Russian"
 msgstr "Русский"
 
-#: ../src/tts.cpp:103
+#: ../src/tts.cpp:109
 msgid "Slovak"
 msgstr "Словацкий"
 
-#: ../src/tts.cpp:104
+#: ../src/tts.cpp:110
 msgid "Albanian"
 msgstr "Албанский"
 
-#: ../src/tts.cpp:105
+#: ../src/tts.cpp:111
 msgid "Serbian"
 msgstr "Сербский"
 
-#: ../src/tts.cpp:106
+#: ../src/tts.cpp:112
 msgid "Swedish"
 msgstr "Шведский"
 
-#: ../src/tts.cpp:107
+#: ../src/tts.cpp:113
 msgid "Swahihi"
 msgstr "Суахили"
 
-#: ../src/tts.cpp:108
+#: ../src/tts.cpp:114
 msgid "Tamil"
 msgstr "Тамильский"
 
-#: ../src/tts.cpp:109
+#: ../src/tts.cpp:115
 msgid "Turkish"
 msgstr "Турецкий"
 
-#: ../src/tts.cpp:110
-msgid "Vietnam"
+#: ../src/tts.cpp:116
+#, fuzzy
+msgid "Vietnamese"
 msgstr "Вьетнамский"
 
-#: ../src/tts.cpp:111
+#: ../src/tts.cpp:117
 msgid "Chinese (Mandarin)"
 msgstr "Китайский (мандаринский)"
 
-#: ../src/tts.cpp:112
+#: ../src/tts.cpp:118
 msgid "Chinese (Cantonese)"
 msgstr "Китайский (кантонский)"
 
-#: ../src/tts.cpp:113
-msgid "Default"
-msgstr "По-умолчанию"
+#: ../src/tts.cpp:119
+msgid "Akam"
+msgstr ""
 
-#: ../src/tts.cpp:114
-msgid "WyabdcRealPeopleTTS"
+#: ../src/tts.cpp:120
+msgid "Amharic"
+msgstr ""
+
+#: ../src/tts.cpp:121
+#, fuzzy
+msgid "Azerbaijani"
+msgstr "Сербский"
+
+#: ../src/tts.cpp:122
+#, fuzzy
+msgid "Bulgarian"
+msgstr "Венгерский"
+
+#: ../src/tts.cpp:123
+#, fuzzy
+msgid "Dari"
+msgstr "Датский"
+
+#: ../src/tts.cpp:124
+msgid "Divehi"
+msgstr ""
+
+#: ../src/tts.cpp:125
+#, fuzzy
+msgid "Georgian"
+msgstr "Немецкий"
+
+#: ../src/tts.cpp:126
+#, fuzzy
+msgid "Haitian"
+msgstr "Латвийский"
+
+#: ../src/tts.cpp:127
+msgid "Kannada"
+msgstr ""
+
+#: ../src/tts.cpp:128
+msgid "Kinyarwanda"
+msgstr ""
+
+#: ../src/tts.cpp:129
+msgid "Mlayalam"
+msgstr ""
+
+#: ../src/tts.cpp:130
+msgid "Nahuatl (Clasical)"
+msgstr ""
+
+#: ../src/tts.cpp:131
+msgid "Nepali"
+msgstr ""
+
+#: ../src/tts.cpp:132
+msgid "Northern Sotho"
+msgstr ""
+
+#: ../src/tts.cpp:133
+msgid "Punjabi"
+msgstr ""
+
+#: ../src/tts.cpp:134
+msgid "Setswana"
+msgstr ""
+
+#: ../src/tts.cpp:135
+msgid "Sinhala"
 msgstr ""
 
-#: ../src/tts.cpp:281
+#: ../src/tts.cpp:136
+#, fuzzy
+msgid "Slovenian"
+msgstr "Словацкий"
+
+#: ../src/tts.cpp:137
+#, fuzzy
+msgid "Swahili"
+msgstr "Суахили"
+
+#: ../src/tts.cpp:138
+msgid "Telugu"
+msgstr ""
+
+#: ../src/tts.cpp:139
+msgid "Urdu"
+msgstr ""
+
+#: ../src/tts.cpp:140
+msgid "Wolof"
+msgstr ""
+
+#: ../src/tts.cpp:141
+msgid "Default"
+msgstr "По-умолчанию"
+
+#: ../src/tts.cpp:351
 msgid "Text-To-Speech"
 msgstr "Произношение"
 
-#: ../src/tts.cpp:288
+#: ../src/tts.cpp:358
 msgid "Enable"
 msgstr "Включить"
 
-#: ../src/tts.cpp:296
+#: ../src/tts.cpp:366
+msgid "eSpeak"
+msgstr ""
+
+#: ../src/tts.cpp:370
+msgid "Real People"
+msgstr ""
+
+#: ../src/tts.cpp:378
 msgid "Male"
 msgstr "Мужской"
 
-#: ../src/tts.cpp:300
+#: ../src/tts.cpp:382
 msgid "Female"
 msgstr "Жанский"
 
-#: ../src/tts.cpp:306
+#: ../src/tts.cpp:388
 msgid "Language"
 msgstr "Язык"
index 40949b5..4a74b88 100644 (file)
--- a/po/sk.po
+++ b/po/sk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: mstardict\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-11-14 10:21+0100\n"
+"POT-Creation-Date: 2011-11-14 12:56+0100\n"
 "PO-Revision-Date: 2010-05-27 14:35+0200\n"
 "Last-Translator: Roman Moravčík <roman.moravcik@gmail.com>\n"
 "Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
@@ -92,242 +92,342 @@ msgstr "Preklad"
 msgid "Say"
 msgstr "Vysloviť"
 
-#: ../src/tts.cpp:60
+#: ../src/tts.cpp:66
 msgid "Afrikaans"
 msgstr "Africký"
 
-#: ../src/tts.cpp:61
+#: ../src/tts.cpp:67
 msgid "Bosnian"
 msgstr "Bosniansky"
 
-#: ../src/tts.cpp:62
+#: ../src/tts.cpp:68
 msgid "Catalan"
 msgstr "Katalánsky"
 
-#: ../src/tts.cpp:63
+#: ../src/tts.cpp:69
 msgid "Czech"
 msgstr "Český"
 
-#: ../src/tts.cpp:64
+#: ../src/tts.cpp:70
 msgid "Welsh"
 msgstr "Waleský"
 
-#: ../src/tts.cpp:65
+#: ../src/tts.cpp:71
 msgid "Danish"
 msgstr "Dánsky"
 
-#: ../src/tts.cpp:66
+#: ../src/tts.cpp:72
 msgid "German"
 msgstr "Nemecký"
 
-#: ../src/tts.cpp:67
+#: ../src/tts.cpp:73
 msgid "Greek"
 msgstr "Grécky"
 
-#: ../src/tts.cpp:68
+#: ../src/tts.cpp:74
 msgid "English (Scottish)"
 msgstr "Anglický (Škótsky)"
 
-#: ../src/tts.cpp:69
+#: ../src/tts.cpp:75
 msgid "English"
 msgstr "Anglický"
 
-#: ../src/tts.cpp:70
+#: ../src/tts.cpp:76
 msgid "English (Lancashire)"
 msgstr "Anglický (Lancashire)"
 
-#: ../src/tts.cpp:71
+#: ../src/tts.cpp:77
 msgid "English (Received Pronunciation)"
 msgstr "Anglický (Received Pronunciation)"
 
-#: ../src/tts.cpp:72
+#: ../src/tts.cpp:78
 msgid "English (West Midlands)"
 msgstr "Anglický (West Midlands)"
 
-#: ../src/tts.cpp:73
+#: ../src/tts.cpp:79
 msgid "English (American)"
 msgstr "Anglický (Americký)"
 
-#: ../src/tts.cpp:74
+#: ../src/tts.cpp:80
 msgid "English (Westindies)"
 msgstr "Anglický (Westindies)"
 
-#: ../src/tts.cpp:75
+#: ../src/tts.cpp:81
 msgid "Esperanto"
 msgstr "Esperanto"
 
-#: ../src/tts.cpp:76
+#: ../src/tts.cpp:82
 msgid "Spanish"
 msgstr "Španielsky"
 
-#: ../src/tts.cpp:77
+#: ../src/tts.cpp:83
 msgid "Spanish (Latin American)"
 msgstr "Španielsky (Latinsko-americký)"
 
-#: ../src/tts.cpp:78
+#: ../src/tts.cpp:84
 msgid "Finnish"
 msgstr "Fínsky"
 
-#: ../src/tts.cpp:79
+#: ../src/tts.cpp:85
 msgid "French"
 msgstr "Francúzsky"
 
-#: ../src/tts.cpp:80
+#: ../src/tts.cpp:86
 msgid "French (Belgium)"
 msgstr "Francúzsky (Belgický)"
 
-#: ../src/tts.cpp:81
+#: ../src/tts.cpp:87
 msgid "Greek (Ancient)"
 msgstr "Grécky (Antický)"
 
-#: ../src/tts.cpp:82
+#: ../src/tts.cpp:88
 msgid "Hindi"
 msgstr "Hindský"
 
-#: ../src/tts.cpp:83
+#: ../src/tts.cpp:89
 msgid "Croatian"
 msgstr "Chorvátsky"
 
-#: ../src/tts.cpp:84
+#: ../src/tts.cpp:90
 msgid "Hungarian"
 msgstr "Maďarský"
 
-#: ../src/tts.cpp:85
+#: ../src/tts.cpp:91
 msgid "Armenian"
 msgstr "Arménsky"
 
-#: ../src/tts.cpp:86
+#: ../src/tts.cpp:92
 msgid "Armenian (West)"
 msgstr "Arménsky (Západný)"
 
-#: ../src/tts.cpp:87
+#: ../src/tts.cpp:93
 msgid "Indonesian"
 msgstr "Indonézsky"
 
-#: ../src/tts.cpp:88
+#: ../src/tts.cpp:94
 msgid "Icelandic"
 msgstr "Islandský"
 
-#: ../src/tts.cpp:89
+#: ../src/tts.cpp:95
 msgid "Italian"
 msgstr "Taliansky"
 
-#: ../src/tts.cpp:90
+#: ../src/tts.cpp:96
 msgid "Lojban"
 msgstr "Lojban"
 
-#: ../src/tts.cpp:91
+#: ../src/tts.cpp:97
 msgid "Kurdish"
 msgstr "Kurdský"
 
-#: ../src/tts.cpp:92
+#: ../src/tts.cpp:98
 msgid "Latin"
 msgstr "Latinský"
 
-#: ../src/tts.cpp:93
+#: ../src/tts.cpp:99
 msgid "Latvian"
 msgstr "Lotyšský"
 
-#: ../src/tts.cpp:94
+#: ../src/tts.cpp:100
 msgid "Macedonian"
 msgstr "Macedónsky"
 
-#: ../src/tts.cpp:95
+#: ../src/tts.cpp:101
 msgid "Dutch"
 msgstr "Holandský"
 
-#: ../src/tts.cpp:96
+#: ../src/tts.cpp:102
 msgid "Norwegian"
 msgstr "Nórsky"
 
-#: ../src/tts.cpp:97
+#: ../src/tts.cpp:103
 msgid "Papiamento"
 msgstr "Papiamento"
 
-#: ../src/tts.cpp:98
+#: ../src/tts.cpp:104
 msgid "Polish"
 msgstr "Poľský"
 
-#: ../src/tts.cpp:99
+#: ../src/tts.cpp:105
 msgid "Brazil"
 msgstr "Brazílsky"
 
-#: ../src/tts.cpp:100
+#: ../src/tts.cpp:106
 msgid "Portugal"
 msgstr "Portugalsky"
 
-#: ../src/tts.cpp:101
+#: ../src/tts.cpp:107
 msgid "Romanian"
 msgstr "Rumunsky"
 
-#: ../src/tts.cpp:102
+#: ../src/tts.cpp:108
 msgid "Russian"
 msgstr "Ruský"
 
-#: ../src/tts.cpp:103
+#: ../src/tts.cpp:109
 msgid "Slovak"
 msgstr "Slovenský"
 
-#: ../src/tts.cpp:104
+#: ../src/tts.cpp:110
 msgid "Albanian"
 msgstr "Albánsky"
 
-#: ../src/tts.cpp:105
+#: ../src/tts.cpp:111
 msgid "Serbian"
 msgstr "Srbský"
 
-#: ../src/tts.cpp:106
+#: ../src/tts.cpp:112
 msgid "Swedish"
 msgstr "Švédsky"
 
-#: ../src/tts.cpp:107
+#: ../src/tts.cpp:113
 msgid "Swahihi"
 msgstr "Swahihi"
 
-#: ../src/tts.cpp:108
+#: ../src/tts.cpp:114
 msgid "Tamil"
 msgstr "Tamil"
 
-#: ../src/tts.cpp:109
+#: ../src/tts.cpp:115
 msgid "Turkish"
 msgstr "Turecký"
 
-#: ../src/tts.cpp:110
-msgid "Vietnam"
+#: ../src/tts.cpp:116
+#, fuzzy
+msgid "Vietnamese"
 msgstr "Vietnamský"
 
-#: ../src/tts.cpp:111
+#: ../src/tts.cpp:117
 msgid "Chinese (Mandarin)"
 msgstr "Čínsky (Mandarínsky)"
 
-#: ../src/tts.cpp:112
+#: ../src/tts.cpp:118
 msgid "Chinese (Cantonese)"
 msgstr "Čínsky (Kantónsky)"
 
-#: ../src/tts.cpp:113
-msgid "Default"
-msgstr "Predvolený"
+#: ../src/tts.cpp:119
+msgid "Akam"
+msgstr ""
 
-#: ../src/tts.cpp:114
-msgid "WyabdcRealPeopleTTS"
+#: ../src/tts.cpp:120
+msgid "Amharic"
+msgstr ""
+
+#: ../src/tts.cpp:121
+#, fuzzy
+msgid "Azerbaijani"
+msgstr "Srbský"
+
+#: ../src/tts.cpp:122
+#, fuzzy
+msgid "Bulgarian"
+msgstr "Maďarský"
+
+#: ../src/tts.cpp:123
+#, fuzzy
+msgid "Dari"
+msgstr "Dánsky"
+
+#: ../src/tts.cpp:124
+msgid "Divehi"
+msgstr ""
+
+#: ../src/tts.cpp:125
+#, fuzzy
+msgid "Georgian"
+msgstr "Nemecký"
+
+#: ../src/tts.cpp:126
+#, fuzzy
+msgid "Haitian"
+msgstr "Lotyšský"
+
+#: ../src/tts.cpp:127
+msgid "Kannada"
+msgstr ""
+
+#: ../src/tts.cpp:128
+msgid "Kinyarwanda"
+msgstr ""
+
+#: ../src/tts.cpp:129
+msgid "Mlayalam"
+msgstr ""
+
+#: ../src/tts.cpp:130
+msgid "Nahuatl (Clasical)"
+msgstr ""
+
+#: ../src/tts.cpp:131
+msgid "Nepali"
+msgstr ""
+
+#: ../src/tts.cpp:132
+msgid "Northern Sotho"
+msgstr ""
+
+#: ../src/tts.cpp:133
+msgid "Punjabi"
+msgstr ""
+
+#: ../src/tts.cpp:134
+msgid "Setswana"
+msgstr ""
+
+#: ../src/tts.cpp:135
+msgid "Sinhala"
 msgstr ""
 
-#: ../src/tts.cpp:281
+#: ../src/tts.cpp:136
+#, fuzzy
+msgid "Slovenian"
+msgstr "Slovenský"
+
+#: ../src/tts.cpp:137
+#, fuzzy
+msgid "Swahili"
+msgstr "Swahihi"
+
+#: ../src/tts.cpp:138
+msgid "Telugu"
+msgstr ""
+
+#: ../src/tts.cpp:139
+msgid "Urdu"
+msgstr ""
+
+#: ../src/tts.cpp:140
+msgid "Wolof"
+msgstr ""
+
+#: ../src/tts.cpp:141
+msgid "Default"
+msgstr "Predvolený"
+
+#: ../src/tts.cpp:351
 msgid "Text-To-Speech"
 msgstr "Výslovnosť"
 
-#: ../src/tts.cpp:288
+#: ../src/tts.cpp:358
 msgid "Enable"
 msgstr "Povoliť"
 
-#: ../src/tts.cpp:296
+#: ../src/tts.cpp:366
+msgid "eSpeak"
+msgstr ""
+
+#: ../src/tts.cpp:370
+msgid "Real People"
+msgstr ""
+
+#: ../src/tts.cpp:378
 msgid "Male"
 msgstr "Muž"
 
-#: ../src/tts.cpp:300
+#: ../src/tts.cpp:382
 msgid "Female"
 msgstr "Žena"
 
-#: ../src/tts.cpp:306
+#: ../src/tts.cpp:388
 msgid "Language"
 msgstr "Jazyk"
index f97aad7..44c4e0d 100644 (file)
@@ -5,7 +5,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: mstardict\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-11-14 10:21+0100\n"
+"POT-Creation-Date: 2011-11-14 12:56+0100\n"
 "PO-Revision-Date: 2010-10-19 19:45+0800\n"
 "Last-Translator: GreyAir <greyair@gmail.com>\n"
 "Language-Team: \n"
@@ -90,242 +90,342 @@ msgstr "翻译"
 msgid "Say"
 msgstr "语音"
 
-#: ../src/tts.cpp:60
+#: ../src/tts.cpp:66
 msgid "Afrikaans"
 msgstr "南非语"
 
-#: ../src/tts.cpp:61
+#: ../src/tts.cpp:67
 msgid "Bosnian"
 msgstr "波斯尼亚语"
 
-#: ../src/tts.cpp:62
+#: ../src/tts.cpp:68
 msgid "Catalan"
 msgstr "加泰罗尼亚语"
 
-#: ../src/tts.cpp:63
+#: ../src/tts.cpp:69
 msgid "Czech"
 msgstr "捷克语"
 
-#: ../src/tts.cpp:64
+#: ../src/tts.cpp:70
 msgid "Welsh"
 msgstr "威尔士语"
 
-#: ../src/tts.cpp:65
+#: ../src/tts.cpp:71
 msgid "Danish"
 msgstr "丹麦语"
 
-#: ../src/tts.cpp:66
+#: ../src/tts.cpp:72
 msgid "German"
 msgstr "德语"
 
-#: ../src/tts.cpp:67
+#: ../src/tts.cpp:73
 msgid "Greek"
 msgstr "希腊语"
 
-#: ../src/tts.cpp:68
+#: ../src/tts.cpp:74
 msgid "English (Scottish)"
 msgstr "英语(苏格兰)"
 
-#: ../src/tts.cpp:69
+#: ../src/tts.cpp:75
 msgid "English"
 msgstr "英语"
 
-#: ../src/tts.cpp:70
+#: ../src/tts.cpp:76
 msgid "English (Lancashire)"
 msgstr "英语 ( 兰开夏郡 )"
 
-#: ../src/tts.cpp:71
+#: ../src/tts.cpp:77
 msgid "English (Received Pronunciation)"
 msgstr "英语(收稿发音)"
 
-#: ../src/tts.cpp:72
+#: ../src/tts.cpp:78
 msgid "English (West Midlands)"
 msgstr "英语(西米德兰兹)"
 
-#: ../src/tts.cpp:73
+#: ../src/tts.cpp:79
 msgid "English (American)"
 msgstr "英语(美国)"
 
-#: ../src/tts.cpp:74
+#: ../src/tts.cpp:80
 msgid "English (Westindies)"
 msgstr "英语(西印度群岛)"
 
-#: ../src/tts.cpp:75
+#: ../src/tts.cpp:81
 msgid "Esperanto"
 msgstr "世界语"
 
-#: ../src/tts.cpp:76
+#: ../src/tts.cpp:82
 msgid "Spanish"
 msgstr "西班牙语"
 
-#: ../src/tts.cpp:77
+#: ../src/tts.cpp:83
 msgid "Spanish (Latin American)"
 msgstr "西班牙语(拉丁美洲)"
 
-#: ../src/tts.cpp:78
+#: ../src/tts.cpp:84
 msgid "Finnish"
 msgstr "芬兰语"
 
-#: ../src/tts.cpp:79
+#: ../src/tts.cpp:85
 msgid "French"
 msgstr "法语"
 
-#: ../src/tts.cpp:80
+#: ../src/tts.cpp:86
 msgid "French (Belgium)"
 msgstr "法语(比利时)"
 
-#: ../src/tts.cpp:81
+#: ../src/tts.cpp:87
 msgid "Greek (Ancient)"
 msgstr "希腊语(古)"
 
-#: ../src/tts.cpp:82
+#: ../src/tts.cpp:88
 msgid "Hindi"
 msgstr "印地语"
 
-#: ../src/tts.cpp:83
+#: ../src/tts.cpp:89
 msgid "Croatian"
 msgstr "克罗地亚语"
 
-#: ../src/tts.cpp:84
+#: ../src/tts.cpp:90
 msgid "Hungarian"
 msgstr "匈牙利语"
 
-#: ../src/tts.cpp:85
+#: ../src/tts.cpp:91
 msgid "Armenian"
 msgstr "亚美尼亚语"
 
-#: ../src/tts.cpp:86
+#: ../src/tts.cpp:92
 msgid "Armenian (West)"
 msgstr "亚美尼亚语(西部)"
 
-#: ../src/tts.cpp:87
+#: ../src/tts.cpp:93
 msgid "Indonesian"
 msgstr "印度尼西亚语"
 
-#: ../src/tts.cpp:88
+#: ../src/tts.cpp:94
 msgid "Icelandic"
 msgstr "冰岛语"
 
-#: ../src/tts.cpp:89
+#: ../src/tts.cpp:95
 msgid "Italian"
 msgstr "意大利语"
 
-#: ../src/tts.cpp:90
+#: ../src/tts.cpp:96
 msgid "Lojban"
 msgstr "逻辑语"
 
-#: ../src/tts.cpp:91
+#: ../src/tts.cpp:97
 msgid "Kurdish"
 msgstr "库尔德语"
 
-#: ../src/tts.cpp:92
+#: ../src/tts.cpp:98
 msgid "Latin"
 msgstr "拉丁语"
 
-#: ../src/tts.cpp:93
+#: ../src/tts.cpp:99
 msgid "Latvian"
 msgstr "拉脱维亚语"
 
-#: ../src/tts.cpp:94
+#: ../src/tts.cpp:100
 msgid "Macedonian"
 msgstr "马其顿语"
 
-#: ../src/tts.cpp:95
+#: ../src/tts.cpp:101
 msgid "Dutch"
 msgstr "荷兰语"
 
-#: ../src/tts.cpp:96
+#: ../src/tts.cpp:102
 msgid "Norwegian"
 msgstr "挪威语"
 
-#: ../src/tts.cpp:97
+#: ../src/tts.cpp:103
 msgid "Papiamento"
 msgstr "帕皮阿门托语"
 
-#: ../src/tts.cpp:98
+#: ../src/tts.cpp:104
 msgid "Polish"
 msgstr "波兰语"
 
-#: ../src/tts.cpp:99
+#: ../src/tts.cpp:105
 msgid "Brazil"
 msgstr "巴西语"
 
-#: ../src/tts.cpp:100
+#: ../src/tts.cpp:106
 msgid "Portugal"
 msgstr "葡萄牙语"
 
-#: ../src/tts.cpp:101
+#: ../src/tts.cpp:107
 msgid "Romanian"
 msgstr "罗马尼亚语"
 
-#: ../src/tts.cpp:102
+#: ../src/tts.cpp:108
 msgid "Russian"
 msgstr "俄语"
 
-#: ../src/tts.cpp:103
+#: ../src/tts.cpp:109
 msgid "Slovak"
 msgstr "斯洛伐克语"
 
-#: ../src/tts.cpp:104
+#: ../src/tts.cpp:110
 msgid "Albanian"
 msgstr "阿尔巴尼亚语"
 
-#: ../src/tts.cpp:105
+#: ../src/tts.cpp:111
 msgid "Serbian"
 msgstr "塞尔维亚语"
 
-#: ../src/tts.cpp:106
+#: ../src/tts.cpp:112
 msgid "Swedish"
 msgstr "瑞典语"
 
-#: ../src/tts.cpp:107
+#: ../src/tts.cpp:113
 msgid "Swahihi"
 msgstr "斯瓦希里语"
 
-#: ../src/tts.cpp:108
+#: ../src/tts.cpp:114
 msgid "Tamil"
 msgstr "泰米尔语"
 
-#: ../src/tts.cpp:109
+#: ../src/tts.cpp:115
 msgid "Turkish"
 msgstr "土耳其语"
 
-#: ../src/tts.cpp:110
-msgid "Vietnam"
+#: ../src/tts.cpp:116
+#, fuzzy
+msgid "Vietnamese"
 msgstr "越南语"
 
-#: ../src/tts.cpp:111
+#: ../src/tts.cpp:117
 msgid "Chinese (Mandarin)"
 msgstr "中文(普通话)"
 
-#: ../src/tts.cpp:112
+#: ../src/tts.cpp:118
 msgid "Chinese (Cantonese)"
 msgstr "中文(广东话)"
 
-#: ../src/tts.cpp:113
-msgid "Default"
-msgstr "默认"
+#: ../src/tts.cpp:119
+msgid "Akam"
+msgstr ""
 
-#: ../src/tts.cpp:114
-msgid "WyabdcRealPeopleTTS"
+#: ../src/tts.cpp:120
+msgid "Amharic"
+msgstr ""
+
+#: ../src/tts.cpp:121
+#, fuzzy
+msgid "Azerbaijani"
+msgstr "塞尔维亚语"
+
+#: ../src/tts.cpp:122
+#, fuzzy
+msgid "Bulgarian"
+msgstr "匈牙利语"
+
+#: ../src/tts.cpp:123
+#, fuzzy
+msgid "Dari"
+msgstr "丹麦语"
+
+#: ../src/tts.cpp:124
+msgid "Divehi"
+msgstr ""
+
+#: ../src/tts.cpp:125
+#, fuzzy
+msgid "Georgian"
+msgstr "德语"
+
+#: ../src/tts.cpp:126
+#, fuzzy
+msgid "Haitian"
+msgstr "拉脱维亚语"
+
+#: ../src/tts.cpp:127
+msgid "Kannada"
+msgstr ""
+
+#: ../src/tts.cpp:128
+msgid "Kinyarwanda"
+msgstr ""
+
+#: ../src/tts.cpp:129
+msgid "Mlayalam"
+msgstr ""
+
+#: ../src/tts.cpp:130
+msgid "Nahuatl (Clasical)"
 msgstr ""
 
-#: ../src/tts.cpp:281
+#: ../src/tts.cpp:131
+msgid "Nepali"
+msgstr ""
+
+#: ../src/tts.cpp:132
+msgid "Northern Sotho"
+msgstr ""
+
+#: ../src/tts.cpp:133
+msgid "Punjabi"
+msgstr ""
+
+#: ../src/tts.cpp:134
+msgid "Setswana"
+msgstr ""
+
+#: ../src/tts.cpp:135
+msgid "Sinhala"
+msgstr ""
+
+#: ../src/tts.cpp:136
+#, fuzzy
+msgid "Slovenian"
+msgstr "斯洛伐克语"
+
+#: ../src/tts.cpp:137
+#, fuzzy
+msgid "Swahili"
+msgstr "斯瓦希里语"
+
+#: ../src/tts.cpp:138
+msgid "Telugu"
+msgstr ""
+
+#: ../src/tts.cpp:139
+msgid "Urdu"
+msgstr ""
+
+#: ../src/tts.cpp:140
+msgid "Wolof"
+msgstr ""
+
+#: ../src/tts.cpp:141
+msgid "Default"
+msgstr "默认"
+
+#: ../src/tts.cpp:351
 msgid "Text-To-Speech"
 msgstr "语音"
 
-#: ../src/tts.cpp:288
+#: ../src/tts.cpp:358
 msgid "Enable"
 msgstr "启用"
 
-#: ../src/tts.cpp:296
+#: ../src/tts.cpp:366
+msgid "eSpeak"
+msgstr ""
+
+#: ../src/tts.cpp:370
+msgid "Real People"
+msgstr ""
+
+#: ../src/tts.cpp:378
 msgid "Male"
 msgstr "男性"
 
-#: ../src/tts.cpp:300
+#: ../src/tts.cpp:382
 msgid "Female"
 msgstr "女性"
 
-#: ../src/tts.cpp:306
+#: ../src/tts.cpp:388
 msgid "Language"
 msgstr "语言"
index 85b7147..3648448 100644 (file)
@@ -51,6 +51,12 @@ enum {
 };
 
 enum {
+    ENGINE_NONE = 0,
+    ENGINE_ESPEAK,
+    ENGINE_REALPEOPLE
+};
+
+enum {
     GENDER_NONE = 0,
     GENDER_MALE,
     GENDER_FEMALE
@@ -79,7 +85,7 @@ static TtsVoice voices[] = {
     {"french",                 N_("French")},
     {"french (Belgium)",       N_("French (Belgium)")},
     {"greek-ancient",          N_("Greek (Ancient)")},
-    {"hindi-test",             N_("Hindi")},
+    {"hindi",                  N_("Hindi")},
     {"croatian",               N_("Croatian")},
     {"hungarian",              N_("Hungarian")},
     {"armenian",               N_("Armenian")},
@@ -107,11 +113,32 @@ static TtsVoice voices[] = {
     {"swahihi-test",           N_("Swahihi")},
     {"tamil",                  N_("Tamil")},
     {"turkish",                        N_("Turkish")},
-    {"vietnam-test",           N_("Vietnam")},
+    {"vietnam",                        N_("Vietnamese")},
     {"Mandarin",               N_("Chinese (Mandarin)")},
-    {"cantonese-test",                 N_("Chinese (Cantonese)")},
+    {"cantonese",              N_("Chinese (Cantonese)")},
+    {"akan-test",              N_("Akam")},
+    {"amharic-test",           N_("Amharic")},
+    {"azerbaijani-test",       N_("Azerbaijani")},
+    {"bulgarian-test",         N_("Bulgarian")},
+    {"dari-test",              N_("Dari")},
+    {"divehi-test",            N_("Divehi")},
+    {"georgian-test",          N_("Georgian")},
+    {"haitian",                        N_("Haitian")},
+    {"kannada",                        N_("Kannada")},
+    {"kinyarwanda-test",       N_("Kinyarwanda")},
+    {"malayalam",              N_("Mlayalam")},
+    {"nahuatl - clasical",     N_("Nahuatl (Clasical)")},
+    {"nepali-test",            N_("Nepali")},
+    {"northern-sotho",         N_("Northern Sotho")},
+    {"punjabi-test",           N_("Punjabi")},
+    {"setswana-test",          N_("Setswana")},
+    {"sinhala",                        N_("Sinhala")},
+    {"slovenian-test",         N_("Slovenian")},
+    {"swahili-test",           N_("Swahili")},
+    {"telugu",                 N_("Telugu")},
+    {"urdu-test",              N_("Urdu")},
+    {"wolof-test",             N_("Wolof")},
     {"default",                N_("Default")},
-    {"WyabdcRealPeopleTTS",    N_("WyabdcRealPeopleTTS")},
     {NULL,                     NULL}
 };
 
@@ -120,6 +147,7 @@ Tts::Tts(MStarDict *mStarDict)
 {
     int rate = 0;
     bool tts_enabled = false;
+    int engine = ENGINE_NONE;
     gchar *language = NULL;
     int gender = GENDER_NONE;
 
@@ -135,6 +163,11 @@ Tts::Tts(MStarDict *mStarDict)
     }
     Enable(tts_enabled);
 
+    /* read configured engine */
+    if (!oStarDict->oConf->GetInt("/apps/maemo/mstardict/tts_engine", &engine)) {
+       engine = ENGINE_ESPEAK;
+    }
+
     /* read configured language */
     if (!oStarDict->oConf->GetString("/apps/maemo/mstardict/tts_language", &language)) {
        language = g_strdup("english");
@@ -144,7 +177,7 @@ Tts::Tts(MStarDict *mStarDict)
     if (!oStarDict->oConf->GetInt("/apps/maemo/mstardict/tts_gender", &gender)) {
        gender = GENDER_MALE;
     }
-    SetVoice(language, gender);
+    SetVoice(engine, language, gender);
 
     if (language) {
        g_free(language);
@@ -170,12 +203,9 @@ Tts::IsEnabled()
 }
 
 void
-Tts::SetVoice(const gchar *language, int gender)
+Tts::SetVoice(int engine, const gchar *language, int gender)
 {
-    if (g_strcmp0(language, "WyabdcRealPeopleTTS") == 0)
-        RealPeople = true;
-    else
-        RealPeople = false;
+    Engine = engine;
 
     espeak_VOICE voice;
 
@@ -189,19 +219,25 @@ Tts::SetVoice(const gchar *language, int gender)
 void
 Tts::SayText(const gchar *sText)
 {
-    if (!RealPeople) {
+    if (Engine == ENGINE_ESPEAK) {
         espeak_Synth(sText, strlen(sText) + 1, 0, POS_CHARACTER, 0, espeakCHARS_UTF8, NULL, NULL);
         return;
+    } else if (Engine == ENGINE_REALPEOPLE) {
+       gchar *lower = g_utf8_strdown(sText, -1);
+       if (!lower)
+           return;
+       
+       gchar *cmd = g_strdup_printf("paplay /home/user/MyDocs/mstardict/WyabdcRealPeopleTTS/%c/%s.wav", lower[0], lower);
+       if (!cmd)
+           return;
+       
+       system(cmd);
+       
+       g_free(lower);
+       g_free(cmd);
+    } else {
+       /* unknown engine */
     }
-
-    gchar *lower = g_utf8_strdown(sText, -1);
-    gchar *cmd = g_strdup_printf("paplay /home/user/MyDocs/mstardict/WyabdcRealPeopleTTS/%c/%s.wav", lower[0], lower);
-    g_free(lower);
-
-    system(cmd);
-
-    g_free(cmd);
-
 }
 
 GtkListStore *
@@ -248,14 +284,55 @@ Tts::onTtsEnableButtonClicked(GtkButton *button,
                              Tts *oTts)
 {
     if (hildon_check_button_get_active(HILDON_CHECK_BUTTON(button))) {
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->engine_espeak_button), TRUE);
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->engine_realpeople_button), TRUE);
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->gender_male_button), TRUE);
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->gender_female_button), TRUE);
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->language_button), TRUE);
+    } else {
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->engine_espeak_button), FALSE);
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->engine_realpeople_button), FALSE);
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->gender_male_button), FALSE);
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->gender_female_button), FALSE);
+       gtk_widget_set_sensitive(GTK_WIDGET(oTts->language_button), FALSE);
+    }
+    return true;
+}
+
+gboolean
+Tts::onTtsEngineButtonClicked(GtkWidget *button,
+                             Tts *oTts)
+{
+    GtkWidget *button2;
+
+    if (button != oTts->engine_realpeople_button)
+       button2 = oTts->engine_realpeople_button;
+    else
+       button2 = oTts->engine_espeak_button;
+
+    if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button)))
+       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button2), FALSE);
+    else
+       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button2), TRUE);
+    
+    if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(oTts->engine_espeak_button))) {
+       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(oTts->engine_realpeople_button), FALSE);
        gtk_widget_set_sensitive(GTK_WIDGET(oTts->gender_male_button), TRUE);
        gtk_widget_set_sensitive(GTK_WIDGET(oTts->gender_female_button), TRUE);
        gtk_widget_set_sensitive(GTK_WIDGET(oTts->language_button), TRUE);
     } else {
+       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(oTts->engine_realpeople_button), TRUE);
        gtk_widget_set_sensitive(GTK_WIDGET(oTts->gender_male_button), FALSE);
        gtk_widget_set_sensitive(GTK_WIDGET(oTts->gender_female_button), FALSE);
        gtk_widget_set_sensitive(GTK_WIDGET(oTts->language_button), FALSE);
     }
+
+    if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(oTts->engine_realpeople_button))) {
+       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(oTts->engine_espeak_button), FALSE);
+    } else {
+       gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(oTts->engine_espeak_button), TRUE);
+    }
+    
     return true;
 }
 
@@ -273,7 +350,7 @@ Tts::onTtsGenderButtonClicked(GtkToggleButton *button1,
 GtkWidget *
 Tts::CreateTtsConfWidget()
 {
-    GtkWidget *frame, *vbox, *hbox;
+    GtkWidget *frame, *vbox, *engine_hbox, *gender_hbox;
     GtkWidget *selector;
     HildonTouchSelectorColumn *column;
     GtkListStore *voices_list;
@@ -288,17 +365,29 @@ Tts::CreateTtsConfWidget()
     gtk_button_set_label(GTK_BUTTON(enable_button), _("Enable"));
     gtk_box_pack_start(GTK_BOX(vbox), enable_button, TRUE, TRUE, 0);
 
+    /* engine selection */
+    engine_hbox = gtk_hbox_new(TRUE, 0);
+    gtk_box_pack_start(GTK_BOX(vbox), engine_hbox, TRUE, TRUE, 0);
+
+    engine_espeak_button = hildon_gtk_toggle_button_new(HILDON_SIZE_FINGER_HEIGHT);
+    gtk_button_set_label(GTK_BUTTON(engine_espeak_button), _("eSpeak"));
+    gtk_box_pack_start(GTK_BOX(engine_hbox), engine_espeak_button, TRUE, TRUE, 0);
+
+    engine_realpeople_button = hildon_gtk_toggle_button_new(HILDON_SIZE_FINGER_HEIGHT);
+    gtk_button_set_label(GTK_BUTTON(engine_realpeople_button), _("Real People"));
+    gtk_box_pack_start(GTK_BOX(engine_hbox), engine_realpeople_button, TRUE, TRUE, 0);
+
     /* gender selection */
-    hbox = gtk_hbox_new(TRUE, 0);
-    gtk_box_pack_start(GTK_BOX(vbox), hbox, TRUE, TRUE, 0);
+    gender_hbox = gtk_hbox_new(TRUE, 0);
+    gtk_box_pack_start(GTK_BOX(vbox), gender_hbox, TRUE, TRUE, 0);
 
     gender_male_button = hildon_gtk_toggle_button_new(HILDON_SIZE_FINGER_HEIGHT);
     gtk_button_set_label(GTK_BUTTON(gender_male_button), _("Male"));
-    gtk_box_pack_start(GTK_BOX(hbox), gender_male_button, TRUE, TRUE, 0);
+    gtk_box_pack_start(GTK_BOX(gender_hbox), gender_male_button, TRUE, TRUE, 0);
 
     gender_female_button = hildon_gtk_toggle_button_new(HILDON_SIZE_FINGER_HEIGHT);
     gtk_button_set_label(GTK_BUTTON(gender_female_button), _("Female"));
-    gtk_box_pack_start(GTK_BOX(hbox), gender_female_button, TRUE, TRUE, 0);
+    gtk_box_pack_start(GTK_BOX(gender_hbox), gender_female_button, TRUE, TRUE, 0);
 
     /* language picker button */
     language_button = hildon_picker_button_new(HILDON_SIZE_FINGER_HEIGHT,
@@ -325,6 +414,8 @@ Tts::CreateTtsConfWidget()
                                      HILDON_TOUCH_SELECTOR(selector));
 
     g_signal_connect(enable_button, "clicked", G_CALLBACK(onTtsEnableButtonClicked), this);
+    g_signal_connect(engine_espeak_button, "clicked", G_CALLBACK(onTtsEngineButtonClicked), this);
+    g_signal_connect(engine_realpeople_button, "clicked", G_CALLBACK(onTtsEngineButtonClicked), this);
     g_signal_connect(gender_male_button, "clicked", G_CALLBACK(onTtsGenderButtonClicked), gender_female_button);
     g_signal_connect(gender_female_button, "clicked", G_CALLBACK(onTtsGenderButtonClicked), gender_male_button);
 
@@ -336,6 +427,7 @@ Tts::TtsConfWidgetLoadConf()
 {
     HildonTouchSelector *selector;
     GtkTreeIter iter;
+    int engine = ENGINE_NONE;
     int gender = GENDER_NONE;
     gchar *language = NULL;
     GtkTreeModel *model;
@@ -349,6 +441,15 @@ Tts::TtsConfWidgetLoadConf()
        gtk_widget_set_sensitive(language_button, FALSE);
     }
 
+    if (oStarDict->oConf->GetInt("/apps/maemo/mstardict/tts_engine", &engine)) {
+       if (engine == ENGINE_ESPEAK)
+           gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(engine_espeak_button), TRUE);
+       else
+           gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(engine_realpeople_button), TRUE);
+    } else {
+           gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(engine_espeak_button), TRUE);
+    }
+
     if (oStarDict->oConf->GetInt("/apps/maemo/mstardict/tts_gender", &gender)) {
        if (gender == GENDER_MALE)
            gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(gender_male_button), TRUE);
@@ -383,19 +484,29 @@ Tts::TtsConfWidgetSaveConf()
     bool enabled = false;
     HildonTouchSelector *selector;
     GtkTreeIter iter;
+    int engine = ENGINE_NONE;
     int gender = GENDER_NONE;
-    const gchar *language;
+    const gchar *language = NULL;
 
     enabled = hildon_check_button_get_active(HILDON_CHECK_BUTTON(enable_button));
     if (oStarDict->oConf->SetBool("/apps/maemo/mstardict/tts_enabled", enabled))
        Enable(enabled);
 
+    if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(engine_espeak_button)))
+       engine = ENGINE_ESPEAK;
+    else
+       engine = ENGINE_REALPEOPLE;
+    oStarDict->oConf->SetInt("/apps/maemo/mstardict/tts_engine", engine);
+
     if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gender_male_button)))
        gender = GENDER_MALE;
     else
        gender = GENDER_FEMALE;
     oStarDict->oConf->SetInt("/apps/maemo/mstardict/tts_gender", gender);
 
+    if (engine)
+       Engine = engine;
+
     if (hildon_picker_button_get_active(HILDON_PICKER_BUTTON(language_button)) > -1) {
        selector = hildon_picker_button_get_selector(HILDON_PICKER_BUTTON(language_button));
        if (hildon_touch_selector_get_selected(selector, DISPNAME_COLUMN, &iter)) {
@@ -403,7 +514,7 @@ Tts::TtsConfWidgetSaveConf()
 
            /* fixme convert back disp_name */
            if (oStarDict->oConf->SetString("/apps/maemo/mstardict/tts_language", language))
-               SetVoice(language, gender);
+               SetVoice(engine, language, gender);
        }
     }
 }
index 3878743..ff8d445 100644 (file)
@@ -34,15 +34,19 @@ class Tts {
   private:
     MStarDict *oStarDict;
     bool Enabled;
-    bool RealPeople;
+    int Engine;
 
     GtkWidget *enable_button;
+    GtkWidget *engine_espeak_button;
+    GtkWidget *engine_realpeople_button;
     GtkWidget *gender_male_button;
     GtkWidget *gender_female_button;
     GtkWidget *language_button;
 
     static gboolean onTtsEnableButtonClicked(GtkButton *button,
                                             Tts *oTts);
+    static gboolean onTtsEngineButtonClicked(GtkWidget *button,
+                                            Tts *oTts);
     static gboolean onTtsGenderButtonClicked(GtkToggleButton *button1,
                                             GtkToggleButton *button2);
 
@@ -53,7 +57,7 @@ class Tts {
     void Enable(bool bEnable);
     bool IsEnabled();
 
-    void SetVoice(const gchar *language, int gender);
+    void SetVoice(int engine, const gchar *language, int gender);
     GtkListStore *GetVoicesList();
 
     void SayText(const gchar *sText);