summaryrefslogtreecommitdiffstats
path: root/pico/res
diff options
context:
space:
mode:
authorCharles Chen <clchen@google.com>2010-03-18 20:24:49 -0700
committerCharles Chen <clchen@google.com>2010-03-18 20:24:49 -0700
commitc0991bad280488a4b45b1819f8ac64a30820103d (patch)
treecb385821c282f7042936d7bcd80ece46e3daab0a /pico/res
parent68d3a7e3f9816e1b163081a51230232057495f16 (diff)
downloadexternal_svox-c0991bad280488a4b45b1819f8ac64a30820103d.zip
external_svox-c0991bad280488a4b45b1819f8ac64a30820103d.tar.gz
external_svox-c0991bad280488a4b45b1819f8ac64a30820103d.tar.bz2
Adding an EngineSettings screen to Pico that enables languages
to be installed individually. Change-Id: I29f98ff65a3c8c90747f635d0ad3887ab27a65d7
Diffstat (limited to 'pico/res')
-rwxr-xr-xpico/res/values/strings.xml2
-rwxr-xr-xpico/res/xml/voices_list.xml39
2 files changed, 41 insertions, 0 deletions
diff --git a/pico/res/values/strings.xml b/pico/res/values/strings.xml
index f68995a..932403d 100755
--- a/pico/res/values/strings.xml
+++ b/pico/res/values/strings.xml
@@ -26,4 +26,6 @@
<string name="deu_deu_sample">Dies ist ein Beispiel für Sprachsynthese in Deutsch mit Pico.</string>
<string name="ita_ita_sample">Questo è un esempio di sintesi vocale in italiano con Pico.</string>
<string name="spa_esp_sample">Este es un ejemplo de síntesis de voz en español con Pico.</string>
+ <string name="installed">Installed</string>
+ <string name="not_installed">Not Installed</string>
</resources>
diff --git a/pico/res/xml/voices_list.xml b/pico/res/xml/voices_list.xml
new file mode 100755
index 0000000..3b7e640
--- /dev/null
+++ b/pico/res/xml/voices_list.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/app_name">
+
+ <Preference
+ android:key="eng-USA"
+ android:persistent="false" />
+ <Preference
+ android:key="eng-GBR"
+ android:persistent="false" />
+ <Preference
+ android:key="fra-FRA"
+ android:persistent="false" />
+ <Preference
+ android:key="ita-ITA"
+ android:persistent="false" />
+ <Preference
+ android:key="deu-DEU"
+ android:persistent="false" />
+ <Preference
+ android:key="spa-ESP"
+ android:persistent="false" />
+
+</PreferenceScreen>