Closed rubdos closed 2 years ago
The issue you've reported needs to be addressed in the translate-toolkit. Please file the issue there, and include links to any relevant specifications about the formats (if applicable).
Duplicate of https://github.com/translate/translate/issues/786
Describe the issue
Weblate seems to have a singular and plural form for
%n
-style translations, whilelupdate
wants to remove these:Example on Weblate:
https://hosted.weblate.org/translate/whisperfish/whisperfish-application/tr/?offset=1&q=whisperfish-message-action-resend&sort_by=-priority%2Cposition&checksum=
I don't know Turkish, so I am definitely not qualified to decide on this. Since I regularly run
lupdate
on the translations to update the line numbers and context, and insert new trId's (in fact, I run it in CI), it would be great if Weblate and lupdate agreed on this.Finally, I would like to note that all plural forms that I got from my Turkish translator were the same as the singular, except for one:
Plural translations deleted by `lupdate` that have the same text as their singulars
```diff diff --git a/translations/harbour-whisperfish-tr.ts b/translations/harbour-whisperfish-tr.ts index 95763d9..5ae2998 100644 --- a/translations/harbour-whisperfish-tr.ts +++ b/translations/harbour-whisperfish-tr.ts @@ -286,7 +286,6 @@I already tried
Steps to reproduce the behavior
%n
-style numerusform.lupdate
, e.g.lupdate qml/ -noobsolete -ts translations/*.ts
and see the diffExpected behavior
Either Weblate should not provide a plural, or this is a
lupdate
bug andlupdate
should not delete the plural form.Screenshots
No response
Exception traceback
No response
How do you run Weblate?
weblate.org service
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response