https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42302
Bug ID: 42302
Summary: xgettext.pl does not output to STDOUT correctly
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: I18N/L10N
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
xgettext.pl tries to produce output to STDOUT but default, but fails because of
the coding error:
```
$ echo koha-tmpl/opac-tmpl/bootstrap/en/includes/serial-status.inc > transfiles
$ ./misc/translator/xgettext.pl -vaf transfiles
./misc/translator/xgettext.pl: Outputting to STDOUT...
./misc/translator/xgettext.pl: Opening input file list "transfiles"
./misc/translator/xgettext.pl: Processing file
"./koha-tmpl/opac-tmpl/bootstrap/en/includes/serial-status.inc"
$ head \&STDOUT
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Koha\n"
"POT-Creation-Date: 2026-04-08 13:45+0200\n"
```
It should go to actual STDOUT instead of a file called that :) Patch coming in.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/