From c19e3039a252f50b986a2e4b8e66817395f512ee Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Wed, 5 Mar 2003 20:06:46 +0000 Subject: changed name of _() function to N() use of perl_checker to create pot file --- urpmi.removemedia | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'urpmi.removemedia') diff --git a/urpmi.removemedia b/urpmi.removemedia index c7eac093..09d344bb 100755 --- a/urpmi.removemedia +++ b/urpmi.removemedia @@ -22,7 +22,7 @@ use urpm; #- get I18N translation method. -import urpm _; +import urpm N; sub main { my (@toremoves, %options); @@ -31,12 +31,12 @@ sub main { foreach (@_) { /^--?a/ and $options{all} = 1, next; /^--?c/ and $options{noclean} = 0, next; - /^-/ and die _("usage: urpmi.removemedia [-a] ... + /^-/ and die N("usage: urpmi.removemedia [-a] ... where is a medium name to remove. -") . _(" --help - print this help message. -") . _(" -a - select all media. -") . _(" -c - clean headers cache directory. -") . (/^--?h(?:elp)$/ ? _("\nunknown options '%s'\n", $_) : ''); +") . N(" --help - print this help message. +") . N(" -a - select all media. +") . N(" -c - clean headers cache directory. +") . (/^--?h(?:elp)$/ ? N("\nunknown options '%s'\n", $_) : ''); push @toremoves, $_; } @@ -45,9 +45,9 @@ where is a medium name to remove. if ($options{all}) { @toremoves = @entries; - @toremoves == 0 and die _("nothing to remove (use urpmi.addmedia to add a media)\n"); + @toremoves == 0 and die N("nothing to remove (use urpmi.addmedia to add a media)\n"); } - @toremoves == 0 and die _("the entry to remove is missing\n(one of %s)\n", join(", ", @entries)); + @toremoves == 0 and die N("the entry to remove is missing\n(one of %s)\n", join(", ", @entries)); $urpm->select_media(@toremoves); $urpm->remove_selected_media; -- cgit v1.2.1