summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-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;
}