summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gradient-drag.cpp')
-rw-r--r--src/gradient-drag.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index 2048966b0..1e8626602 100644
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -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);
}
}