From d7e1f295a94278e9750e188b06b752bc6fbf9683 Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Wed, 13 Oct 2010 08:54:08 -0600 Subject: [PATCH] Update to support plural forms for string for translators Closes bug #631684 - Needed Translator Comments --- src/Win_GParted.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc index 067d8b8c..06673fcd 100644 --- a/src/Win_GParted.cc +++ b/src/Win_GParted.cc @@ -1345,8 +1345,12 @@ bool Win_GParted::max_amount_prim_reached() { Gtk::MessageDialog dialog( *this, - String::ucompose( _("It is not possible to create more than %1 primary partitions"), - devices[ current_device ] .max_prims ), + String::ucompose( ngettext( "It is not possible to create more than %1 primary partition" + , "It is not possible to create more than %1 primary partitions" + , devices[ current_device ] .max_prims + ) + , devices[ current_device ] .max_prims + ), false, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK,