diff --git a/app/build.gradle b/app/build.gradle index d027272..0ce9595 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,7 +8,7 @@ android { minSdkVersion 9 targetSdkVersion 20 versionCode 1 - versionName "0.9.5-Beta.mkII" + versionName "0.9.6-alpha.5" } buildTypes { release { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index e29b7b8..55d074b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -44,12 +44,13 @@ + android:label="Alarms" + android:noHistory="true" + android:theme="@style/AlarmDialog"> - + + , Bundle> responseInputMap = new HashMap<>(); - private static class Bundle implements Iterable { - - private T[] list; - - public Bundle(T... list) { - this.list = list; - } - - public T[] toArray() { - return list; - } - - @NonNull - @Override - public Iterator iterator() { - Iterator iterator = new Iterator() { - int index = 0; - - @Override - public boolean hasNext() { - return index < list.length; - } - - @Override - public T next() { - return list[index++]; - } - }; - return iterator; - } - } - static { responseInputMap.put(new Bundle<>( R.string.christina @@ -80,7 +43,7 @@ class Amadeus { voiceLines[VoiceLine.Line.NO_TINA] )); responseInputMap.put(new Bundle<>( - R.string.the_zombie, + R.string.the_zombie, R.string.the_zombie2, R.string.celeb17 ), new Bundle<>( voiceLines[VoiceLine.Line.DONT_CALL_ME_LIKE_THAT] @@ -104,7 +67,7 @@ class Amadeus { voiceLines[VoiceLine.Line.SENPAI_WHO_IS_THIS] )); responseInputMap.put(new Bundle<>( - R.string.time_machine, + R.string.time_machine, R.string.time_travel2, R.string.cern, R.string.time_travel ), new Bundle<>( @@ -295,12 +258,14 @@ class Amadeus { if(specificLines.length>1){intTarget = new Random().nextInt(specificLines.length);} Amadeus.speak(specificLines[intTarget], activity); } + private static boolean containInput(final String input, final String... strings){ for(String s:strings){ if(input.contains(s)) return true; } return false; } + static void openApp(String[] input, Activity activity) { final PackageManager pm = activity.getPackageManager(); List packages = pm.getInstalledApplications(PackageManager.GET_META_DATA); @@ -369,4 +334,36 @@ class Amadeus { } } + private static class Bundle implements Iterable { + + private T[] list; + + public Bundle(T... list) { + this.list = list; + } + + public T[] toArray() { + return list; + } + + @NonNull + @Override + public Iterator iterator() { + Iterator iterator = new Iterator() { + int index = 0; + + @Override + public boolean hasNext() { + return index < list.length; + } + + @Override + public T next() { + return list[index++]; + } + }; + return iterator; + } + } + } diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml new file mode 100644 index 0000000..28727b9 --- /dev/null +++ b/app/src/main/res/values-de/strings.xml @@ -0,0 +1,115 @@ + + + Amadeus + Verbindung mit Kurisu herstellen? + Verbindung wird hergestellt… + Verbindung unterbrochen. + de + de-DE + Google App wurde nicht erkannt. + Eingehender Anruf von Kurisu. + Deine Waifu vermisst dich. + + + App Einstellungen + Spracherkennung + Wähle Sprache zur Spracherkennung + Sprache + Wähle App Sprache (App Neustart erforderlich) + Untertitel anzeigen + Untertitel für Amadeus Antworten anzeigen + Show "XP"-Icon + Symbol in der Statusleiste einblenden (App Neustart erforderlich) + Alarm Einstellungen + Alarm Voreinstellungen + Alarm Klingelton + Wähle Alarm Klingelton + Vibration im Alarm-Modus + 24-Stunden Format + + + Hallo. + Nenn mich nicht so! + Aber ich weigere mich. + Ich hätte nie gedacht, dass du so ein ekelhafter Perverser bist. Anscheinend habe ich dich falsch eingeschätzt. + Vielleicht. + Cool. + PERVERSLING ALARM. + Entschuldige. + Das klingt nach einem Problem + Er ist wahnsinnig! Ich muss schnell was unternehmen… ! + Gah. + Hör auf -tina hinzuzufügen! + Du Perversling! Bist du komplett bescheuert!? Willst du sterben?! + Ich heiße Makise Kurisu, schön dich kennenzulernen. + Wer zur Hölle ist Christina? + Das beschäftigt mich immer noch. Warum bin ich Christina? + Christina? + Frag mich was immer du willst. Ich werde mich bemühen, alles zu beantworten. + Ähm, kann ich dir mit irgendetwas behilflich sein? + Brauchst du bei etwas meine Hilfe? + Was ist los? + Hehehe. + Häh? Was meinst du damit? + Bist du dir da sicher? + Schön dich kennenzulernen, Okabe Rintaro. Mein Name ist Makise Kurisu. + Freut mich deine Bekanntschaft zu machen. + Wie auch immer, kann ich dich etwas fragen? + Ähm, Senpai? + Hey Senpai, wegen des, was du mir neulich erzählt hast… + Ähm, wer ist das? + Senpai, bitte, erzähl das nicht den Anderen.. + Ich bin immer noch nicht zufrieden damit. + Das ist kompletter Schwachsinn. + Lass mich nachdenken… Im Endeffekt denke ich nicht, dass es möglich ist. + Das ist wahrscheinlich, weil Wissenschaftler noch keinen Druchbruch in diesem Gebiet erreicht haben. + Aber wir können auch nicht mit Sicherheit sagen dass es unmöglich ist, glaube ich zumindest. + Eine Zeitmaschine? + Sogar Menschen betrachten sich selbst als eine Kombination aus Hardware und Software, oder nicht? + Aber Erinnerungsdaten sind nicht wie normale Daten. Sie sind viel komplexer. + Ich führe ein geheimes Tagebuch. + Erinnerungen verändern? Das wäre theoretisch möglich. + Zum Beispiel wäre es möglich, mich denken zu lassen, dass ich Christina heiße. + Gah. Ah… Aaaaah. + Awesome, he\'s really something! + Nice! + Oh no! + Where are the Japanese shaman girls, Lintahlo? + Holy Cow! So I said we should come soon. + Oder hätte ich mich mit "Hier ist Christina" vorstellen sollen? + OK. + + + + christina + nullpo + the zombie + the zombie + celeb seventeen + atchannel + kurigohan + kamehameha + salieri + maho + hiyajo + zeitmaschine + cern + zeitreisen + zeitreisen + memory + amadeus + wissenschaft + hallo + guten morgen + guten tag + guten abend + nette figur + heiß + sexy + titten + oppai + Robotics Notes + antimatter + assistent + öffne + \ No newline at end of file diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 932f58e..44469a3 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -1,67 +1,86 @@  Amadeus - Conectar a Kurisu? + ¿Conectar a Kurisu? Conectando… Desconectado. es - ja-JP - Google App wasn\'t detected. + es-ES + Google App no fue detectado. + + + Ajustes de la aplicación + Idioma de reconocimiento de voz + Elegir el idioma de reconocimiento de voz + Idiomas + Elegir el idioma de la aplicación (requiere reiniciar la aplicación) + Mostrar subtítulos + Mostrar subtítulos para las respuestas de Amadeus + Mostrar icono "XP" + Mostrar el icono en la barra de notificaciones (requiere reiniciar la aplicación) + Ajustes de alarmas + Fijar alarma + Tono de alarma + Elegir el tono de la alarma + Vibración + Formato 24 horas + Hola. - No me llames así! + ¡No me llames así! Pero me niego. - Nunca pensé que eras un pervertido tan diabólico.. Supongo que te juzgué mal. - Creo que sí. - Bueno. + Nunca me imagine que fueras un pervertido tan travieso. Parece que te juzgué mal. + Supongo. + Genial. PERVERTIDO CONFIRMADO. - Desculpa. - Parece difícil. - Este chico no tiene esperanza, mejor hacer algo rápido. + Lo siento. + Suena duro. + Este chico no tiene remedio, habrá que hacer algo y rápido. Gah. - Dejar de agregar -tina! - Pervertido! Eres un idiota?! Quieres morir? + ¡Deja de agregar -tina! + ¡Pervertido! ¡¿Eres idiota?! ¡¿Quieres morir?! Soy Makise Kurisu, encantada de conocerte. - Quién diablos es Christina? - Estoy preocupado. Porqué soy Christina? - Christina? - Pídeme lo qué quieras. Voy a responder a todo lo qué pueda. - Um, podría ayudarte con eso? - Qué quieres? - Qué es eso? + ¿Quién diablos es Christina? + Me preocupa. ¿Por qué me llamas Christina? + ¿Christina? + Pídeme lo qué quieras. Responderé todo lo que pueda. + Um, ¿podría ayudarte con eso? + ¿Qué quieres? + ¿Qué pasa? Hehehe. - Huh? Porqué dices eso? - Seguro? - Encantada de conocerte, Okabe Rintaro. Soy Makise Kurisu - Espero con interés trabajar con usted. - Desculpa, puedo hacer una pregunta? - Um… Senpai? Desculpe. - Hey Senpai, de lo que acabamos de hablar… - Uh, quién es este? - Senpai, por favor, no lo digas los otros… - Todavía no estoy contento con eso. - Eso es pura tontería. - Veamos … Mi conclusión es que no es posible. - Eso es probablemente porque los científicos no han descubierto algo importante todavía. - Pero no sabemos con certeza si es imposible, supongo. - Una máquina del tiempo, dijiste? - Até os humanos falam de si como uma combinação de hardware e software, não é? - Pero los datos de memoria no son como los datos normales. Es mucho más complejo. + ¿Eh? ¿Por qué dices eso? + ¿Seguro? + Encantada de conocerte, Okabe Rintaro. Me llamo Makise Kurisu. + Estoy deseando trabajar contigo. + Por cierto, ¿puedo hacer una pregunta? + Um… Disculpa, Senpai. + Oye, Senpai, sobre lo que estabamos hablando… + ¿Eh? ¿Quién es este? + Senpai, por favor, no se lo cuentes a los demás… + Todavía no estoy contenta. + Eso es pura charlatanería. + Veamos… Mi conclusión es que no es posible. + Probablemente porque los científicos aún no han hecho un descubrimiento importante. + Pero supongo que no sabemos con certeza si es imposible. + ¿Una máquina del tiempo, dijiste? + Incluso los humanos se refieren a ellos mismos como una combinación de software y hardware, ¿verdad? + Pero los datos de la memoria no son como los datos normales. Son mucho más complejos. Tengo un diario secreto. - Cambiar mis recuerdos? Es teóricamente posible. - Por ejemplo, sería posible hacerme pensar que mi nombre era Christina. + ¿Modificar mis recuerdos? Es teóricamente posible. + Por ejemplo, sería posible hacerme pensar que mi nombre es Christina. Gah. Ah… Aaaaah. - Increíble, él es realmente algo! + Awesome, he\'s really something! Nice! Oh no! - Dónde están las chicas chamanes japonesas, Lintahlo? - Vaca santa! Así que dije que deberíamos venir pronto. - O debería haberme presentado con "Es Christina"? + Where are the Japanese shaman girls, Lintahlo? + Holy Cow! So I said we should come soon. + ¿O debería haberme presentado con "se dice Christina"? OK. christina nullpo - the zombie + zombie + zombi celeb seventeen atchannel kurigohan @@ -69,21 +88,23 @@ salieri maho hiyajo - time machine + máquina del tiempo cern - time travel - memory + viajes en el tiempo + viaje en el tiempo + memoria amadeus - science - hello - good morning - good afternoon - good evening - nice body - hot + ciencia + hola + buenos días + buenas tardes + buenas noches + buen cuerpo + caliente sexy - boobies + tetas oppai Robotics Notes + asistente antimatter diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 5462b40..4e65bbe 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -83,6 +83,7 @@ christina nullpo the zombie + the zombie celeb seventeen atchannel kurigohan @@ -93,6 +94,7 @@ machine à voyager dans le temps cern voyage dans le temps + voyage dans le temps mémoire amadeus science diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index c68c42f..32963cf 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -24,15 +24,15 @@ Imposta sveglia Suoneria sveglia Seleziona suoneria per la sveglia - Vibra durante la sveglia + Vibra durante la suoneria Formato 24-ore Ciao. Non chiamarmi in quel modo! Ma mi rifiuto. - Non ho mai pensato che tu fossi un tale diabolico pervertito. Immagino di averti giudicato male. - Suppongo. + Non ho mai pensato che tu fossi un pervertito malizioso di questo tipo. Immagino di averti giudicato male. + Lo immagino. Ottimo. PERVERTITO CONFERMATO. Scusa. @@ -43,14 +43,14 @@ Pervertito! Sei un idiota!? Vuoi morire?! Sono Makise Kurisu, piacere di conoscerti. Chi diavolo è Christina? - Sono preoccupata per quello. Perchè sono Christina? + Sono preoccupata per quello. Perché sono Christina? Christina? Chiedimi qualunque cosa tu voglia. Risponderò a tutto ciò che posso. - Um, posso aiutarti a farlo? + Um, ti posso aiutare? Cosa desideri? Cosa è? Hehehe. - Huh? Perchè lo hai detto? + Huh? Perché lo hai detto? Sei sicuro? Piacere di conoscerti, Okabe Rintaro. Sono Makise Kurisu. Attendo con ansia di lavorare con te. @@ -59,23 +59,23 @@ Ehi Senpai, riguardo a quanto stavamo discutendo prima… Uh, chi è questo? Senpai, ti prego, non dirlo agli altri… - Non sono ancora felice riguardo a ciò. + Non sono ancora felice a riguardo. Non ha totalmente senso. Vediamo… La mia conclusione è che non sia possibile. Probabilmente perchè gli scienziati non hanno ancora scoperto nulla di importante. Ma non sappiamo per certo che sia impossibile, suppongo. Una macchina del tempo, hai detto? - Persino gli umani parlano di sé stessi come una combinazione di hardware e software, giusto? + Persino gli umani parlano di se stessi come una combinazione di hardware e software, giusto? Ma i dati della memoria non sono come i dati normali. E\' molto più complicato. Custodisco un diario personale. Modificare le mie memorie? E\' teoricamente possibile. - Ad esempio, sarebbe possibile farmi credere che il nome fosse Christina. + Ad esempio, sarebbe possibile farmi credere che il mio nome fosse Christina. Gah. Ah… Aaaaah. Magnifico, sei davvero speciale! Ottimo! Oh no! Dove sono le sciamane giapponesi, Lintahlo? - Dio santo! Così ho detto che dovremmo venire presto. + Santo Cielo! Così ho detto che dovremmo venire presto. O mi sarei dovuta presentare con, \"Sono Christina\"? OK. @@ -83,6 +83,7 @@ christina nullpo the zombie + the zombie celeb seventeen atchannel kurigohan @@ -93,6 +94,7 @@ time machine cern time travel + time travel memory amadeus science diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index dc07dc7..7af6460 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -61,6 +61,7 @@ クリスティーナ ぬるぽ the zombie + the zombie セレブセブンティーン アットチャンネル 栗ご飯 @@ -71,6 +72,7 @@ タイムマシーン cern タイムトラベル + タイムトラベル メモリー アマデウス サイエンス diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index e1972a0..bc358a6 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -56,4 +56,37 @@ Onde tão as meninas shaman japonesas, Lintahlo? Porra! Eu bem disse que devíamos ter vindo mais cedo. Ou será que devia ter dito "É a Christina"? + + + christina + nullpo + the zombie + the zombie + celeb seventeen + atchannel + kurigohan + kamehameha + salieri + maho + hiyajo + time machine + cern + time travel + time travel + memory + amadeus + science + hello + good morning + good afternoon + good evening + nice body + hot + sexy + boobies + oppai + Robotics Notes + antimatter + assistant + open diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 3a849b9..45d4d7b 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -82,6 +82,7 @@ кристина зомби + зомби поп-дива кури гохан камехамеха @@ -89,6 +90,7 @@ машина времени церн путешествие во времени + путешествие во времени воспоминания amadeus наука diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 60b2d9c..3bf0178 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -83,6 +83,7 @@ christina nullpo the zombie + the zombie celeb seventeen atchannel kurigohan @@ -93,6 +94,7 @@ time machine cern time travel + time travel memory amadeus science diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index c13ffb7..900ef5a 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -6,7 +6,8 @@ Português Español Italiano - French + Française + Deutsch 日本語 简体中文 繁體中文 @@ -19,6 +20,7 @@ es it fr + de ja zh-rCN zh-rTW @@ -26,14 +28,20 @@ English - Русский 日本語 + Русский + Español + Deutsch + Française en-US - ru-RU ja-JP + ru-RU + es-ES + de-DE + fr-FR diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 16e7384..d438a6d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -83,6 +83,7 @@ christina nullpo the zombie + the zombie celeb seventeen atchannel kurigohan @@ -93,6 +94,7 @@ time machine cern time travel + time travel memory amadeus science diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index b320580..69e9306 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -28,10 +28,9 @@ - + +