z-huang / InnerTune

A Material 3 YouTube Music client for Android
GNU General Public License v3.0
4.25k stars 265 forks source link

Linter complains about missing plurals when Weblate does translation cleanup #1591

Open lucasmz-dev opened 2 weeks ago

lucasmz-dev commented 2 weeks ago

Weblate has an add-on "Cleanup translation files", when it was previously added, it cleaned up plurals for certain languages, this caused an issue where the linter would complain about the missing plural type. Except that these plurals have no issues not being there, as they would be the same as the 'other', being used anyway.

I believe this would also be triggered if a translation that's affected by this issue is modified via Weblate

This issue seems to be caused by https://github.com/WeblateOrg/weblate/issues/7520

I would like to turn this component on, but it'd require fixing this first, if it's possible to disable linting for translations completely or just that specific issue, that'd probably make sense, Weblate does do some of this work for us

lucasmz-dev commented 2 weeks ago

Example:

https://github.com/z-huang/InnerTune/actions/runs/10760907383/job/29839466015#step:4:246