Conversation
ross252004
commented
Feb 21, 2026
- This commit fixes the deprecated Locale features (deprecated Locale constructor is changed with Locale Builder). I plan to keep working on other deprecated features to replace them with working ones.
- Also, one change to Russian translate was made because it was not translated correctly.
…ls.java (line 801 and line 807).
|
Thanks, I'll try to have a look at this later, hopefully I have time next week. For translation changes, please submit those through Weblate instead of by code as written in CONTRIBUTING.md. Using Weblate prevents merge conflicts in translations and ensures some basic quality checks are done. |
|
Okay, got it. Will do. |
- Fixed deprecated feature in build.gradle.kts app file called "resourceConfigigurations". Changed it to localeFilters feature. - Fixed a few others deprecated features but not all
|
I just pushed another commit. Here are the new fix ups:
|
TheLastProject
left a comment
There was a problem hiding this comment.
Lots of different changes in this one MR, makes it hard to review honestly.
Please do one change per MR next time, so we can fix one thing and that fix isn't blocked by other changes and it's clear what is needed for what.
| } | ||
| Intent.ACTION_SEND -> { | ||
| intent.getParcelableExtra(Intent.EXTRA_STREAM) | ||
| @Suppress("DEPRECATION") intent.getParcelableExtra(Intent.EXTRA_STREAM) |
There was a problem hiding this comment.
Please don't suppress deprecations, I want it to be loud in the logs because it's wrong and needs fixing :)
| private fun scaleScreen() { | ||
| val displayMetrics = DisplayMetrics() | ||
| windowManager.defaultDisplay.getMetrics(displayMetrics) | ||
| @Suppress("DEPRECATION") windowManager.defaultDisplay.getMetrics(displayMetrics) |
There was a problem hiding this comment.
Please don't suppress deprecations, I want it to be loud in the logs because it's wrong and needs fixing :)
| <string name="importOptionFilesystemButton">Выбрать файл</string> | ||
| <string name="about">О приложении</string> | ||
| <string name="app_license">Авторское лево свободного программного обеспечения, лицензия GPLv3+</string> | ||
| <string name="app_license">Программное обеспечение, распространяемое по лицензии Copyleft (GPLv3+).</string> |
There was a problem hiding this comment.
Please remove this commit. Language changes through Weblate only please.
| androidResources { | ||
| localeFilters.addAll(listOf("ar", "be", "bg", "bn", "bn-rIN", "bs", "cs", "da", "de", "el-rGR", "en", "eo", "es", "es-rAR", "et", "fa", "fi", "fr", "gl", "he-rIL", "hi", "hr", "hu", "in-rID", "is", "it", "ja", "ko", "lt", "lv", "nb-rNO", "nl", "oc", "peo", "pl", "pt", "pt-rBR", "pt-rPT", "ro-rRO", "ru", "sk", "sl", "sr", "sv", "ta", "tr", "uk", "vi", "zh-rCN", "zh-rTW")) | ||
| } |
There was a problem hiding this comment.
Can't merge this as-is, as it also needs changes in the
Lines 19 to 25 in 9121df1
Please try to only fix one issue per MR, so that I can merge the things not blocked by other changes :)
I think it may be best to make a MR for just the locale fix, that's a small easy fix I can easily test and merge :)
| isMinifyEnabled = true | ||
| proguardFiles( | ||
| getDefaultProguardFile("proguard-android.txt"), | ||
| getDefaultProguardFile("proguard-android-optimize.txt"), |
There was a problem hiding this comment.
What is this change for?
|
|
||
| plugins { | ||
| alias(libs.plugins.com.android.application) | ||
| alias(libs.plugins.org.jetbrains.kotlin.android) |
There was a problem hiding this comment.
Is there a reason to remove the Kotlin plugin? Is this best practice? Where is this documented?
| com-android-application = { id = "com.android.application", version = "8.13.2" } | ||
| org-jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version = "2.3.10" } |
There was a problem hiding this comment.
Is there a reason to remove the Kotlin plugin? Is this best practice? Where is this documented?
|
|
||
| plugins { | ||
| alias(libs.plugins.com.android.application) apply false | ||
| alias(libs.plugins.org.jetbrains.kotlin.android) apply false |
There was a problem hiding this comment.
Is there a reason to remove the Kotlin plugin? Is this best practice? Where is this documented?
| android.defaults.buildfeatures.resvalues=true | ||
| android.sdk.defaultTargetSdkToCompileSdkIfUnset=false | ||
| android.enableAppCompileTimeRClass=false | ||
| android.usesSdkInManifest.disallowed=false | ||
| android.uniquePackageNames=false | ||
| android.dependency.useConstraints=true | ||
| android.r8.strictFullModeForKeepRules=false | ||
| android.r8.optimizedResourceShrinking=false |
| plugins { | ||
| id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0" | ||
| } |
There was a problem hiding this comment.
What is this and why is it necessary?