Skip to content

Commit

Permalink
feat: Add support for per-app language preferences (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenjacobs authored Jan 5, 2024
1 parent ab3e4ed commit 6dd60e2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

@file:Suppress("UnstableApiUsage")

import java.util.Properties

plugins {
Expand Down Expand Up @@ -104,6 +106,10 @@ android {
lint {
disable.add("EnsureInitializerMetadata")
}

androidResources {
generateLocaleConfig = true
}
}

play {
Expand Down
18 changes: 18 additions & 0 deletions app/src/main/res/resources.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# Léon - The URL Cleaner
# Copyright (C) 2024 Sven Jacobs
#
# 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/>.
#
unqualifiedResLocale=en-US

0 comments on commit 6dd60e2

Please sign in to comment.