Code

string plural form (for languages with multiple plural forms)
authorknutux <knutux@users.sourceforge.net>
Wed, 29 Mar 2006 08:01:17 +0000 (08:01 +0000)
committerknutux <knutux@users.sourceforge.net>
Wed, 29 Mar 2006 08:01:17 +0000 (08:01 +0000)
src/gradient-drag.cpp

index 2048966b0c852a9a989e5723fcf50f5962406b52..1e8626602ace28033c1ce49aa26dc218c915696b 100644 (file)
@@ -656,8 +656,11 @@ GrDragger::updateTip ()
     } else if (g_slist_length (draggables) == 2 && isA (POINT_RG_CENTER) && isA (POINT_RG_FOCUS)) {
         this->knot->tip = g_strdup_printf (_("Radial gradient <b>center</b> and <b>focus</b>; drag with <b>Shift</b> to separate focus"));
     } else {
-        this->knot->tip = g_strdup_printf (_("Gradient point shared by <b>%d</b> gradients; drag with <b>Shift</b> to separate"),
-                                           g_slist_length (this->draggables));
+        int length = g_slist_length (this->draggables);
+        this->knot->tip = g_strdup_printf (ngettext("Gradient point shared by <b>%d</b> gradient; drag with <b>Shift</b> to separate",
+                                                    "Gradient point shared by <b>%d</b> gradients; drag with <b>Shift</b> to separate",
+                                                    length),
+                                           length);
     }
 }