diff --git a/app/build.gradle b/app/build.gradle index 29133e6..d027272 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,9 +2,9 @@ apply plugin: 'com.android.application' android { compileSdkVersion 25 - buildToolsVersion "25.0.2" + buildToolsVersion '26.0.2' defaultConfig { - applicationId "com.example.yink.amadeus" + applicationId "com.example.yink.amadeus.kurisutina" minSdkVersion 9 targetSdkVersion 20 versionCode 1 diff --git a/app/src/main/java/com/example/yink/amadeus/SettingsFragment.java b/app/src/main/java/com/example/yink/amadeus/SettingsFragment.java index 028795b..84e4790 100644 --- a/app/src/main/java/com/example/yink/amadeus/SettingsFragment.java +++ b/app/src/main/java/com/example/yink/amadeus/SettingsFragment.java @@ -1,5 +1,6 @@ package com.example.yink.amadeus; +import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.preference.PreferenceFragment; @@ -11,10 +12,11 @@ import android.support.annotation.RequiresApi; @RequiresApi(api = Build.VERSION_CODES.HONEYCOMB) public class SettingsFragment extends PreferenceFragment { + SharedPreferences sharedPreferences; + @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.preferences); } - } diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml new file mode 100644 index 0000000..5462b40 --- /dev/null +++ b/app/src/main/res/values-fr/strings.xml @@ -0,0 +1,112 @@ + + + Amadeus + Se connecter à Kurisu ? + Connexion… + Déconnecté. + fr + fr-FR + Application Google non détectée. + Appel de Kurisu. + Vous manquez à votre waifu. + + + Paramètres de l\'application + Langue de reconnaissance vocale + Sélectionnez la langue pour la reconnaissance vocale + Langue + Sélectionnez la langue de l\'application (redémarrage requis) + Afficher les sous-titres + Affiche les sous-titres pour les réponses d\'Amadeus + Afficher Icône-"XP" + Affiche l\'icône dans la barre de notifications (redémarrage requis) + Paramètres de l\'alarme + Configurer l\'alarme + Sonnerie de l\'alarme + Sélectionner la sonnerie pour l\'alarme + Mode vibreur pour l\'alarme + Format 24 heures + + + Bonjour. + Ne m\'appelle pas comme ça ! + Mais je refuse. + Je n\'aurais jamais deviné que tu étais un tel pervers démoniaque. Je suppose que je t\'ai mal jugé. + Je suppose. + Bien joué. + PERVERS CONFIRMÉ. + Désolée. + Dur. + Ce gars est sans espoir, il faut faire quelque chose rapidement. + Gah. + Arrête d\'ajouter -tina ! + Pervers ! T\'es idiot !? Tu veux mourir ?! + Je m\'appelle Makise Kurisu, enchantée. + Qui donc est Christina ? + Ça me perturbe. Pourquoi suis-je Christina ? + Christina ? + Demandez-moi ce que vous voulez. Je ferai de mon mieux pour répondre. + Um, je peux t\'aider avec ça ? + Que veux-tu ? + Qu\'y a-t-il ? + Hehehe. + Huh ? Pourquoi dis-tu ça ? + Tu es sûr ? + Ravie de faire votre connaissance, Okabe Rintaro. Je m\'appelle Makise Kurisu. + J\'ai hâte de travailler avec vous. + Quoi qu\'il en soit, puis-je poser une question ? + Um… Senpai ? Excusez-moi. + Hey Senpai, au sujet de ce dont on parlait à l\'instant… + Uh, qui est-ce ? + Senpai, s\'il vous plaît, ne le dites pas aux autres… + Cela ne me satisfait toujours pas. + Cela ne fait aucun sens. + Voyons voir... Ma conclusion est que cela n\'est pas possible. + C\'est probablement car les scientifiques n\'ont encore rien découvert d\'important. + Mais on ne sait pas si c\'est réellement impossible, je suppose. + Une machine à voyager dans le temps, dites-vous ? + Même les humains se réfèrent à eux-mêmes comme une combinaison de hardware et de software, n\'est-ce pas ? + Mais la mémoire n\'est pas une donnée comme une autre. C\'est bien plus complexe. + Je tiens un journal intime. + Modifier mes souvenirs ? Théoriquement c\'est possible. + Par exemple, il serait possible de me faire croire que je m\'appelle Christina. + Gah. Ah… Aaaaah. + Génial, c\'est vraiment quelqu\'un ! + Génial ! + Oh non ! + Où sont les chamanes japonaises, Lintahlo ? + Nom de Dieu ! J\'avais bien dit qu\'il fallait venir tôt. + Ou aurais-je du me présenter ainsi : \"C\'est Christina\" ? + OK. + + + christina + nullpo + the zombie + celeb seventeen + atchannel + kurigohan + kamehameha + salieri + maho + hiyajo + machine à voyager dans le temps + cern + voyage dans le temps + mémoire + amadeus + science + bonjour + bonne matinée + bon après-midi + bonsoir + joli corps + chaud + sexy + nichons + oppai + Robotics Notes + antimatière + assistante + ouvrir + diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml new file mode 100644 index 0000000..aac696a --- /dev/null +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -0,0 +1,112 @@ + + + Amadeus + 连接到助手 + 连接中... + 断开连接 + en + en-US + 没有检测到Google App + 来自助手的电话 + 你的老婆想你了 + + + 设置 + 语音识别 + 选择语种 + 界面语言 + 选择界面语言 (需重启应用) + 显示字幕 + 显示Amadeus说的话 + 在状态栏显示 + 在状态栏显示提示 (需重启应用) + 闹钟设置 + 设置时间 + 闹钟铃声 + 选择闹钟铃声 + 响铃时震动 + 24小时制 + + + 你好。 + 别 那 样 叫 我。 + 但是我拒绝。 + 没想到你竟然这么变态,我看错你了。 + 也对呢。 + 干得漂亮。 + 变 态 确 定。 + 抱歉。 + 很幸苦呢。 + 这家伙没救了,必须要做点什么。 + 咔。 + 缇娜 禁止!! + 你个变态! 你是笨蛋? 想死吗?! + 说起来,还没正式自我介绍过。我叫牧瀬红莉栖,初次见面,请多关照。 + 谁是克莉斯缇娜啊?我可没说过。 + 我很好奇为什么我叫克莉斯缇娜? + 克莉斯缇娜? + 尽管问我吧,我会尽力回答你的。 + 那个,需要帮助吗? + 需要帮助吗? + 怎么了? + 呵呵呵。 + 哎? 为什么? + 是这样啊。 + 冈部伦太郎,初次见面,我是牧瀬红莉栖,请多指教。 + 请多指教。 + 那么前辈,我能再问一个问题吗? + 前辈? + 呐,前辈。关于刚才那件事... + 嗯,前辈,那边的那个人是? + 前辈,拜托请不要告诉其他人。 + 我对这件事不是很满意。 + 毫无意义呢。 + 有点道理,从理论上来讲时间机器也不是不可能的。 + 那是因为科学家还没发现问题的关键所在。 + 但是,也并不是说完全不可能,对吧? + 你指的是时间机器? + 人们不是也会把自己比作成由硬件和软件组合起来的吗? + 但是记忆数据和其他数据不同,是很复杂的。 + 也就是说,是秘密日记。 + 修改我的记忆? 理论上是可行的。 + 举例来说,可以做到让我认为自己的名字是克莉斯缇娜。 + 咔、啊、嗯嗯嗯... + 太棒了,他真的可以。 + 太棒了! + 天呐! + 被称为日本特色的巫女在哪?伦太郎。 + 天呐,所以我说咱们应该来早点。 + 还是说,我称呼自己为克莉斯缇娜更好一点? + 什么? + + + christina + nullpo + the zombie + celeb seventeen + atchannel + kurigohan + kamehameha + salieri + maho + hiyajo + time machine + cern + 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-zh-rTW/string.xml b/app/src/main/res/values-zh-rTW/string.xml deleted file mode 100755 index a06d0fb..0000000 --- a/app/src/main/res/values-zh-rTW/string.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - Amadeus - 連線到紅莉栖 - 連線中... - 關閉連線 - zh-rTW - en-US - 未偵測到Google App - 來自紅莉栖的電話 - 老婆在想你了 - - - 設定 - 語音辨識 - 選擇語音辨識時的語系 - 語系 - 選擇介面使用的語系 (需重新啟動) - 顯示字幕 - 在Amadeus說話時顯示字幕 - 在狀態欄顯示 - 在狀態欄顯示通知 (需重新啟動) - 鬧鐘設定 - 設定時間 - 鬧鐘鈴聲 - 選擇鬧鐘鈴聲 - 鈴響時震動 - 24小時制 - - - 哈囉。 - 不-準-這-樣-叫-我! - 所以我拒絕。 - 我從來沒想過你竟然這麼變態,真是看錯你了! - …也是。 - nice! - 變態確定! - 抱歉… - 辛苦了呢。 - 沒救了這傢伙,得快點做些什麼。 - 咔! - 去掉後面的「汀娜」!! - 你這個變態!!你是笨蛋嗎?想死嗎? - 說起來,還沒正式自我介紹過呢。我是牧瀨紅莉栖,初次見面,請多關照。 - 誰是克莉絲汀娜!!我才沒說過。 - 我很好奇,為什麼我叫做克莉絲汀娜? - 克莉絲汀娜?? - 什麼都可以問我,我會盡力回答的。 - 那個,需要幫忙嗎? - 需要幫忙嗎? - 怎麼了呢? - 呵呵呵。 - 咦? 為什麼這麼說? - 是嗎? - 岡部倫太郎…初次見面,我是牧瀨紅莉栖。 - 請多指教。 - 那麼前輩,我可以再問一個問題嗎? - 前輩?! - 吶,前輩,剛剛的說的... - 那個…前輩,這位是? - 前輩!!拜託,無論如何都對其他人保密! - 我不能接受… - 完全nonsense呢。 - 這個嘛…,從結論來看,時間機器是不可能的。 - 可能只是因為科學家還沒發現某些關鍵要素,對吧? - 但是,也不能完全否定它的可能性。 - 你說…時間機器? - 人們不也常說自己是由硬體和軟體組合成的嗎? - 然而,和一般的資料相比,記憶資料遠複雜得多。 - 就像是,秘密的日記呢。 - 修改我的記憶?理論上是可行的。 - 舉例來說,可以做到讓我以為自己的名字是克莉絲汀娜。 - 咔、啊、啊啊啊... - 太棒了,他真的不簡單。 - Nice! - Oh, No! - 哪裡!哪裡有日本巫女?!?倫太郎。 - 天吶!所以我說我們該早點來的。 - 還是說,我該介紹自己是克莉絲汀娜比較好呢? - 什麼? - diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 4e16135..c13ffb7 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -6,7 +6,9 @@ Português Español Italiano + French 日本語 + 简体中文 繁體中文 @@ -16,7 +18,9 @@ pt es it + fr ja + zh-rCN zh-rTW diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index aac696a..854dede 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,83 +1,83 @@ Amadeus - 连接到助手 - 连接中... - 断开连接 + Connect to Kurisu? + Connecting… + Disconnected. en en-US - 没有检测到Google App - 来自助手的电话 - 你的老婆想你了 + Google App wasn\'t detected. + Call from Kurisu. + Your waifu misses you. - 设置 - 语音识别 - 选择语种 - 界面语言 - 选择界面语言 (需重启应用) - 显示字幕 - 显示Amadeus说的话 - 在状态栏显示 - 在状态栏显示提示 (需重启应用) - 闹钟设置 - 设置时间 - 闹钟铃声 - 选择闹钟铃声 - 响铃时震动 - 24小时制 + Application settings + Recognition language + Select voice recognition language + Language + Select app language (app restart required) + Show subtitles + Shows subtitles for Amadeus\' answers + Show "XP"-Icon + Shows Icon in the notification bar (app restart required) + Alarm settings + Alarm setup + Alarm ringtone + Select ringtone for alarm + Vibrate on alarm + 24-hour format - 你好。 - 别 那 样 叫 我。 - 但是我拒绝。 - 没想到你竟然这么变态,我看错你了。 - 也对呢。 - 干得漂亮。 - 变 态 确 定。 - 抱歉。 - 很幸苦呢。 - 这家伙没救了,必须要做点什么。 - 咔。 - 缇娜 禁止!! - 你个变态! 你是笨蛋? 想死吗?! - 说起来,还没正式自我介绍过。我叫牧瀬红莉栖,初次见面,请多关照。 - 谁是克莉斯缇娜啊?我可没说过。 - 我很好奇为什么我叫克莉斯缇娜? - 克莉斯缇娜? - 尽管问我吧,我会尽力回答你的。 - 那个,需要帮助吗? - 需要帮助吗? - 怎么了? - 呵呵呵。 - 哎? 为什么? - 是这样啊。 - 冈部伦太郎,初次见面,我是牧瀬红莉栖,请多指教。 - 请多指教。 - 那么前辈,我能再问一个问题吗? - 前辈? - 呐,前辈。关于刚才那件事... - 嗯,前辈,那边的那个人是? - 前辈,拜托请不要告诉其他人。 - 我对这件事不是很满意。 - 毫无意义呢。 - 有点道理,从理论上来讲时间机器也不是不可能的。 - 那是因为科学家还没发现问题的关键所在。 - 但是,也并不是说完全不可能,对吧? - 你指的是时间机器? - 人们不是也会把自己比作成由硬件和软件组合起来的吗? - 但是记忆数据和其他数据不同,是很复杂的。 - 也就是说,是秘密日记。 - 修改我的记忆? 理论上是可行的。 - 举例来说,可以做到让我认为自己的名字是克莉斯缇娜。 - 咔、啊、嗯嗯嗯... - 太棒了,他真的可以。 - 太棒了! - 天呐! - 被称为日本特色的巫女在哪?伦太郎。 - 天呐,所以我说咱们应该来早点。 - 还是说,我称呼自己为克莉斯缇娜更好一点? - 什么? + Hello. + Don\'t call me like that! + But I refuse. + I never thought you were such a devilish pervert. I guess I misjudged you. + I guess. + Nice. + PERVERT CONFIRMED. + Sorry. + Sounds tough. + This guy is hopeless, better do something quick. + Gah. + Stop adding -tina! + You pervert! Are you an idiot!? Do you wanna die?! + I\'m Makise Kurisu, pleased to meet you. + Who the hell is Christina? + I am worried about it. Why am I Christina? + Christina? + Ask me whatever you want. I\'ll answer anything I can. + Um, could I help you with that? + What do you want? + What is it? + Hehehe. + Huh? Why do you say that? + You sure? + Nice to meet you, Okabe Rintaro. I\'m Makise Kurisu. + I look forward to working with you. + Anyway, can I ask a question? + Um� Senpai? Excuse me. + Hey Senpai, about what we were just talking about� + Uh, who is this? + Senpai, please, don\'t tell the others� + I\'m still not happy about that. + That\s pure nonsense. + Let\'s see� My conclusion is that it\'s not possible. + That\'s probably because scientists haven\'t discovered something important yet. + But we don\'t know for sure that it\'s impossible, I guess. + A time machine, you said? + Even humans speak of themselves as a combination of hardware and software, right? + But memory data isn\'t like normal data. It\'s much more complex. + I keep a secret diary. + Modifying my memories? It\'s theoretically possible. + For example, it would be possible to make me think my name was Christina. + 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. + Or should I have introduced myself with, \"It\'s Christina\"? + OK. christina @@ -109,4 +109,4 @@ antimatter assistant open - + \ No newline at end of file diff --git a/build.gradle b/build.gradle index 1ea4bd0..f209f27 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,13 @@ buildscript { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } dependencies { - classpath 'com.android.tools.build:gradle:2.3.0' + classpath 'com.android.tools.build:gradle:3.0.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -15,6 +19,10 @@ buildscript { allprojects { repositories { jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 04e285f..2ee8382 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Dec 28 10:00:20 PST 2015 +#Thu Nov 02 16:31:21 CET 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip