diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-02 19:48:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-02 19:48:17 +0000 |
commit | 1689a9c4b7014698170e3c0d17320c73990da29b (patch) | |
tree | d98e2416cf189b72e8810ba418dfb0022768e985 /urpm | |
parent | aa0081998ede86d9e2abcad1390703bf081a5285 (diff) | |
download | urpmi-1689a9c4b7014698170e3c0d17320c73990da29b.tar urpmi-1689a9c4b7014698170e3c0d17320c73990da29b.tar.gz urpmi-1689a9c4b7014698170e3c0d17320c73990da29b.tar.bz2 urpmi-1689a9c4b7014698170e3c0d17320c73990da29b.tar.xz urpmi-1689a9c4b7014698170e3c0d17320c73990da29b.zip |
(open_safe) since these errors messages are displayed by
urpmi/rpmdrake, let's display translated messages
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/sys.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/sys.pm b/urpm/sys.pm index 2a35b3af..20061813 100644 --- a/urpm/sys.pm +++ b/urpm/sys.pm @@ -198,7 +198,7 @@ sub syserror { sub open_safe { my ($urpm, $sense, $filename) = @_; open my $f, $sense, $filename - or syserror($urpm, $sense eq '>' ? "Can't write file" : "Can't open file", $filename), return undef; + or syserror($urpm, $sense eq '>' ? N("Can't write file") : N("Can't open file"), $filename), return undef; return $f; } |