diff --git a/app/build.gradle b/app/build.gradle index fc4b3ea..7d48672 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { - compileSdkVersion 31 + compileSdkVersion 33 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 @@ -16,7 +16,7 @@ android { defaultConfig { applicationId "com.gocoronago.tracker" minSdkVersion 19 - targetSdkVersion 31 + targetSdkVersion 33 versionCode 40200 versionName "4.2.0" @@ -35,6 +35,7 @@ android { lint { abortOnError false } + namespace 'com.example.gocoronago' } dependencies { @@ -42,15 +43,15 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation 'com.airbnb.android:lottie:3.4.4' kapt "com.android.databinding:compiler:$android_plugin_version" - implementation 'androidx.core:core-ktx:1.6.0' - implementation 'com.google.code.gson:gson:2.8.6' + implementation 'androidx.core:core-ktx:1.9.0' + implementation 'com.google.code.gson:gson:2.8.7' implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation "com.squareup.retrofit2:converter-gson:2.9.0" - implementation 'androidx.appcompat:appcompat:1.3.1' - implementation 'androidx.constraintlayout:constraintlayout:2.1.1' + implementation 'androidx.appcompat:appcompat:1.5.1' + implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' - implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1' - implementation 'com.google.android.material:material:1.4.0' + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' + implementation 'com.google.android.material:material:1.6.1' implementation 'com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.3' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 8a49dec..37149e1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,5 @@ - + diff --git a/app/src/main/java/com/example/gocoronago/about/AboutFragment.kt b/app/src/main/java/com/example/gocoronago/about/AboutFragment.kt index 2e6f1ae..87d2954 100644 --- a/app/src/main/java/com/example/gocoronago/about/AboutFragment.kt +++ b/app/src/main/java/com/example/gocoronago/about/AboutFragment.kt @@ -28,6 +28,7 @@ class AboutFragment : Fragment() { Contributor("Matthew Scibilia", "\uD83C\uDDE6\uD83C\uDDFA"), Contributor("MR Abdhi P", "🇮🇩"), Contributor("Akshai Baruah", "🇮🇳"), + Contributor("Ananya Shanker", "🇮🇳"), ) override fun onCreateView( diff --git a/app/src/main/java/com/example/gocoronago/ui/main/MainViewModelFactory.kt b/app/src/main/java/com/example/gocoronago/ui/main/MainViewModelFactory.kt index 77bcdf9..41aa60d 100644 --- a/app/src/main/java/com/example/gocoronago/ui/main/MainViewModelFactory.kt +++ b/app/src/main/java/com/example/gocoronago/ui/main/MainViewModelFactory.kt @@ -6,7 +6,7 @@ import androidx.lifecycle.ViewModelProvider class MainViewModelFactory : ViewModelProvider.NewInstanceFactory() { - override fun create(modelClass: Class): T { + override fun create(modelClass: Class): T { return MainViewModel() as T } } \ No newline at end of file diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index a6b3dae..735cbfb 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,2 +1,43 @@ - - \ No newline at end of file + + + + Weltweiter Corona Tracker + Suche + Dunkel + Hell + + Total Cases Worldwide + Gesamtheit der weltweit geheilten Fälle + Gesamtzahl der Todesfälle weltweit + + Gesamtanzahl bestätigter Fälle + Gesamtanzahl der geheilten Fälle\n%d + Gesamttodesfälle\n%d + Weltweit + Land auswählen + Nichts ausgewählt + Spinner 2 Position: %d und Sprache: %s + Ausgewähltes Land: %s + + + Über uns + GoCoronaGo + Version + Mitwirkende + + Wiederholung + Oops! Etwas ist schief gelaufen :( + + + + Zuhause bleiben Tipps + Mund und Nase mit einer Maske bedecken. + Bleiben Sie zu Hause und gehen Sie nicht aus, wenn es nicht sehr wichtig ist. + Decken Sie Nase und Mund mit dem angewinkelten Ellbogen oder einem Taschentuch ab, wenn Sie husten oder niesen. + Waschen Sie sich häufig die Hände. Verwenden Sie Wasser und Seife oder ein alkoholhaltiges Handreinigungsmittel. + Halten Sie, wann immer möglich, einen sicheren Abstand zu anderen Menschen. + Bleiben Sie in Kontakt mit Ihren Lieben, damit sich niemand in diesen schweren Zeiten allein fühlt. + + + + diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 2085b55..4d4f6ca 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -1,6 +1,6 @@ -
- Principales --> + Suiveur de Corona mondial Recherche Foncé @@ -11,8 +11,7 @@ Total des décès dans le monde Total des cas confirmés\n%d - Total des cas guéris\n%d - Total des cas guéris\n%d + Total des cas guéris\n%d Total des décès\n%d Mondial Sélectionnez un pays @@ -27,15 +26,15 @@ Contributeurs Retry - Oops ! Quelque chose s'est mal passé :( + Oops ! Quelque chose s\'est mal passé :( Stay Home Tips Couvrir la bouche et le nez avec un masque. - Rester à la maison et éviter de sortir sauf si c'est très important. + Rester à la maison et éviter de sortir sauf si c\'est très important. Couvrez votre nez et votre bouche avec votre coude plié ou un mouchoir en papier lorsque vous toussez ou éternuez. - Lavez-vous souvent les mains. Utilisez du savon et de l'eau, ou un produit de friction pour les mains à base d'alcool. + Lavez-vous souvent les mains. Utilisez du savon et de l\'eau, ou un produit de friction pour les mains à base d\'alcool. Gardez une distance de sécurité avec les gens chaque fois que possible. Restez en contact avec vos proches afin que personne ne se sente seul dans ces moments difficiles. diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index a6b3dae..d74dbad 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -1,2 +1,43 @@ - - \ No newline at end of file + + + + Worldwide Corona Tracker + Zoek + Dark + Light + + Totaal aantal gevallen wereldwijd + Totaal genezen wereldwijd + Totaal aantal sterfgevallen wereldwijd + + Totaal bevestigde gevallen wereldwijd + Totaal genezen gevallenn%d + Totaal aantal sterfgevallen + Worldwide + Selecteer land + Niets geselecteerd + Spinner 2 Positie: %d en taal: %s + Land geselecteerd: %s + + + Over ons + GoCoronaGo + Version + Contributors + + Retry + Oeps! Er is iets fout gegaan :( + + + + Stay Home Tips + Mond en neus bedekken met masker. + Blijf thuis en vermijd uitgaan tenzij het heel belangrijk is. + bedek je neus en mond met je gebogen elleboog of een tissue als je hoest of niest. + Schoon uw handen vaak. Gebruik water en zeep of een handmelk op alcoholbasis. + Blijf waar mogelijk op veilige afstand van mensen. + Blijf in contact met je dierbaren zodat niemand zich alleen voelt in deze moeilijke tijden. + + + + diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index a6b3dae..c7f4c06 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -1,2 +1,42 @@ - - \ No newline at end of file + + + + Worldwide Corona Tracker + 搜索 + Dark + Light + + Total Cases Worldwide + 世界范围内的治愈总数 + 世界范围内的死亡总数 + + Total Confirmed Cases\n%d + Total Cured Cases\n%d + Total Deaths/n%d + Worldwide + 选择国家 + 没有选择 + Spinner 2 Position: %d and language: %s + 选择的国家: %s + + + 关于我们 + GoCoronaGo + 版本 + Contributors + + 重试 + Oops! 出错了 : + + + + 呆在家里的提示 + 用口罩遮住嘴巴和鼻子。 + 呆在家里,除非有非常重要的事情,否则不要外出。 + 当你咳嗽或打喷嚏时,用弯曲的肘部或纸巾遮住你的鼻子和嘴巴。 + 经常清洁你的双手。使用肥皂和水,或使用以酒精为基础的擦手液。 + 尽可能地与人保持安全距离。 + 与你的亲人保持联系,这样就不会有人在这些艰难的时刻感到孤独。 + + + diff --git a/build.gradle b/build.gradle index cdd34e6..524f645 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,15 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = "1.5.30" - ext.android_plugin_version = '7.1.2' + ext.kotlin_version = "1.7.20" + ext.android_plugin_version = '7.3.1' repositories { google() + mavenCentral() jcenter() } dependencies { classpath "com.android.tools.build:gradle:$android_plugin_version" - classpath 'com.android.tools.build:gradle:7.1.2' + classpath 'com.android.tools.build:gradle:7.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong @@ -19,6 +20,7 @@ buildscript { allprojects { repositories { google() + mavenCentral() jcenter() } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 5b55f1f..1350606 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip