[Koha-bugs] [Bug 15395] Allow correct handling of plural translation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 11 10:31:35 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15395

--- Comment #31 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Marc Véron from comment #30)
> However it seems that the second part of line 630 in results.tt is no longer
> picked for translation or does not translate properly (n available rsp. None
> available). I have the impression that the rest of the line after the plural
> stuff is skipped.

This is expected, quite annoying, but expected. Due to the way the template
strings extractor works (not the new one brought by this bug but the current
one), almost every change in a template will result in a change in the PO file.

For instance,
  msgid "%s %s %sitems%sitem%s%s, %s available:%s, None available%s %s "
will be changed to
  msgid "%s %s %s%s, %s available:%s, None available%s %s "
and will be marked as "fuzzy" so it will not be used.

But you can fix the translation, remove the fuzzy flag, and run ./translate
install. Text will be translated again.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list