diff options
| author | Andrius Ramanauskas <knutux@gmail.com> | 2006-03-29 08:01:17 +0000 |
|---|---|---|
| committer | knutux <knutux@users.sourceforge.net> | 2006-03-29 08:01:17 +0000 |
| commit | 7d77ec49f6ef076c985836737c744e55f390f950 (patch) | |
| tree | 70fc3af0d18c66d968909eee988d8fddc40ee5cb /src/gradient-drag.cpp | |
| parent | svn propset svn:eol-style native *.h *.cpp (diff) | |
| download | inkscape-7d77ec49f6ef076c985836737c744e55f390f950.tar.gz inkscape-7d77ec49f6ef076c985836737c744e55f390f950.zip | |
string plural form (for languages with multiple plural forms)
(bzr r367)
Diffstat (limited to 'src/gradient-drag.cpp')
| -rw-r--r-- | src/gradient-drag.cpp | 7 |
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); } } |
