Code

[i18n] Added use of plural forms.
authormfloryan <mfloryan@users.sourceforge.net>
Wed, 24 Sep 2008 13:41:17 +0000 (13:41 +0000)
committermfloryan <mfloryan@users.sourceforge.net>
Wed, 24 Sep 2008 13:41:17 +0000 (13:41 +0000)
src/tweak-context.cpp

index c18f89d2efc409c8ee5e1cc659fc4db4abf76b1c..8467d687f4d3490ce269c1c985969257965a5944 100644 (file)
@@ -197,7 +197,7 @@ sp_tweak_update_cursor (SPTweakContext *tc, bool with_shift)
                 gchar *sel_message = NULL;
                 if (!desktop->selection->isEmpty()) {
                     num = g_slist_length((GSList *) desktop->selection->itemList());
-                    sel_message = g_strdup_printf(_("<b>%i</b> objects selected"), num);
+                    sel_message = g_strdup_printf(ngettext("<b>%i</b> object selected","<b>%i</b> objects selected",num), num);
                 } else {
                     sel_message = g_strdup_printf(_("<b>Nothing</b> selected"));
                 }