summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AndroidManifest.xml2
-rw-r--r--res/values-cs/strings.xml13
-rw-r--r--res/values-de/strings.xml13
-rw-r--r--res/values-es/strings.xml13
-rw-r--r--res/values-fr/strings.xml13
-rw-r--r--res/values-it/strings.xml21
-rw-r--r--res/values-ja/strings.xml13
-rw-r--r--res/values-ko/strings.xml13
-rw-r--r--res/values-nb/strings.xml12
-rw-r--r--res/values-nl/strings.xml21
-rw-r--r--res/values-pl/strings.xml13
-rw-r--r--res/values-ru/strings.xml13
-rw-r--r--res/values-zh-rCN/strings.xml13
-rw-r--r--res/values-zh-rTW/strings.xml13
-rw-r--r--res/values/strings.xml3
-rw-r--r--src/com/android/voicedialer/RecognizerEngine.java10
16 files changed, 125 insertions, 74 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4736164..5becdc2 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -11,7 +11,7 @@
<uses-permission android:name="android.permission.BLUETOOTH" />
<application android:theme="@android:style/Theme.Dialog"
- android:label="Voice Dialer"
+ android:label="@string/voiceDialer"
android:icon="@drawable/app_voicedialer">
<!-- Initial Page -->
<activity android:name="VoiceDialerActivity">
diff --git a/res/values-cs/strings.xml b/res/values-cs/strings.xml
index 50d7e89..08f7155 100644
--- a/res/values-cs/strings.xml
+++ b/res/values-cs/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"Víte, že..."</string>
<string name="tool_tip_message">"Stisknutím a přidržením zeleného tlačítka Volat spustíte hlasové vytáčení."</string>
- <string name="examples">"Příklady: "<b>" "\n"Volat Karel Vacek "\n"Volat Karel Vacek domů, ... "\n"Volat hlasová schránka "\n"Vytočit 2 22 33 911 55 "\n"Vytočit 155 nebo 555 "\n"Vytočit +420 2 22 33 44 55 "\n"Znovu vytočit "\n"Otevřít Kalendář "</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"Hlasové vytáčení"</string>
<string name="initializing">"Spouštění."</string>
<string name="listening">"Poslouchám..."</string>
<string name="please_try_again">"Prosím zkuste to znovu později."</string>
<string name="recognition_error">"Můžete také zkusit restartovat svůj telefon."</string>
- <string name="at_home">"domů"</string>
- <string name="on_mobile">"mobil"</string>
- <string name="at_work">"práce"</string>
- <string name="at_other">"jiné"</string>
+ <string name="at_home">" domů"</string>
+ <string name="on_mobile">" mobil"</string>
+ <string name="at_work">" práce"</string>
+ <string name="at_other">" jiné"</string>
<string name="logging_enabled">"Protokol hlasového vytáčení je zapnut."</string>
<string name="logging_disabled">"Protokol hlasového vytáčení je vypnut."</string>
</resources>
diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml
index 8a8171a..cac22ba 100644
--- a/res/values-de/strings.xml
+++ b/res/values-de/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"Wussten Sie schon..."</string>
<string name="tool_tip_message">"Durch Drücken und Halten der grünen Anruftaste wird der VoiceDialer geöffnet."</string>
- <string name="examples">"Beispiele: "<b>" "\n"\"Martin Schmidt anrufen\" "\n"\"Martin Schmidt zu Hause anrufen, …\" "\n"\"Voicemail anrufen\" "\n"\"(866) 555 0123 wählen\" "\n"\"911, 811, … wählen\" "\n"\"+44 7333 444 555 wählen\" "\n"\"Wahlwiederholung\" "\n"\"Kalender öffnen\" "</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"VoiceDialer"</string>
<string name="initializing">"Startvorgang wird ausgeführt."</string>
<string name="listening">"Spracheingabe erfolgt..."</string>
<string name="please_try_again">"Bitte versuchen Sie es erneut."</string>
<string name="recognition_error">"Sie können das Telefon auch neu starten."</string>
- <string name="at_home">"Privat"</string>
- <string name="on_mobile">"Mobil"</string>
- <string name="at_work">"Geschäftlich"</string>
- <string name="at_other">"Sonstige"</string>
+ <string name="at_home">" Privat"</string>
+ <string name="on_mobile">" Mobil"</string>
+ <string name="at_work">" Geschäftlich"</string>
+ <string name="at_other">" Sonstige"</string>
<string name="logging_enabled">"VoiceDialer-Protokollierung ist aktiviert."</string>
<string name="logging_disabled">"VoiceDialer-Protokollierung ist deaktiviert."</string>
</resources>
diff --git a/res/values-es/strings.xml b/res/values-es/strings.xml
index 28d1c1f..aaaccc1 100644
--- a/res/values-es/strings.xml
+++ b/res/values-es/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"¿Sabías que...?"</string>
<string name="tool_tip_message">"Para abrir la ventana de marcación por voz, mantén pulsado el botón verde de llamada."</string>
- <string name="examples">"Ejemplos: "<b>" "\n"\"Llamar a Juan Díaz\" "\n"\"Llamar a Juan Díaz a casa, …\" "\n"\"Llamar al buzón de voz\" "\n"\"Marcar (866) 555 0123\" "\n"\"Marcar 911, 811, …\" "\n"\"Marcar +44 7333 444 555\" "\n"\"Volver a marcar\" "\n"\"Abrir Calendar\" "</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"Marcación por voz"</string>
<string name="initializing">"Iniciando..."</string>
<string name="listening">"Escuchando..."</string>
<string name="please_try_again">"Inténtalo de nuevo."</string>
<string name="recognition_error">"También puedes probar a reiniciar el teléfono."</string>
- <string name="at_home">"a casa"</string>
- <string name="on_mobile">"en móvil"</string>
- <string name="at_work">"al trabajo"</string>
- <string name="at_other">"a otro número"</string>
+ <string name="at_home">" a casa"</string>
+ <string name="on_mobile">" en móvil"</string>
+ <string name="at_work">" al trabajo"</string>
+ <string name="at_other">" a otro número"</string>
<string name="logging_enabled">"Se ha habilitado el registro de la marcación por voz."</string>
<string name="logging_disabled">"Se ha inhabilitado el registro de la marcación por voz."</string>
</resources>
diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml
index 9bd5474..edb2c92 100644
--- a/res/values-fr/strings.xml
+++ b/res/values-fr/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"Saviez-vous que..."</string>
<string name="tool_tip_message">"En appuyant sur le bouton vert Appel et en maintenant la touche enfoncée, vous ouvrez Voice Dialer."</string>
- <string name="examples">"Exemples : "<b>" "\n"\"Appeler Monsieur Durand\" "\n"\"Appeler Monsieur Durand à la maison, …\" "\n"\"Appeler la boîte vocale\" "\n"\"Composer le (0123) 911 811\" "\n"\"Composer le 112, le 115, ...\" "\n"\"Composer le +44 7333 444 555\" "\n"\"Recomposer\" "\n"\"Ouvrir l\'agenda\" "</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"Voice Dialer"</string>
<string name="initializing">"Démarrage en cours"</string>
<string name="listening">"Écoute en cours…"</string>
<string name="please_try_again">"Veuillez réessayer."</string>
<string name="recognition_error">"Vous pouvez également essayer de redémarrer votre téléphone."</string>
- <string name="at_home">"à la maison"</string>
- <string name="on_mobile">"sur le téléphone portable"</string>
- <string name="at_work">"au bureau"</string>
- <string name="at_other">"autre"</string>
+ <string name="at_home">" à la maison"</string>
+ <string name="on_mobile">" sur le téléphone portable"</string>
+ <string name="at_work">" au bureau"</string>
+ <string name="at_other">" autre"</string>
<string name="logging_enabled">"La connexion à Voice Dialer est activée."</string>
<string name="logging_disabled">"La connexion à Voice Dialer est désactivée."</string>
</resources>
diff --git a/res/values-it/strings.xml b/res/values-it/strings.xml
index d973b59..0a53f8f 100644
--- a/res/values-it/strings.xml
+++ b/res/values-it/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"Informazioni utili"</string>
- <string name="tool_tip_message">"Premi e tieni premuto il tasto verde Chiama per aprire il dialer vocale."</string>
- <string name="examples">"Esempi: "<b>" "\n"\"Chiama Luca Neri\" "\n"\"Chiama Luca Neri a casa, …\" "\n"\"Chiama segreteria\" "\n"\"Componi (866) 555 0123\" "\n"\"Componi 911, 811, …\" "\n"\"Componi +44 7333 444 555\" "\n"\"Ricomponi\" "\n"\"Apri Calendario\" "</b></string>
- <string name="title">"Dialer vocale"</string>
+ <string name="tool_tip_message">"Premi e tieni premuto il tasto verde Chiama per aprire il compositore vocale."</string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
+ <string name="title">"Compositore vocale"</string>
<string name="initializing">"Avvio in corso."</string>
<string name="listening">"In ascolto..."</string>
<string name="please_try_again">"Riprova."</string>
<string name="recognition_error">"Puoi anche provare a riavviare il sistema."</string>
- <string name="at_home">"a casa"</string>
- <string name="on_mobile">"al cellulare"</string>
- <string name="at_work">"al lavoro"</string>
- <string name="at_other">"ad altro numero"</string>
- <string name="logging_enabled">"Accesso a dialer vocale attivo."</string>
- <string name="logging_disabled">"Accesso a dialer vocale non attivo."</string>
+ <string name="at_home">" a casa"</string>
+ <string name="on_mobile">" al cellulare"</string>
+ <string name="at_work">" al lavoro"</string>
+ <string name="at_other">" ad altro numero"</string>
+ <string name="logging_enabled">"Accesso a compositore vocale attivo."</string>
+ <string name="logging_disabled">"Accesso a compositore vocale non attivo."</string>
</resources>
diff --git a/res/values-ja/strings.xml b/res/values-ja/strings.xml
index 93ba96a..a984345 100644
--- a/res/values-ja/strings.xml
+++ b/res/values-ja/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"便利な使い方..."</string>
<string name="tool_tip_message">"緑色の[発信]ボタンを押したまま&amp;を押すと、音声ダイヤラが開きます。"</string>
- <string name="examples">"例:"<b>" "\n"「Call John Doe」"\n"「Call John Doe at home, ...」"\n"「Call voicemail」"\n"「Dial (866) 555 0123」"\n"「Dial 911, 811, ...」"\n"「Dial +44 7333 444 555」"\n"「Redial」"\n"「Open Calendar」"</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"音声ダイヤラ"</string>
<string name="initializing">"起動中です。"</string>
<string name="listening">"リッスン中..."</string>
<string name="please_try_again">"もう一度試してください。"</string>
<string name="recognition_error">"また、この携帯電話を再起動してみることもできます。"</string>
- <string name="at_home">"at home"</string>
- <string name="on_mobile">"on mobile"</string>
- <string name="at_work">"at work"</string>
- <string name="at_other">"at other"</string>
+ <string name="at_home">" at home"</string>
+ <string name="on_mobile">" on mobile"</string>
+ <string name="at_work">" at work"</string>
+ <string name="at_other">" at other"</string>
<string name="logging_enabled">"音声ダイヤラのログを有効にしました。"</string>
<string name="logging_disabled">"音声ダイヤラのログを無効にしました。"</string>
</resources>
diff --git a/res/values-ko/strings.xml b/res/values-ko/strings.xml
index c410438..48c0859 100644
--- a/res/values-ko/strings.xml
+++ b/res/values-ko/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"알고 계십니까..."</string>
<string name="tool_tip_message">"녹색의 전화걸기 버튼을 길게 누르면 음성인식 전화가 열립니다."</string>
- <string name="examples">"예: "<b>" "\n"\'John Doe\' "\n"\'John Doe 집, …\' "\n"\'음성메일\' "\n"\'(866) 555 0123\' "\n"\'911, 811, …\' "\n"\'+44 7333 444 555\' "\n"\'다시 걸기\' "\n"\'캘린더 열기\' "</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"음성인식 전화"</string>
<string name="initializing">"시작 중"</string>
<string name="listening">"청취 중..."</string>
<string name="please_try_again">"다시 시도하세요."</string>
<string name="recognition_error">"전화기를 다시 시작해 볼 수도 있습니다."</string>
- <string name="at_home">"집"</string>
- <string name="on_mobile">"휴대전화"</string>
- <string name="at_work">"회사"</string>
- <string name="at_other">"다른 연락처"</string>
+ <string name="at_home">" 집"</string>
+ <string name="on_mobile">" 휴대전화"</string>
+ <string name="at_work">" 회사"</string>
+ <string name="at_other">" 다른 연락처"</string>
<string name="logging_enabled">"음성인식 전화 로깅을 사용합니다."</string>
<string name="logging_disabled">"음성인식 전화 로깅을 사용하지 않습니다."</string>
</resources>
diff --git a/res/values-nb/strings.xml b/res/values-nb/strings.xml
index a821916..b1e95dd 100644
--- a/res/values-nb/strings.xml
+++ b/res/values-nb/strings.xml
@@ -15,18 +15,20 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"Visste du at…"</string>
<string name="tool_tip_message">"Stemmeringeren aktiveres om du holder nede den grønne ringeknappen."</string>
- <string name="examples">"Eksempler: "<b>" "\n"\\\\\\\"Call John Doe\\\\\\\" "\n"\\\\\\\"Call John Doe at home, …\\\\\\\" "\n"\\\\\\\"Call voicemail\\\\\\\" "\n"\\\\\\\"Dial (866) 555 0123\\\\\\\" "\n"\\\\\\\"Dial 911, 811, …\\\\\\\" "\n"\\\\\\\"Dial +44 7333 444 555\\\\\\\" "\n"\\\\\\\"Redial\\\\\\\" "\n"\\\\\\\"Open Calendar\\\\\\\" "</b></string>
+ <string name="examples">" Eksempler: "<b>" "\n"\"Call John Doe\" "\n"\"Call John Doe at home, …\" "\n"\"Call voicemail\" "\n"\"Dial (866) 555 0123\" "\n"\"Dial 911, 811, …\" "\n"\"Dial +44 7333 444 555\" "\n"\"Redial\" "\n"\"Open Calendar\" "</b></string>
<string name="title">"Stemmeringer"</string>
<string name="initializing">"Starter."</string>
<string name="listening">"Lytter…"</string>
<string name="please_try_again">"Prøv igjen."</string>
<string name="recognition_error">"Du kan også prøve å starte telefonen på nytt"</string>
- <string name="at_home">"hjemme"</string>
- <string name="on_mobile">"på mobilen"</string>
- <string name="at_work">"på arbeid"</string>
- <string name="at_other">"på annen"</string>
+ <string name="at_home">" hjemme"</string>
+ <string name="on_mobile">" på mobilen"</string>
+ <string name="at_work">" på arbeid"</string>
+ <string name="at_other">" på annen"</string>
<string name="logging_enabled">"Logging av stemmeringeren er slått på."</string>
<string name="logging_disabled">"Logging av stemmeringeren er slått av."</string>
</resources>
diff --git a/res/values-nl/strings.xml b/res/values-nl/strings.xml
index 9f79908..691f627 100644
--- a/res/values-nl/strings.xml
+++ b/res/values-nl/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"Wist u..."</string>
- <string name="tool_tip_message">"Als u de groene belknop ingedrukt houdt, wordt de spraakkiezer geopend."</string>
- <string name="examples">"Voorbeelden: "<b>" "\n"\'Bel Jan de Vries\' "\n"\'Bel Jan de Vries thuis, …\' "\n"\'Bel voicemail\' "\n"\'Kies (866) 555 0123\' "\n"\'Kies 911, 811, …\' "\n"\'Kies +44 7333 444 555\' "\n"\'Opnieuw kiezen\' "\n"\'Agenda openen\' "</b></string>
- <string name="title">"Spraakkiezer"</string>
+ <string name="tool_tip_message">"Als u de groene belknop ingedrukt houdt, wordt de Voice Dialer geopend."</string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
+ <string name="title">"Voice Dialer"</string>
<string name="initializing">"Opstarten."</string>
<string name="listening">"Luisteren..."</string>
<string name="please_try_again">"Probeer het opnieuw."</string>
<string name="recognition_error">"U kunt ook proberen uw telefoon opnieuw op te starten."</string>
- <string name="at_home">"thuis"</string>
- <string name="on_mobile">"mobiel"</string>
- <string name="at_work">"werk"</string>
- <string name="at_other">"anders"</string>
- <string name="logging_enabled">"Aanmelden via spraakkiezer is ingeschakeld."</string>
- <string name="logging_disabled">"Aanmelden via spraakkiezer is uitgeschakeld."</string>
+ <string name="at_home">" thuis"</string>
+ <string name="on_mobile">" mobiel"</string>
+ <string name="at_work">" werk"</string>
+ <string name="at_other">" anders"</string>
+ <string name="logging_enabled">"Aanmelden via Voice Dialer is ingeschakeld."</string>
+ <string name="logging_disabled">"Aanmelden via Voice Dialer is uitgeschakeld."</string>
</resources>
diff --git a/res/values-pl/strings.xml b/res/values-pl/strings.xml
index 14d155d..4d825dc 100644
--- a/res/values-pl/strings.xml
+++ b/res/values-pl/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"Czy wiesz, że..."</string>
<string name="tool_tip_message">"Naciśnięcie i przytrzymanie zielonego przycisku otwiera usługę Voice Dialer."</string>
- <string name="examples">"Przykłady: "<b>" "\n"„Połącz z Janem Kowalskim” "\n"„Połącz z Janem Kowalskim w domu, …” "\n"„Połącz z pocztą głosową” "\n"„Wybierz numer (866) 555 0123” "\n"„Wybierz numer 911, 811, …” "\n"„Wybierz numer +44 7333 444 555” "\n"„Wybierz ponownie” "\n"„Otwórz kalendarz” "</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"Voice Dialer"</string>
<string name="initializing">"Rozpoczynanie."</string>
<string name="listening">"Słuchanie..."</string>
<string name="please_try_again">"Spróbuj ponownie."</string>
<string name="recognition_error">"Możesz spróbować ponownie uruchomić telefon."</string>
- <string name="at_home">"w domu"</string>
- <string name="on_mobile">"w telefonie komórkowym"</string>
- <string name="at_work">"w pracy"</string>
- <string name="at_other">"w innym miejscu"</string>
+ <string name="at_home">" w domu"</string>
+ <string name="on_mobile">" w telefonie komórkowym"</string>
+ <string name="at_work">" w pracy"</string>
+ <string name="at_other">" w innym miejscu"</string>
<string name="logging_enabled">"Logowanie w usłudze Voice Dialer jest włączone."</string>
<string name="logging_disabled">"Logowanie w usłudze Voice Dialer wyłączone."</string>
</resources>
diff --git a/res/values-ru/strings.xml b/res/values-ru/strings.xml
index 6516dff..7ca3706 100644
--- a/res/values-ru/strings.xml
+++ b/res/values-ru/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"Знаете ли вы…"</string>
<string name="tool_tip_message">"Чтобы открыть Голосовой набор, нажмите и удерживайте зеленую кнопку вызова."</string>
- <string name="examples">"Примеры: "<b>" "\n"\"Позвонить Ивану Петрову\" "\n"\"Позвонить Ивану Петрову домой, …\" "\n"\"Позвонить в голосовую почту\" "\n"\"Набрать (866) 555 0123\" "\n"\"Набрать 911, 811, …\" "\n"\"Набрать +44 7333 444 555\" "\n"\"Повторить набор\" "\n"\"Открыть календарь\" "</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"Голосовой набор"</string>
<string name="initializing">"Подготовка к работе."</string>
<string name="listening">"Слушаю…"</string>
<string name="please_try_again">"Повторите попытку."</string>
<string name="recognition_error">"Кроме того, попробуйте перезагрузить телефон."</string>
- <string name="at_home">"домой"</string>
- <string name="on_mobile">"на мобильный"</string>
- <string name="at_work">"на работу"</string>
- <string name="at_other">"на другой номер"</string>
+ <string name="at_home">" домой"</string>
+ <string name="on_mobile">" на мобильный"</string>
+ <string name="at_work">" на работу"</string>
+ <string name="at_other">" на другой номер"</string>
<string name="logging_enabled">"Вход в голосовой набор включен."</string>
<string name="logging_disabled">"Вход в голосовой набор отключен."</string>
</resources>
diff --git a/res/values-zh-rCN/strings.xml b/res/values-zh-rCN/strings.xml
index 771815b..b88c195 100644
--- a/res/values-zh-rCN/strings.xml
+++ b/res/values-zh-rCN/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"您知道吗..."</string>
<string name="tool_tip_message">"按住绿色呼叫按钮可打开语音拨号程序。"</string>
- <string name="examples">"示例:"<b>" "\n"“呼叫约翰·多伊 (John Doe)”"\n"“在家呼叫约翰·多伊 (John Doe)...”"\n"“呼叫语音信箱”"\n"“拨打 (866) 555 0123”"\n"“拨打 911, 811, ...”"\n"“拨打 +44 7333 444 555”"\n"“重拨”"\n"“打开 Google 日历”"</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"语音拨号程序"</string>
<string name="initializing">"正在启动。"</string>
<string name="listening">"正在收听..."</string>
<string name="please_try_again">"请重试。"</string>
<string name="recognition_error">"您可以尝试重新启动手机。"</string>
- <string name="at_home">"在家"</string>
- <string name="on_mobile">"通过手机"</string>
- <string name="at_work">"工作中"</string>
- <string name="at_other">"在其他位置"</string>
+ <string name="at_home">" 在家"</string>
+ <string name="on_mobile">" 通过手机"</string>
+ <string name="at_work">" 工作中"</string>
+ <string name="at_other">" 在其他位置"</string>
<string name="logging_enabled">"已启用语音拨号程序记录。"</string>
<string name="logging_disabled">"已禁用语音拨号程序记录。"</string>
</resources>
diff --git a/res/values-zh-rTW/strings.xml b/res/values-zh-rTW/strings.xml
index c63a4f1..ed2cb38 100644
--- a/res/values-zh-rTW/strings.xml
+++ b/res/values-zh-rTW/strings.xml
@@ -15,18 +15,21 @@
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- no translation found for voiceDialer (5948204210436590941) -->
+ <skip />
<string name="tool_tip_title">"您知道…"</string>
<string name="tool_tip_message">"按住綠色撥號鍵,開啟語音撥號。"</string>
- <string name="examples">"例如:"<b>" "\n"「撥給 John Doe」"\n"「撥到 John Doe 的住宅電話、…」"\n"「撥打語音信箱」"\n"「撥打 (866) 555 0123」"\n"「撥打 911、811、…」"\n"「撥打 +44 7333 444 555」"\n"「重撥」"\n"「開啟 Google 日曆」"</b></string>
+ <!-- no translation found for examples (2100807337052050741) -->
+ <skip />
<string name="title">"語音撥號"</string>
<string name="initializing">"起始中"</string>
<string name="listening">"等候語音指令…"</string>
<string name="please_try_again">"請再試一次。"</string>
<string name="recognition_error">"您也可以試著重新啟動手機"</string>
- <string name="at_home">"住宅電話"</string>
- <string name="on_mobile">"行動電話"</string>
- <string name="at_work">"工作電話"</string>
- <string name="at_other">"其他電話"</string>
+ <string name="at_home">" 住宅電話"</string>
+ <string name="on_mobile">" 行動電話"</string>
+ <string name="at_work">" 工作電話"</string>
+ <string name="at_other">" 其他電話"</string>
<string name="logging_enabled">"語音撥號紀錄已啟用。"</string>
<string name="logging_disabled">"語音撥號紀錄已停用。"</string>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index f29206f..1a2eb1a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -15,6 +15,9 @@
-->
<resources>
+ <!-- The name of the Voice Dialer application. -->
+ <string name="voiceDialer">Voice Dialer</string>
+
<!-- title to the Tool Tip window. open when VoiceDialer not launched
by green Call button -->
<string name="tool_tip_title">Did you know\u2026</string>
diff --git a/src/com/android/voicedialer/RecognizerEngine.java b/src/com/android/voicedialer/RecognizerEngine.java
index af6241a..9aa934f 100644
--- a/src/com/android/voicedialer/RecognizerEngine.java
+++ b/src/com/android/voicedialer/RecognizerEngine.java
@@ -337,6 +337,7 @@ public class RecognizerEngine {
// fetch a scrubbed window label
String label = scrubName(ri.loadLabel(pm).toString());
+ if (label.length() == 0) continue;
// insert it into the result list
addClassName(openEntries, label, ri.activityInfo.name);
@@ -490,6 +491,15 @@ public class RecognizerEngine {
// trim
name = name.trim();
+
+ // ensure at least one alphanumeric character, or the pron engine will fail
+ for (int i = name.length() - 1; true; i--) {
+ if (i < 0) return "";
+ char ch = name.charAt(i);
+ if (('a' <= ch && ch <= 'z') || ('A' <= ch && ch <= 'Z') || ('0' <= ch && ch <= '9')) {
+ break;
+ }
+ }
return name;
}