[gparted] Update to support plural forms for string for translators
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Update to support plural forms for string for translators
- Date: Wed, 13 Oct 2010 15:08:48 +0000 (UTC)
commit d7e1f295a94278e9750e188b06b752bc6fbf9683
Author: Curtis Gedak <gedakc gmail com>
Date: Wed Oct 13 08:54:08 2010 -0600
Update to support plural forms for string for translators
Closes bug #631684 - Needed Translator Comments
src/Win_GParted.cc | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index 067d8b8..06673fc 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]