In “planlibs.po”, you cna find the following translatable string: %1, %2 hours I think it would be nice being able to be able to translate it in plural form: %1, %2 hour %1, %2 hours Reproducible: Always
%2 is not given as an integer, but as a floating point number. So special numbers like 0, 1 etc. are still printed as 0.0, 0.1, etc. So I would think that hours in any case makes sense, or?
It makes sense in Galician and Spanish at least, where anything != 1 is considered plural (not sure how other languages behave about this). For example: 2 horas, 1 hora, 0.5 horas, 0.1 horas, 0 horas.
Hi. Finally picked up again: What about 1.0? Would that be 1.0 hora or 1.0 horas? The latter, no? I was to do as proposed and use i18ncp, but when asking for how to use it correctly, I was instead hinted that in this case the current code is just fine, as it uses KLocale::formatNumber(double v) to create the string for the hours, so would also print 1.0000 not as 1, but as floating point 1.000 or 1,00 or whatever. At least if noone has set decimalPlaces to 0 in their locale. Are there people who would do that? See for the discussion http://lists.kde.org/?t=138532530500001&r=1&w=2 So, what do you think, can we close this bug as INVALID?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!