[Koha-bugs] [Bug 24365] New: Using strict from TmplTokenizer.pm broke the translator script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 7 15:50:36 CET 2020


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

            Bug ID: 24365
           Summary: Using strict from TmplTokenizer.pm broke the
                    translator script
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: major
          Priority: P5 - low
         Component: I18N/L10N
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
                CC: frederic at tamil.fr

I am not sure what happened here, but adding strict for TmplTokenizer.pm breaks
a test for translation:

kohadev-koha at 5dbfd5c26b19:/kohadevbox/koha$ prove
xt/author/translatable-templates.t
xt/author/translatable-templates.t .. 1/? 
#   Failed test 'opac_bootstrap templates are translatable'
#   at xt/author/translatable-templates.t line 91.
# /tmp/nUR3OD9D9y:19466:8: invalid multibyte sequence
#
# msgmerge: found 1 fatal error
#
xt/author/translatable-templates.t .. 2/? 
#   Failed test 'staff_prog templates are translatable'
#   at xt/author/translatable-templates.t line 91.
# /tmp/DdbDRQTBzl:6111:13: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:6122:13: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:10911:14: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:11301:14: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:49459:66: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:65223:27: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:88587:10: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:94544:43: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:94544:71: invalid multibyte sequence
#
# /tmp/DdbDRQTBzl:94549:8: invalid multibyte sequence
#
# msgmerge: found 10 fatal errors
#
# Looks like you failed 2 tests of 2.
xt/author/translatable-templates.t .. Dubious, test returned 2 (wstat 512,
0x200)
Failed 2/2 subtests 

Test Summary Report
-------------------
xt/author/translatable-templates.t (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
Files=1, Tests=2,  8 wallclock secs ( 0.02 usr  0.01 sys +  8.55 cusr  0.08
csys =  8.66 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list