Skip to content

Commit

Permalink
Add app language support
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisBodin committed Aug 31, 2023
1 parent c28ec4d commit ad2cadc
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Core
Submodule Core updated 1 files
+1 −1 build.gradle
6 changes: 5 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ android {
events 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
}
}

androidResources {
generateLocaleConfig true
}
}

sentry {
Expand Down Expand Up @@ -134,7 +138,7 @@ dependencies {
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta02'
implementation 'androidx.webkit:webkit:1.7.0'

def exoplayer_version = '2.19.0'
def exoplayer_version = '2.19.1'
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-ui:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer:$exoplayer_version"
Expand Down
20 changes: 20 additions & 0 deletions app/src/main/res/resources.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Infomaniak kDrive - Android
# Copyright (C) 2023 Infomaniak Network SA
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

# Set default locale
unqualifiedResLocale=en
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3'
classpath 'io.realm:realm-gradle-plugin:10.15.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.android.tools.build:gradle:8.0.2'
classpath 'com.android.tools.build:gradle:8.1.1'
classpath 'com.google.gms:google-services:4.3.15'
classpath 'de.mannodermaus.gradle.plugins:android-junit5:1.9.3.0'
}
Expand Down

0 comments on commit ad2cadc

Please sign in to comment.