https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43786
Bug ID: 43786
Summary: Incorrect string concat in templates
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Templates
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Depends on: 41340
Target Milestone: ---
>From 41340 comment 12
+ >[% tnx( '{count} item modified', '{count} items
modified', modified_items_count, { count = modified_items_count }) + ' (' +
tnx( 'with {count} field modified', 'with {count} fields modified',
modified_fields_count, { count = modified_fields_count }) + ').' | html
%]</span
String concat with TT is with "_", not "+"
[2026/09/30 07:56:36] [WARN] Argument " (" isn't numeric in addition (+) at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc
line 19.
[2026/09/30 07:56:36] [WARN] Argument "3 items modified" isn't numeric in
addition (+) at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc
line 19.
[2026/09/30 07:56:36] [WARN] Argument "with 3 fields modified" isn't numeric in
addition (+) at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc
line 19.
[2026/09/30 07:56:36] [WARN] Argument ")." isn't numeric in addition (+) at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc
line 19.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41340
[Bug 41340] Better translatability on 'batch_item_record_modification.inc'
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/