View | Details | Raw Unified | Return to bug 25305
Collapse All | Expand All

(-)a/misc/translator/TmplTokenizer.pm (-1 / +1 lines)
Lines 1-6 Link Here
1
package TmplTokenizer;
1
package TmplTokenizer;
2
2
3
use Modern::Perl;
3
use Modern::Perl '2010';
4
use C4::TmplTokenType;
4
use C4::TmplTokenType;
5
use C4::TmplToken;
5
use C4::TmplToken;
6
use C4::TTParser;
6
use C4::TTParser;
(-)a/misc/translator/xgettext.pl (-2 / +1 lines)
Lines 367-373 usage_error('You cannot specify both --convert-from and --files-from') Link Here
367
367
368
if (defined $output && $output ne '-') {
368
if (defined $output && $output ne '-') {
369
    print STDERR "$0: Opening output file \"$output\"\n" if $verbose_p;
369
    print STDERR "$0: Opening output file \"$output\"\n" if $verbose_p;
370
        open($OUTPUT, '>:encoding(utf-8)', $output) || die "$output: $!\n";
370
        open($OUTPUT, '>', $output) || die "$output: $!\n";
371
} else {
371
} else {
372
    print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p;
372
    print STDERR "$0: Outputting to STDOUT...\n" if $verbose_p;
373
    open($OUTPUT, ">&STDOUT");
373
    open($OUTPUT, ">&STDOUT");
374
- 

Return to bug 25305