Update to support plural forms for string for translators

Closes bug #631684 - Needed Translator Comments
This commit is contained in:
Curtis Gedak 2010-10-13 08:54:08 -06:00
parent aff4c3034c
commit d7e1f295a9
1 changed files with 6 additions and 2 deletions

View File

@ -1345,8 +1345,12 @@ bool Win_GParted::max_amount_prim_reached()
{ {
Gtk::MessageDialog dialog( Gtk::MessageDialog dialog(
*this, *this,
String::ucompose( _("It is not possible to create more than %1 primary partitions"), String::ucompose( ngettext( "It is not possible to create more than %1 primary partition"
devices[ current_device ] .max_prims ), , "It is not possible to create more than %1 primary partitions"
, devices[ current_device ] .max_prims
)
, devices[ current_device ] .max_prims
),
false, false,
Gtk::MESSAGE_ERROR, Gtk::MESSAGE_ERROR,
Gtk::BUTTONS_OK, Gtk::BUTTONS_OK,