mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Migrate the speech rate parameter to use the new SeekBar/Parameter UI.
This commit is contained in:
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Manlik"</item>
|
||||
<item msgid="5166591510034679431">"Vroulik"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"ወንድ"</item>
|
||||
<item msgid="5166591510034679431">"ሴት"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"ذكر"</item>
|
||||
<item msgid="5166591510034679431">"أنثى"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Мъжки"</item>
|
||||
<item msgid="5166591510034679431">"Женски"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"х 1"</item>
|
||||
<item msgid="7553786328764566293">"x 2"</item>
|
||||
<item msgid="7682118582350353919">"x 3"</item>
|
||||
<item msgid="5021322359195099970">"х 4"</item>
|
||||
<item msgid="6621008032814909392">"x 5"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Home"</item>
|
||||
<item msgid="5166591510034679431">"Dona"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Mužský"</item>
|
||||
<item msgid="5166591510034679431">"Ženský"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Mand"</item>
|
||||
<item msgid="5166591510034679431">"Kvinde"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Männlich"</item>
|
||||
<item msgid="5166591510034679431">"Weiblich"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1-fach"</item>
|
||||
<item msgid="7553786328764566293">"2-fach"</item>
|
||||
<item msgid="7682118582350353919">"3-fach"</item>
|
||||
<item msgid="5021322359195099970">"4-fach"</item>
|
||||
<item msgid="6621008032814909392">"5-fach"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Άντρας"</item>
|
||||
<item msgid="5166591510034679431">"Γυναίκα"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<string name="tts_settings_label" msgid="2696301846672491410">"eSpeak TTS Settings"</string>
|
||||
<string name="setting_default_pitch" msgid="2063082697363767286">"Pitch"</string>
|
||||
<string name="setting_default_gender" msgid="8721577045178419807">"Voice gender"</string>
|
||||
<string name="setting_default_rate" msgid="3255750767876184606">"Speech rate multiplier"</string>
|
||||
<string name="setting_default_rate" msgid="3255750767876184606">"Speech rate"</string>
|
||||
<string name="installing_voice_data" msgid="1199950160686799120">"Installing voice data…"</string>
|
||||
<string name="set_default_message" msgid="651325122612558377">"eSpeak is not set as your default text-to-speech engine."</string>
|
||||
<string name="voice_data_failed_message" msgid="8631894446950552673">"eSpeak failed to install voice data. Please check your SD card."</string>
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Male"</item>
|
||||
<item msgid="5166591510034679431">"Female"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Masculino"</item>
|
||||
<item msgid="5166591510034679431">"Femenino"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Hombre"</item>
|
||||
<item msgid="5166591510034679431">"Mujer"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"مذکر"</item>
|
||||
<item msgid="5166591510034679431">"مؤنث"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1X"</item>
|
||||
<item msgid="7553786328764566293">"2X"</item>
|
||||
<item msgid="7682118582350353919">"3X"</item>
|
||||
<item msgid="5021322359195099970">"4X"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Mies"</item>
|
||||
<item msgid="5166591510034679431">"Nainen"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Homme"</item>
|
||||
<item msgid="5166591510034679431">"Femme"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"x 1"</item>
|
||||
<item msgid="7553786328764566293">"x 2"</item>
|
||||
<item msgid="7682118582350353919">"x 3"</item>
|
||||
<item msgid="5021322359195099970">"x 4"</item>
|
||||
<item msgid="6621008032814909392">"x 5"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"पुरुष"</item>
|
||||
<item msgid="5166591510034679431">"महिला"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Muško"</item>
|
||||
<item msgid="5166591510034679431">"Ženski"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Férfi"</item>
|
||||
<item msgid="5166591510034679431">"Nő"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Pria"</item>
|
||||
<item msgid="5166591510034679431">"Wanita"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Uomo"</item>
|
||||
<item msgid="5166591510034679431">"Donna"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"זכר"</item>
|
||||
<item msgid="5166591510034679431">"נקבה"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"男性"</item>
|
||||
<item msgid="5166591510034679431">"女性"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"標準"</item>
|
||||
<item msgid="7553786328764566293">"2倍"</item>
|
||||
<item msgid="7682118582350353919">"3倍"</item>
|
||||
<item msgid="5021322359195099970">"4倍"</item>
|
||||
<item msgid="6621008032814909392">"5倍"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"남성"</item>
|
||||
<item msgid="5166591510034679431">"여성"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Vyras"</item>
|
||||
<item msgid="5166591510034679431">"Moteris"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1 x"</item>
|
||||
<item msgid="7553786328764566293">"2 x"</item>
|
||||
<item msgid="7682118582350353919">"3 x"</item>
|
||||
<item msgid="5021322359195099970">"4 x"</item>
|
||||
<item msgid="6621008032814909392">"5 x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Vīrietis"</item>
|
||||
<item msgid="5166591510034679431">"Sieviete"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Lelaki"</item>
|
||||
<item msgid="5166591510034679431">"Perempuan"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Mann"</item>
|
||||
<item msgid="5166591510034679431">"Kvinne"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Man"</item>
|
||||
<item msgid="5166591510034679431">"Vrouw"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Mężczyzna"</item>
|
||||
<item msgid="5166591510034679431">"Kobieta"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Masculina"</item>
|
||||
<item msgid="5166591510034679431">"Feminina"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Masculino"</item>
|
||||
<item msgid="5166591510034679431">"Feminino"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Masculin"</item>
|
||||
<item msgid="5166591510034679431">"Feminin"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Мужской"</item>
|
||||
<item msgid="5166591510034679431">"Женский"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Mužský"</item>
|
||||
<item msgid="5166591510034679431">"Ženský"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Moški"</item>
|
||||
<item msgid="5166591510034679431">"Ženski"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1 x"</item>
|
||||
<item msgid="7553786328764566293">"2 x"</item>
|
||||
<item msgid="7682118582350353919">"3 x"</item>
|
||||
<item msgid="5021322359195099970">"4 x"</item>
|
||||
<item msgid="6621008032814909392">"5 x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Мушки"</item>
|
||||
<item msgid="5166591510034679431">"Женски"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Man"</item>
|
||||
<item msgid="5166591510034679431">"Kvinna"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"x 1"</item>
|
||||
<item msgid="7553786328764566293">"x 2"</item>
|
||||
<item msgid="7682118582350353919">"x 3"</item>
|
||||
<item msgid="5021322359195099970">"x 4"</item>
|
||||
<item msgid="6621008032814909392">"x 5"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Mwanamume"</item>
|
||||
<item msgid="5166591510034679431">"Mwanamke"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"ชาย"</item>
|
||||
<item msgid="5166591510034679431">"หญิง"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Lalaki"</item>
|
||||
<item msgid="5166591510034679431">"Babae"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Erkek"</item>
|
||||
<item msgid="5166591510034679431">"Kadın"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Чоловіча"</item>
|
||||
<item msgid="5166591510034679431">"Жіноча"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Nam"</item>
|
||||
<item msgid="5166591510034679431">"Nữ"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"男"</item>
|
||||
<item msgid="5166591510034679431">"女"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1 倍"</item>
|
||||
<item msgid="7553786328764566293">"2 倍"</item>
|
||||
<item msgid="7682118582350353919">"3 倍"</item>
|
||||
<item msgid="5021322359195099970">"4 倍"</item>
|
||||
<item msgid="6621008032814909392">"5 倍"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"男性"</item>
|
||||
<item msgid="5166591510034679431">"女性"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,11 +22,4 @@
|
||||
<item msgid="6629288844142484435">"Owesilisa"</item>
|
||||
<item msgid="5166591510034679431">"Owesifazane"</item>
|
||||
</string-array>
|
||||
<string-array name="default_rate_entries">
|
||||
<item msgid="2422192643694183245">"1x"</item>
|
||||
<item msgid="7553786328764566293">"2x"</item>
|
||||
<item msgid="7682118582350353919">"3x"</item>
|
||||
<item msgid="5021322359195099970">"4x"</item>
|
||||
<item msgid="6621008032814909392">"5x"</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
<string name="setting_default_gender">Voice gender</string>
|
||||
<!--
|
||||
Source: Preference title.
|
||||
Description: Title for the preference that controls default speech rate multiplier.
|
||||
Description: Title for the preference that controls default speech rate.
|
||||
-->
|
||||
<string name="setting_default_rate">Speech rate multiplier</string>
|
||||
<string name="setting_default_rate">Speech rate</string>
|
||||
<!--
|
||||
Source: Dialog text.
|
||||
Description: Status message shown when installing voice data.
|
||||
@@ -111,13 +111,6 @@
|
||||
Source: Rate preference labels.
|
||||
Description: Labels for possible rate multiplier values.
|
||||
-->
|
||||
<string-array name="default_rate_entries">
|
||||
<item>1x</item>
|
||||
<item>2x</item>
|
||||
<item>3x</item>
|
||||
<item>4x</item>
|
||||
<item>5x</item>
|
||||
</string-array>
|
||||
<string name="status">Status</string>
|
||||
<string name="tts_version">eSpeak version</string>
|
||||
<string name="speak">Speak</string>
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="100"
|
||||
android:entries="@array/default_rate_entries"
|
||||
android:entryValues="@array/default_rate_values"
|
||||
android:key="default_rate"
|
||||
android:summary="%s"
|
||||
android:title="@string/setting_default_rate" />
|
||||
<ListPreference
|
||||
android:defaultValue="1"
|
||||
android:entries="@array/default_gender_entries"
|
||||
|
||||
@@ -197,9 +197,14 @@ public class TtsService extends TextToSpeechService {
|
||||
return;
|
||||
|
||||
final int gender = getPreferenceValue("default_gender", 0);
|
||||
final int rate = (getPreferenceValue("default_rate", 100) / 100) * mEngine.Rate.getDefaultValue();
|
||||
final Bundle params = request.getParams();
|
||||
|
||||
int rate = getPreferenceValue("espeak_rate", Integer.MIN_VALUE);
|
||||
if (rate == Integer.MIN_VALUE) {
|
||||
// Try the old eyes-free setting:
|
||||
rate = (getPreferenceValue("default_rate", 100) / 100) * mEngine.Rate.getDefaultValue();
|
||||
}
|
||||
|
||||
int pitch = getPreferenceValue("espeak_pitch", Integer.MIN_VALUE);
|
||||
if (pitch == Integer.MIN_VALUE) {
|
||||
// Try the old eyes-free setting:
|
||||
|
||||
@@ -37,7 +37,7 @@ public class TtsSettingsActivity extends PreferenceActivity {
|
||||
|
||||
// Migrate old eyes-free settings to the new settings:
|
||||
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(TtsSettingsActivity.this);
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
final SharedPreferences.Editor editor = prefs.edit();
|
||||
|
||||
String pitch = prefs.getString("espeak_pitch", null);
|
||||
@@ -48,6 +48,15 @@ public class TtsSettingsActivity extends PreferenceActivity {
|
||||
editor.putString("espeak_pitch", Integer.toString(pitchValue));
|
||||
}
|
||||
|
||||
String rate = prefs.getString("espeak_rate", null);
|
||||
if (rate == null) {
|
||||
// Try the old eyes-free setting:
|
||||
SpeechSynthesis engine = new SpeechSynthesis(this, null);
|
||||
rate = prefs.getString("default_rate", "100");
|
||||
int rateValue = (Integer.parseInt(rate) / 100) * engine.Rate.getDefaultValue();
|
||||
editor.putString("espeak_rate", Integer.toString(rateValue));
|
||||
}
|
||||
|
||||
String gender = prefs.getString("default_gender", "0");
|
||||
if (gender.equals("0")) {
|
||||
// Convert the "Default" value to "Male":
|
||||
@@ -147,6 +156,7 @@ public class TtsSettingsActivity extends PreferenceActivity {
|
||||
|
||||
SpeechSynthesis engine = new SpeechSynthesis(context, null);
|
||||
|
||||
group.addPreference(createPreference(context, engine.Rate, "espeak_rate", R.string.setting_default_rate));
|
||||
group.addPreference(createPreference(context, engine.Pitch, "espeak_pitch", R.string.setting_default_pitch));
|
||||
group.addPreference(createPreference(context, engine.Volume, "espeak_volume", R.string.espeak_volume));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user