X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=lib%2FPackages%2FDoFilelist.pm;h=20eb67fba6397010d133c4071a7bbb5ef4ac81bb;hb=3bb6c9d9922b0487901c02962b1d64c525f1bdd7;hp=7fb1a8fd5456f7ca330db521a9a77881846456bc;hpb=23a126961b15aa754f672762f750a1792250aa36;p=deb%2Fpackages.git diff --git a/lib/Packages/DoFilelist.pm b/lib/Packages/DoFilelist.pm index 7fb1a8f..20eb67f 100644 --- a/lib/Packages/DoFilelist.pm +++ b/lib/Packages/DoFilelist.pm @@ -28,13 +28,13 @@ sub do_filelist { my ($params, $opts, $html_header, $menu, $page_content) = @_; if ($params->{errors}{package}) { - fatal_error( _( "package not valid or not specified" ) ); + fatal_error( _g( "package not valid or not specified" ) ); } if ($params->{errors}{suite}) { - fatal_error( _( "suite not valid or not specified" ) ); + fatal_error( _g( "suite not valid or not specified" ) ); } if ($params->{errors}{arch}) { - fatal_error( _( "architecture not valid or not specified" ) ); + fatal_error( _g( "architecture not valid or not specified" ) ); } $$menu = ''; @@ -42,8 +42,8 @@ sub do_filelist { my $suite = $opts->{suite}[0]; my $arch = $opts->{arch}[0] ||''; - %$html_header = ( title => sprintf( _( "Filelist of package %s in %s of architecture %s" ), $pkg, $suite, $arch ), - title_tag => sprintf( _( "Filelist of of package %s/%s/%s" ), $pkg, $suite, $arch ), + %$html_header = ( title => sprintf( _g( "Filelist of package %s in %s of architecture %s" ), $pkg, $suite, $arch ), + title_tag => sprintf( _g( "Filelist of of package %s/%s/%s" ), $pkg, $suite, $arch ), lang => $opts->{lang}, keywords => "debian, $suite, $arch, filelist", print_title => 1, @@ -54,7 +54,7 @@ sub do_filelist { O_RDONLY, 0666, $DB_BTREE) { unless (exists $contents{$pkg}) { - fatal_error( _( "No such package in this suite on this architecture." ) ); + fatal_error( _g( "No such package in this suite on this architecture." ) ); } else { my @files = unpack "L/(CC/a)", $contents{$pkg}; my $file = ""; @@ -66,7 +66,7 @@ sub do_filelist { $$page_content .= ''; } } else { - fatal_error( _( "Invalid suite/architecture combination" ) ); + fatal_error( _g( "Invalid suite/architecture combination" ) ); } } }