@@ -, +, @@ --- reports/acquisitions_stats.pl | 5 +++-- reports/bor_issues_top.pl | 5 +++-- reports/borrowers_out.pl | 5 +++-- reports/cat_issues_top.pl | 5 +++-- reports/catalogue_stats.pl | 5 +++-- reports/issues_avg_stats.pl | 5 +++-- reports/issues_stats.pl | 5 +++-- reports/reserves_stats.pl | 5 +++-- 8 files changed, 24 insertions(+), 16 deletions(-) --- a/reports/acquisitions_stats.pl +++ a/reports/acquisitions_stats.pl @@ -29,6 +29,7 @@ use C4::Circulation; use C4::Dates qw/format_date format_date_in_iso/; use C4::Branch; use C4::Biblio; +use Koha::I18N; =head1 NAME @@ -94,7 +95,7 @@ if ($do_it) { foreach my $col (@$cols) { print $col->{coltitle} . $sep; } - print "Total\n"; + print gettext("Total") . "\n"; foreach my $line (@$lines) { my $x = $line->{loopcell}; print $line->{rowtitle} . $sep; @@ -104,7 +105,7 @@ if ($do_it) { print $line->{totalrow}; print "\n"; } - print "TOTAL"; + print gettext("TOTAL"); $cols = @$results[0]->{loopfooter}; foreach my $col (@$cols) { print $sep. $col->{totalcol}; --- a/reports/bor_issues_top.pl +++ a/reports/bor_issues_top.pl @@ -30,6 +30,7 @@ use C4::Members; use C4::Reports; use C4::Debug; use C4::Dates qw(format_date format_date_in_iso); +use Koha::I18N; =head1 NAME @@ -86,7 +87,7 @@ if ($do_it) { print @$results[0]->{line} ."/". @$results[0]->{column} .$sep; # Other header print join($sep, map {$_->{coltitle}} @$cols); - print $sep . "Total\n"; + print $sep . gettext("Total") . "\n"; # Table foreach my $line ( @$lines ) { my $x = $line->{loopcell}; @@ -96,7 +97,7 @@ if ($do_it) { print "\n"; } # footer - print "TOTAL"; + print gettext("TOTAL"); $cols = @$results[0]->{loopfooter}; print join($sep, map {$_->{totalcol}} @$cols); print $sep.@$results[0]->{total}; --- a/reports/borrowers_out.pl +++ a/reports/borrowers_out.pl @@ -29,6 +29,7 @@ use C4::Circulation; use C4::Reports; use C4::Members; use C4::Dates qw/format_date_in_iso/; +use Koha::I18N; =head1 NAME @@ -83,7 +84,7 @@ if ($do_it) { foreach my $col ( @$cols ) { print $col->{coltitle}.$sep; } - print "Total\n"; + print gettext("Total") . "\n"; # Table foreach my $line ( @$lines ) { my $x = $line->{loopcell}; @@ -96,7 +97,7 @@ if ($do_it) { print "\n"; } # footer - print "TOTAL"; + print gettext("TOTAL"); $cols = @$results[0]->{loopfooter}; foreach my $col ( @$cols ) { print $sep.$col->{totalcol}; --- a/reports/cat_issues_top.pl +++ a/reports/cat_issues_top.pl @@ -30,6 +30,7 @@ use C4::Circulation; use C4::Reports; use C4::Dates qw/format_date format_date_in_iso/; use C4::Members; +use Koha::I18N; =head1 NAME @@ -89,7 +90,7 @@ if ($do_it) { foreach my $col ( @$cols ) { print $col->{coltitle}.$sep; } - print "Total\n"; + print gettext("Total") . "\n"; # Table foreach my $line ( @$lines ) { my $x = $line->{loopcell}; @@ -101,7 +102,7 @@ if ($do_it) { print "\n"; } # footer - print "TOTAL"; + print gettext("TOTAL"); $cols = @$results[0]->{loopfooter}; foreach my $col ( @$cols ) { print $sep.$col->{totalcol}; --- a/reports/catalogue_stats.pl +++ a/reports/catalogue_stats.pl @@ -28,6 +28,7 @@ use C4::Output; use C4::Koha; use C4::Reports; use C4::Circulation; +use Koha::I18N; =head1 NAME @@ -86,7 +87,7 @@ if ($do_it) { foreach my $col ( @$cols ) { print $col->{coltitle}.$sep; } - print "Total\n"; + print gettext("Total") . "\n"; foreach my $line ( @$lines ) { my $x = $line->{loopcell}; print $line->{rowtitle}.$sep; @@ -96,7 +97,7 @@ if ($do_it) { print $line->{totalrow}; print "\n"; } - print "TOTAL"; + print gettext("TOTAL"); $cols = @$results[0]->{loopfooter}; foreach my $col ( @$cols ) { print $sep.$col->{totalcol}; --- a/reports/issues_avg_stats.pl +++ a/reports/issues_avg_stats.pl @@ -30,6 +30,7 @@ use C4::Circulation; use C4::Reports; use C4::Dates qw/format_date format_date_in_iso/; use Date::Calc qw(Delta_Days); +use Koha::I18N; =head1 NAME @@ -91,7 +92,7 @@ if ($do_it) { foreach my $col ( @$cols ) { print $col->{coltitle}.$sep; } - print "Total\n"; + print gettext("Total") . "\n"; # Table foreach my $line ( @$lines ) { my $x = $line->{loopcell}; @@ -103,7 +104,7 @@ if ($do_it) { print "\n"; } # footer - print "TOTAL"; + print gettext("TOTAL"); $cols = @$results[0]->{loopfooter}; foreach my $col ( @$cols ) { print $sep.$col->{totalcol}; --- a/reports/issues_stats.pl +++ a/reports/issues_stats.pl @@ -33,6 +33,7 @@ use C4::Circulation; use C4::Reports; use C4::Dates qw/format_date format_date_in_iso/; use C4::Members; +use Koha::I18N; =head1 NAME @@ -107,7 +108,7 @@ if ($do_it) { foreach my $col ( @$cols ) { print $col->{coltitle}.$sep; } - print "Total\n"; + print gettext("Total") . "\n"; # Table foreach my $line ( @$lines ) { my $x = $line->{loopcell}; @@ -116,7 +117,7 @@ if ($do_it) { print $line->{totalrow}, "\n"; } # footer - print "TOTAL"; + print gettext("TOTAL"); $cols = @$results[0]->{loopfooter}; print map {$sep.$_->{totalcol}} @$cols; print $sep.@$results[0]->{total}; --- a/reports/reserves_stats.pl +++ a/reports/reserves_stats.pl @@ -35,6 +35,7 @@ use C4::Dates qw/format_date format_date_in_iso/; use C4::Category; use List::MoreUtils qw/any/; use YAML; +use Koha::I18N; =head1 NAME @@ -115,7 +116,7 @@ if ($do_it) { foreach my $col ( @$cols ) { print $col->{coltitle}.$sep; } - print "Total\n"; + print gettext("Total") . "\n"; # Table foreach my $line ( @$lines ) { my $x = $line->{loopcell}; @@ -124,7 +125,7 @@ if ($do_it) { print $line->{totalrow}, "\n"; } # footer - print "TOTAL"; + print gettext("TOTAL"); $cols = @$results[0]->{loopfooter}; print map {$sep.$_->{totalcol}} @$cols; print $sep.@$results[0]->{total}; --