summaryrefslogtreecommitdiffstats
path: root/urpm/sys.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-02 19:48:17 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-02 19:48:17 +0000
commit1689a9c4b7014698170e3c0d17320c73990da29b (patch)
treed98e2416cf189b72e8810ba418dfb0022768e985 /urpm/sys.pm
parentaa0081998ede86d9e2abcad1390703bf081a5285 (diff)
downloadurpmi-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/sys.pm')
-rw-r--r--urpm/sys.pm2
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;
}