diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2007-02-21 11:12:47 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2007-02-21 11:12:47 +0000 |
commit | 1da4d3d0f59f23c26e24c5e282c7cb869675a6fe (patch) | |
tree | 1e649605d64152836106e23fdf0ba888b936cfa5 /gurpmi2 | |
parent | 5593db89b498f57ecef817e5eeb66e002a7d6aba (diff) | |
download | urpmi-1da4d3d0f59f23c26e24c5e282c7cb869675a6fe.tar urpmi-1da4d3d0f59f23c26e24c5e282c7cb869675a6fe.tar.gz urpmi-1da4d3d0f59f23c26e24c5e282c7cb869675a6fe.tar.bz2 urpmi-1da4d3d0f59f23c26e24c5e282c7cb869675a6fe.tar.xz urpmi-1da4d3d0f59f23c26e24c5e282c7cb869675a6fe.zip |
fixed some ngettext use
Diffstat (limited to 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -211,10 +211,12 @@ sub do_install_2 () { } $urpm->{nb_install} = @to_install; @to_install > 1 && !$gurpmi::options{auto} - ? ask_continue(P("To satisfy dependencies, the following package is going to be installed:", - "To satisfy dependencies, the following packages are going to be installed:", - scalar(@to_install), - ) . join("\n", '', @to_install, '') . N("(%d packages, %d MB)", scalar(@to_install), toMb($sum)), + ? ask_continue( + ( (scalar(@to_install) == 1) ? + N("To satisfy dependencies, the following package is going to be installed:") + : N("To satisfy dependencies, the following packages are going to be installed:") ) + . join("\n", '', @to_install, '') + . P("(%d package, %d MB)", "(%d packages, %d MB)", scalar(@to_install), toMb($sum)), , \&do_install_3) : goto \&do_install_3; } |