The English string had already been dropped in
commit a23bd42e9b
Author: Michael Weghorn <m.weghorn@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/+/132834
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>