Skip to content

Commit

Permalink
Merge branch 'master' into l10n_master
Browse files Browse the repository at this point in the history
  • Loading branch information
flauschtrud committed Mar 26, 2024
2 parents 54fc9c7 + 05f3b13 commit 51ad77d
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 13 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Available languages so far:
- French (done by non-native, feel free to report any issues)
- German
- Polish (thanks a lot to [r-tw0](https://github.com/r-tw0) for your help!)
- Italian (thanks a lot to [bruce965](https://github.com/bruce965) for your help!)
- Chinese (thanks a lot to [leongjs98](https://github.com/leongjs98) for your help!)

### Seasonal Calendars
If you want to contribute by researching data for additional seasonal calendars please contact me.
21 changes: 12 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId "com.flauschcode.broccoli"
minSdkVersion 26
targetSdk 34
versionCode 1020500
versionName "1.2.5"
versionCode 1020600
versionName "1.2.6"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
Expand Down Expand Up @@ -44,6 +44,9 @@ android {
dimension "appstore"
}
}
androidResources {
generateLocaleConfig = true
}
buildFeatures {
dataBinding = true
buildConfig = true
Expand Down Expand Up @@ -94,25 +97,25 @@ dependencies {

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
runtimeOnly group: 'com.google.android.material', name: 'material', version: '1.9.0'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'
runtimeOnly group: 'com.google.android.material', name: 'material', version: '1.11.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

def nav_version = "2.7.1"
def nav_version = "2.7.6"
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"

implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation "androidx.viewpager2:viewpager2:1.0.0"
implementation 'id.zelory:compressor:2.1.1' // 3.0.0 does not work with Java

def room_version = "2.5.2"
def room_version = "2.6.1"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
testImplementation "androidx.room:room-testing:$room_version"

def fragment_version = "1.6.1"
def fragment_version = "1.6.2"
implementation "androidx.fragment:fragment:$fragment_version"
debugImplementation ("androidx.fragment:fragment-testing:$fragment_version"){
exclude group: 'androidx.test', module : 'core'
Expand All @@ -121,7 +124,7 @@ dependencies {
def preference_version = "1.2.1"
implementation "androidx.preference:preference:$preference_version"

def billing_version = "6.0.1"
def billing_version = "6.1.0"
playImplementation "com.android.billingclient:billing:$billing_version"

playImplementation 'com.google.android.play:core:1.10.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void import_new_recipe_with_arrified_json() {
onView(withId(R.id.new_preparation_time)).check(matches(withText("25m")));
onView(withId(R.id.new_description)).check(matches(withSubstring("Dieses Grundrezept für Fladenbrot ohne Hefe passt zu vielen Gerichten. Das einfache und schnelle Rezept ist sehr variabel.")));
onView(withId(R.id.new_ingredients)).check(matches(withText("200 g Mehl, Type 550\n3 EL Olivenöl (oder Pflanzenöl)\n3 EL Olivenöl (oder Pflanzenöl)\n1 Prise Salz\n100 ml Wasser")));
onView(withId(R.id.new_directions)).check(matches(withText("Zuerst das Mehl in eine Schüssel geben, Salz, Wasser und Olivenöl dazugeben und alle Zutaten zu einem Teig verkneten - am besten mit der Hand.\nDann den Teig für 10 Minuten quellen lassen und erneut für 5 Minuten kneten, so dass ein glatter Teig entsteht.\nSpäter aus dem Teig 4 dünne Fladen formen, eine gusseiserne Pfanne (=unbeschichtet) ohne Fett erhitzen und die Teigfladen darin nacheinander backen bis sich die ersten braunen Flecken zeigen.\nIm Anschluss die Fladen wenden und auch auf der anderen Seite backen. Video zum Rezept")));
onView(withId(R.id.new_directions)).check(matches(withText("Zuerst das Mehl in eine Schüssel geben, Salz, Wasser und Olivenöl dazugeben und alle Zutaten zu einem Teig verkneten - am besten mit der Hand.\nDann den Teig für 10 Minuten quellen lassen und erneut für 5 Minuten kneten, so dass ein glatter Teig entsteht.\nSpäter aus dem Teig 4 dünne Fladen formen, eine gusseiserne Pfanne (=unbeschichtet) ohne Fett erhitzen und die Teigfladen darin nacheinander backen bis sich die ersten braunen Flecken zeigen.\nIm Anschluss die Fladen wenden und auch auf der anderen Seite backen.")));
}

@Test
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/resources.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unqualifiedResLocale=en
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.1'
classpath 'com.android.tools.build:gradle:8.1.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/de-DE/changelogs/1020600.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Broccoli wurde ins Chinesische und Italienische übersetzt!
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/1020600.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Broccoli has been translated to Chinese and Italian!
1 change: 1 addition & 0 deletions fastlane/metadata/android/es-ES/changelogs/1020600.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
¡Broccoli se ha traducido al chino y al italiano!
1 change: 1 addition & 0 deletions fastlane/metadata/android/fr-FR/changelogs/1020600.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Broccoli a été traduit en chinois et en italien !
1 change: 1 addition & 0 deletions fastlane/metadata/android/it-IT/changelogs/1020600.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Broccoli è stato tradotto in cinese e in italiano!
1 change: 1 addition & 0 deletions fastlane/metadata/android/pl-PL/changelogs/1020600.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Broccoli zostały przetłumaczone na język chiński i włoski!
1 change: 1 addition & 0 deletions fastlane/metadata/android/zh-CN/changelogs/1020600.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Broccoli 已被翻译成中文和意大利文!
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ org.gradle.jvmargs=-Xmx1536m
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

android.experimental.testOptions.managedDevices.allowOldApiLevelDevices=true
org.gradle.configuration-cache=true

0 comments on commit 51ad77d

Please sign in to comment.