summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-17 17:18:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-17 17:18:58 +0000
commit9d09f8a3ec17eadf0528da3472c16454acec54ed (patch)
tree1f7939a68df9887f26f998117ba3a970ce3136f1
parent58d741c4193da474d4c6b8525a26665ef5ea39f5 (diff)
downloadurpmi-9d09f8a3ec17eadf0528da3472c16454acec54ed.tar
urpmi-9d09f8a3ec17eadf0528da3472c16454acec54ed.tar.gz
urpmi-9d09f8a3ec17eadf0528da3472c16454acec54ed.tar.bz2
urpmi-9d09f8a3ec17eadf0528da3472c16454acec54ed.tar.xz
urpmi-9d09f8a3ec17eadf0528da3472c16454acec54ed.zip
add N_()
-rw-r--r--urpm/msg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpm/msg.pm b/urpm/msg.pm
index c479f5b8..d5e618b3 100644
--- a/urpm/msg.pm
+++ b/urpm/msg.pm
@@ -15,7 +15,7 @@ BEGIN {
(our $VERSION) = q($Revision$) =~ /(\d+)/;
our @ISA = 'Exporter';
-our @EXPORT = qw(N P translate bug_log message_input message_input_ toMb formatXiB sys_log);
+our @EXPORT = qw(N N_ P translate bug_log message_input message_input_ toMb formatXiB sys_log);
#- I18N.
use Locale::gettext;
@@ -58,6 +58,7 @@ sub N {
my ($format, @params) = @_;
sprintf(translate($format), @params);
}
+sub N_ { $_[0] }
my $noexpr = N("Nn");
my $yesexpr = N("Yy");