diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-08-10 11:34:09 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-08-10 11:34:09 +0000 |
commit | 3b6d49eabd21cdf6299a151b7644e7fc5b6cd2b7 (patch) | |
tree | 7da763975b65faa2db2bc81893927cbbb1e45cf7 /urpm | |
parent | f2eefb0f5f62e4832fa2b3d65e80fb6663d01f73 (diff) | |
download | urpmi-3b6d49eabd21cdf6299a151b7644e7fc5b6cd2b7.tar urpmi-3b6d49eabd21cdf6299a151b7644e7fc5b6cd2b7.tar.gz urpmi-3b6d49eabd21cdf6299a151b7644e7fc5b6cd2b7.tar.bz2 urpmi-3b6d49eabd21cdf6299a151b7644e7fc5b6cd2b7.tar.xz urpmi-3b6d49eabd21cdf6299a151b7644e7fc5b6cd2b7.zip |
fix string committed in previous commit to make it translatable
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/orphans.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm index 67268fce..e26be32d 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -359,10 +359,8 @@ sub get_now_orphans_msg { my $orphans = get_orphans($urpm); my @orphans = map { scalar $_->fullname } @$orphans or return ''; - P("The following package:\n" . add_leading_spaces(join("\n", sort @orphans) . "\n") . - "is now orphaned, if you wish to remove it, you can use \"urpme --auto-orphans\"", - "The following packages:\n" . add_leading_spaces(join("\n", sort @orphans) . "\n") . - "are now orphaned, if you wish to remove them, you can use \"urpme --auto-orphans\"",scalar(@orphans)); + P("The following package:\n%s\nis now orphaned, if you wish to remove it, you can use \"urpme --auto-orphans\"", + "The following packages:\n%s\nare now orphaned, if you wish to remove them, you can use \"urpme --auto-orphans\"",scalar(@orphans), add_leading_spaces(join("\n", sort @orphans))); } |