diff options
author | Norbert Preining <preining@logic.at> | 2009-09-03 07:39:21 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-09-03 07:39:21 +0000 |
commit | 354d95800a0aeff3779b0511cdcdf3beb801dcbb (patch) | |
tree | d2aa38b30561fdf527a2287e1302d21c9fcffa39 /Master/tlpkg/translations | |
parent | 75dd6c4cf9d482c52035776ec4363b1dc7c1fe69 (diff) |
use sprintf on the translated string with the rest of the arguments,
replace 2009 in many places by %s and added arguemtn TL:TLC:ReleaseYear
git-svn-id: svn://tug.org/texlive/trunk@15017 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/translations')
-rw-r--r-- | Master/tlpkg/translations/trans.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/translations/trans.pl b/Master/tlpkg/translations/trans.pl index 9fa8cc1ff9f..6f4055eb9d0 100644 --- a/Master/tlpkg/translations/trans.pl +++ b/Master/tlpkg/translations/trans.pl @@ -68,7 +68,7 @@ our %TRANS; # # __ takes a string argument and checks that it -sub __ ($) { +sub __ ($@) { my $key = shift; my $ret; # if no $::lang is set just return without anything @@ -97,7 +97,7 @@ sub __ ($) { $ret =~ s/\\n/\n/g; $ret =~ s/\\"/"/g; $ret =~ s/\\\\/\\/g; - return $ret; + return sprintf($ret, @_); } if (($::lang ne "en") && ($::lang ne "C")) { |