This is also complicated by English using two different nouns: One
*match* found VS %1 results. Some good person translated *match* as
*game* BTW!
Strictly speaking, in terms of grammar of numbers, the Irish
distribution is correct (zero with the Other group), but colloquially
people don’t really talk about “zero results” (0/náid torthaí) they say
“no results” (toradh ar bith).
Ar 16/10/26 12:16 r.n., scríobh Neil Roberts:
Hi Andika,
Andika Triwidada<andika@gmail.com> writes:
Quite interesting bug you found :D
Actually in weblate, we translator get a hint, but a very confusing one:
https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/id/?checksum=358910cf6353536a
Above top translation entry field states "Indonesian, Singular (0, 1)"
while above bottom translation entry says: "Indonesian, Plural (2, 3, 4, 5,
6, 7, 8, 9, 10, 11, …)"
I didn't understand that hint before reading your post.
Oh, I didn’t know about that. That’s nice to know.
Proper thing to do, I think, is to report a bug against those strings
with "Impossible to translate into some languages"
It’s not actually impossible to translate. For these languages the
translator should translate the first string as something like “%1 match
found” and that will come out as either “0 match found” or “1 match
found”, while something like “0 match found” is presumably not supposed
to sound weird in those languages.
Alternatively we could fix the code by adding a special string for the
case where there are no matches, eg, “no matches found”. This has the
advantage that it will seem more natural in English too. I made a bug
and patches for that approach:
https://bugs.documentfoundation.org/show_bug.cgi?id=173991
But even if we go with that approach then the translators might want to
fix the string anyway so that it will look correct in 26.8 because we
can’t add any new strings there.
Regards,
– Neil
--
`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`~:.,.:'^`
S e á n Ó S é a g h d h a sean.anseo [at] gmail.com
Tosach sláinte codladh, agus deireadh sláinte osna. Seanfhocal.
--
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.