[gtranslator] Start plural tab names in 0. Fixes bug #625643.



commit 193109b90b11d12513bd038d8c3f0705940f08cc
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Aug 2 19:30:46 2010 +0200

    Start plural tab names in 0. Fixes bug #625643.

 src/gtr-tab.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtr-tab.c b/src/gtr-tab.c
index 2b818e4..fd898e5 100644
--- a/src/gtr-tab.c
+++ b/src/gtr-tab.c
@@ -524,7 +524,7 @@ gtr_tab_add_msgstr_tabs (GtrTab * tab)
 
   do
     {
-      label = g_strdup_printf (_("Plural %d"), i + 1);
+      label = g_strdup_printf (_("Plural %d"), i);
       priv->trans_msgstr[i] = gtr_tab_append_msgstr_page (label,
                                                           priv->trans_notebook,
                                                           TRUE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]