Bug 28877 - Fix warns in logs when using plural translations
Summary: Fix warns in logs when using plural translations
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 26979
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-18 09:50 UTC by Katrin Fischer
Modified: 2021-08-18 15:02 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2021-08-18 09:50:50 UTC
Bug 26979 added some plural handling to the labels shown in circulation. There are some additional warns that are appearing because of this in the QA test tools:

Argument "" isn't numeric in subroutine entry at /usr/local/share/perl/5.24.1/Locale/Messages.pm line 285.
Comment 1 Jonathan Druart 2021-08-18 15:02:28 UTC
I am seeing

Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc line 128.                                                                              
Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc line 128.                                                                              
Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt line 237.                                                                             
Argument "" isn't numeric in numeric gt (>) at /kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt line 716.   

but not yours.

Which version of Locale::Messages are you using?

% pmvers Locale::Messages
1.26