android/source/res/values-de/strings.xml | 1 - 1 file changed, 1 deletion(-)
New commits: commit 06aa504cdd0c4be14651e20c20983a11e03cf077 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Mon Apr 11 17:06:21 2022 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Mon Apr 11 17:16:11 2022 +0200 android: Drop leftover German translation The English string had already been dropped in commit a23bd42e9b2f6401c710ac95afcc3aa8f360d65c Author: Michael Weghorn <m.wegh...@posteo.de> Date: Tue Apr 6 14:26:06 2021 +0200 android: Drop custom file abstraction + UI While the leftover German translation is just ignored in development builds, it resulted in an error when building a release APK like this: > ./gradlew assembleStrippedUIEditingRelease > warn: removing resource org.libreoffice:string/filter without required default value. > > > > Task :compileStrippedUIEditingReleaseJavaWithJavac > warning: [options] source value 6 is obsolete and will be removed in a future release > warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. > Note: /home/michi/development/git/libreoffice-WORKTREE-for-android-x86/android/source/src/java/org/libreoffice/SettingsActivity.java uses or overrides a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > Note: /home/michi/development/git/libreoffice-WORKTREE-for-android-x86/android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 2 warnings > > > Task :lintVitalStrippedUIEditingRelease > /home/michi/development/git/libreoffice-WORKTREE-for-android-x86/android/source/res/values-de/strings.xml:28: Error: "filter" is translated here but not found in default locale [ExtraTranslation] > <string name="filter">Filtern nach</string> > ~~~~~~~~~~~~~ > > Explanation for issues of type "ExtraTranslation": > If a string appears in a specific language translation file, but there is > no corresponding string in the default locale, then this string is probably > unused. (It's technically possible that your application is only intended > to run in a specific locale, but it's still a good idea to provide a > fallback.) > > Note that these strings can lead to crashes if the string is looked up on > any locale not providing a translation, so it's important to clean them > up. > > 1 errors, 0 warnings > > > Task :lintVitalStrippedUIEditingRelease FAILED > > FAILURE: Build failed with an exception. Change-Id: I9a6c984d3250852d0e806cffdff81770ed868299 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132711 Tested-by: Michael Weghorn <m.wegh...@posteo.de> Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/android/source/res/values-de/strings.xml b/android/source/res/values-de/strings.xml index 5342cf73ad7e..e1a87da475bf 100644 --- a/android/source/res/values-de/strings.xml +++ b/android/source/res/values-de/strings.xml @@ -25,7 +25,6 @@ <string name="browser_app_name">LibreOffice Browser</string> <string name="menu_search">Suchen</string> - <string name="filter">Filtern nach</string> <string name="search_not_found">Suchbegriff nicht gefunden</string> <string name="menu_preferences">Einstellungen</string> <string name="file_icon_desc">Datei-Icon</string>