[gnumeric] Add some translation contexts to improve translations.



commit 2d3ef1a036f12f94f30f87bd5fcea0842c80568f
Author: Marek Äernockà <marek manet cz>
Date:   Sun Nov 6 11:34:05 2011 -0700

    Add some translation contexts to improve translations.
    
    2011-11-06  Marek Äernockà <marek manet cz>
    
    	* anova-one.ui: add context to _Columns and _Rows
    	* chi-squared.ui: ditto
    	* colrow.ui: ditto
    	* correlation.ui: ditto
    	* descriptive-stats.ui: ditto
    	* exp-smoothing.ui: ditto
    	* fourier-analysis.ui: ditto
    	* frequency.ui: ditto
    	* histogram.ui: ditto
    	* moving-averages.ui: ditto
    	* normality-tests.ui: ditto
    	* paste-special.ui: ditto
    	* principal-components.ui: ditto
    	* rank.ui: ditto
    	* sheet-resize.ui: ditto
    	* shuffle.ui: ditto
    	* sign-test.ui: ditto
    	* wilcoxon-mann-whitney.ui: ditto
    	* dialog-stf.ui:: ditto
    	* dialog-cell-format.c (underline_types): add context to underline
    	names
    	(fmt_dialog_init_font_page): ditto
    	* dialog-sheet-order.c (create_sheet_list): add context to Rows
    	and Cols
    
    2011-11-06  Marek Äernockà <marek manet cz>
    
    	* src/sheet-object-graph.c (sheet_object_graph_guru): add context to
    	Columns and Rows
    	* src/sheet.c (gnm_sheet_class_init): add context to Columns and Rows

 ChangeLog                            |    6 +++++
 NEWS                                 |    3 ++
 src/dialogs/ChangeLog                |   35 ++++++++++++++++++++++++++++++---
 src/dialogs/anova-one.ui             |    4 +-
 src/dialogs/chi-squared.ui           |    4 +-
 src/dialogs/colrow.ui                |    4 +-
 src/dialogs/correlation.ui           |    4 +-
 src/dialogs/descriptive-stats.ui     |    4 +-
 src/dialogs/dialog-cell-format.c     |   17 ++++++++-------
 src/dialogs/dialog-sheet-order.c     |    6 +++-
 src/dialogs/dialog-stf.ui            |    2 +-
 src/dialogs/exp-smoothing.ui         |    4 +-
 src/dialogs/fourier-analysis.ui      |    4 +-
 src/dialogs/frequency.ui             |    4 +-
 src/dialogs/histogram.ui             |    4 +-
 src/dialogs/moving-averages.ui       |    4 +-
 src/dialogs/normality-tests.ui       |    4 +-
 src/dialogs/paste-special.ui         |    4 +-
 src/dialogs/principal-components.ui  |    4 +-
 src/dialogs/rank.ui                  |    4 +-
 src/dialogs/sheet-resize.ui          |    4 +-
 src/dialogs/shuffle.ui               |    4 +-
 src/dialogs/sign-test.ui             |    4 +-
 src/dialogs/wilcoxon-mann-whitney.ui |    4 +-
 src/sheet-object-graph.c             |    6 +++-
 src/sheet.c                          |    4 +-
 26 files changed, 96 insertions(+), 55 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e993417..decbb3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-06  Marek Äernockà <marek manet cz>
+
+	* src/sheet-object-graph.c (sheet_object_graph_guru): add context to
+	Columns and Rows
+	* src/sheet.c (gnm_sheet_class_init): add context to Columns and Rows
+
 2011-11-04 Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* src/print-info.c (pdf_export): export graphs with a tight
diff --git a/NEWS b/NEWS
index f9e3713..6e5075a 100644
--- a/NEWS
+++ b/NEWS
@@ -68,6 +68,9 @@ Jean:
 	* Fixed SVG images size. [#628472]
 	* Fix crash in graphs using markups. [#663216]
 
+Marek ÄernockÃ:
+        * Add some translation contexts to improve translations.
+
 Mikko Rasa:
         * Fix ODF import of certain percentage formats. [Debian #642135]
 
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index 7e0aefa..bcb7c3d 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -1,3 +1,30 @@
+2011-11-06  Marek Äernockà <marek manet cz>
+
+	* anova-one.ui: add context to _Columns and _Rows
+	* chi-squared.ui: ditto
+	* colrow.ui: ditto
+	* correlation.ui: ditto
+	* descriptive-stats.ui: ditto
+	* exp-smoothing.ui: ditto
+	* fourier-analysis.ui: ditto
+	* frequency.ui: ditto
+	* histogram.ui: ditto
+	* moving-averages.ui: ditto
+	* normality-tests.ui: ditto
+	* paste-special.ui: ditto
+	* principal-components.ui: ditto
+	* rank.ui: ditto
+	* sheet-resize.ui: ditto
+	* shuffle.ui: ditto
+	* sign-test.ui: ditto
+	* wilcoxon-mann-whitney.ui: ditto
+	* dialog-stf.ui:: ditto
+	* dialog-cell-format.c (underline_types): add context to underline
+	names
+	(fmt_dialog_init_font_page): ditto
+	* dialog-sheet-order.c (create_sheet_list): add context to Rows
+	and Cols
+
 2011-11-03  Andreas J. Guelzow <aguelzow pyrshep ca>
 
 	* dialog-printer-setup.c (dialog_gtk_printer_setup_cb): do not
@@ -582,7 +609,7 @@
 
 2011-03-08  Andreas J. Guelzow <aguelzow pyrshep ca>
 
-	* cell-format.ui: formulas -> formulæ	* cell-format.ui: formulas -> formulÃ
 	* dao.ui: ditto
 	* paste-special.ui: ditto
 
@@ -1825,14 +1852,14 @@
 	* Release 1.9.14
 
 2009-09-26  Andreas J. Guelzow <aguelzow pyrshep ca>
-	for Albert Grä<Dr Graef t-online de>
+	for Albert GrÃf <Dr Graef t-online de>
 
 	* so-radiobutton.glade: new
 	* Makefile.am: add so-radiobutton.glade
 	* help.h: add GNUMERIC_HELP_LINK_SO_RADIO_BUTTON
 
 2009-09-23  Andreas J. Guelzow <aguelzow pyrshep ca>
-	slightly modified patches from Albert Grä<Dr Graef t-online de>
+	slightly modified patches from Albert GrÃf <Dr Graef t-online de>
 
 	* so-button.glade: new
 	* Makefile.am: add so-button.glade
@@ -7232,7 +7259,7 @@
 
 	* Release 1.1.9
 
-2002-09-26  Lutz Mü<lutz users sourceforge net>
+2002-09-26  Lutz MÃller <lutz users sourceforge net>
 
 	* src/dialogs/dialog-sheet-order.c: On ok, we don't care any longer
 	  about changes in the sheet order, therefore stop listen to this
diff --git a/src/dialogs/anova-one.ui b/src/dialogs/anova-one.ui
index 6fc92d5..a2152c2 100644
--- a/src/dialogs/anova-one.ui
+++ b/src/dialogs/anova-one.ui
@@ -143,7 +143,7 @@
                     <property name="can_focus">False</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -172,7 +172,7 @@
                 </child>
                 <child>
                   <object class="GtkRadioButton" id="grouped_by_row">
-                    <property name="label" translatable="yes">_Rows</property>
+                    <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
diff --git a/src/dialogs/chi-squared.ui b/src/dialogs/chi-squared.ui
index f3f5057..6b9ab32 100644
--- a/src/dialogs/chi-squared.ui
+++ b/src/dialogs/chi-squared.ui
@@ -143,7 +143,7 @@
                     <property name="can_focus">False</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
                         <property name="use_action_appearance">False</property>
@@ -171,7 +171,7 @@
                 </child>
                 <child>
                   <object class="GtkRadioButton" id="grouped_by_row">
-                    <property name="label" translatable="yes">_Rows</property>
+                    <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                     <property name="sensitive">False</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
diff --git a/src/dialogs/colrow.ui b/src/dialogs/colrow.ui
index 38d830a..7d52653 100644
--- a/src/dialogs/colrow.ui
+++ b/src/dialogs/colrow.ui
@@ -79,7 +79,7 @@
             <property name="can_focus">False</property>
             <child>
               <object class="GtkRadioButton" id="cols">
-                <property name="label" translatable="yes">_Columns</property>
+                <property name="label" translatable="yes" context="group" comments="Group Columns">_Columns</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">False</property>
@@ -95,7 +95,7 @@
             </child>
             <child>
               <object class="GtkRadioButton" id="rows">
-                <property name="label" translatable="yes">_Rows</property>
+                <property name="label" translatable="yes" context="group" comments="Group Rows">_Rows</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">False</property>
diff --git a/src/dialogs/correlation.ui b/src/dialogs/correlation.ui
index ff71ba4..38dd7fc 100644
--- a/src/dialogs/correlation.ui
+++ b/src/dialogs/correlation.ui
@@ -141,7 +141,7 @@
                     <property name="homogeneous">True</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -158,7 +158,7 @@
                     </child>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_row">
-                        <property name="label" translatable="yes">_Rows</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
diff --git a/src/dialogs/descriptive-stats.ui b/src/dialogs/descriptive-stats.ui
index fe1e94d..7c8d0f2 100644
--- a/src/dialogs/descriptive-stats.ui
+++ b/src/dialogs/descriptive-stats.ui
@@ -142,7 +142,7 @@
                     <property name="homogeneous">True</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -159,7 +159,7 @@
                     </child>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_row">
-                        <property name="label" translatable="yes">_Rows</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
diff --git a/src/dialogs/dialog-cell-format.c b/src/dialogs/dialog-cell-format.c
index bf01b4b..eb2b9c1 100644
--- a/src/dialogs/dialog-cell-format.c
+++ b/src/dialogs/dialog-cell-format.c
@@ -70,13 +70,14 @@ static struct {
 	char const *Cname;
 	GnmUnderline ut;
 } const underline_types[] = {
-	{ N_("None"), UNDERLINE_NONE },
-	{ N_("Single"), UNDERLINE_SINGLE },
-	{ N_("Double"), UNDERLINE_DOUBLE },
+	/* xgettext: This refers to a "none underline" */
+	{ NC_("underline", "None"), UNDERLINE_NONE },
+	{ NC_("underline", "Single"), UNDERLINE_SINGLE },
+	{ NC_("underline", "Double"), UNDERLINE_DOUBLE },
 	/* xgettext: This refers to a "single low underline" */
-	{ N_("Single Low"), UNDERLINE_SINGLE_LOW },
+	{ NC_("underline", "Single Low"), UNDERLINE_SINGLE_LOW },
 	/* xgettext: This refers to a "double low underline" */
-	{ N_("Double Low"), UNDERLINE_DOUBLE_LOW }
+	{ NC_("underline", "Double Low"), UNDERLINE_DOUBLE_LOW }
 };
 
 /* The order corresponds to border_preset_buttons */
@@ -794,7 +795,7 @@ cb_font_underline_changed (G_GNUC_UNUSED GtkWidget *ct,
 		return FALSE;
 
 	for (i = G_N_ELEMENTS (underline_types); i-- > 0; )
-		if (go_utf8_collate_casefold (new_text, _(underline_types[i].Cname)) == 0) {
+		if (go_utf8_collate_casefold (new_text, g_dpgettext2 (NULL, "underline", underline_types[i].Cname)) == 0) {
 			res = underline_types[i].ut;
 			break;
 		}
@@ -846,10 +847,10 @@ fmt_dialog_init_font_page (FormatState *state)
 					  gnm_style_get_font_size (state->style));
 
 	for (i = 0; i < (int)G_N_ELEMENTS (underline_types); i++)
-		go_combo_text_add_item	(GO_COMBO_TEXT (uline), _(underline_types[i].Cname));
+		go_combo_text_add_item	(GO_COMBO_TEXT (uline), g_dpgettext2 (NULL, "underline", underline_types[i].Cname));
 	if (0 == (state->conflicts & (1 << MSTYLE_FONT_UNDERLINE))) {
 		GnmUnderline ut = gnm_style_get_font_uline (state->style);
-		uline_str = _(underline_types[ut].Cname);
+		uline_str = g_dpgettext2 (NULL, "underline", underline_types[ut].Cname);
 		font_selector_set_underline (state->font.selector, ut);
 	} else
 		uline_str = "";
diff --git a/src/dialogs/dialog-sheet-order.c b/src/dialogs/dialog-sheet-order.c
index 37d70fd..dceaacb 100644
--- a/src/dialogs/dialog-sheet-order.c
+++ b/src/dialogs/dialog-sheet-order.c
@@ -742,7 +742,8 @@ create_sheet_list (SheetManager *state)
 	state->dir_column = column;
 
 	column = gtk_tree_view_column_new_with_attributes
-		(_("Rows"),
+		/*Translators: Table header for column with number of "Rows"*/
+		(C_("sheetlist", "Rows"),
 		 gnumeric_cell_renderer_text_new (),
 		 "text", SHEET_ROW_MAX,
 		 NULL);
@@ -752,7 +753,8 @@ create_sheet_list (SheetManager *state)
 
 	renderer = gnumeric_cell_renderer_toggle_new ();
 	column = gtk_tree_view_column_new_with_attributes
-		(_("Cols"),
+		/*Translators: Table header for column with number of "Cols"*/
+		(C_("sheetlist", "Cols"),
 		 gnumeric_cell_renderer_text_new (),
 		 "text", SHEET_COL_MAX,
 		 NULL);
diff --git a/src/dialogs/dialog-stf.ui b/src/dialogs/dialog-stf.ui
index 1430e98..33f2d58 100644
--- a/src/dialogs/dialog-stf.ui
+++ b/src/dialogs/dialog-stf.ui
@@ -1001,7 +1001,7 @@
                       <object class="GtkLabel" id="label26">
                         <property name="visible">True</property>
                         <property name="can_focus">False</property>
-                        <property name="label" translatable="yes">Columns</property>
+			<property name="label" translatable="yes" context="import" comments="Columns in imported text">Columns</property>
                       </object>
                     </child>
                   </object>
diff --git a/src/dialogs/exp-smoothing.ui b/src/dialogs/exp-smoothing.ui
index c84d9bc..e578025 100644
--- a/src/dialogs/exp-smoothing.ui
+++ b/src/dialogs/exp-smoothing.ui
@@ -149,7 +149,7 @@
                             <property name="can_focus">False</property>
                             <child>
                               <object class="GtkRadioButton" id="grouped_by_col">
-                                <property name="label" translatable="yes">C_olumns</property>
+                                <property name="label" translatable="yes" context="groupby" comments="Group by Columns">C_olumns</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">False</property>
@@ -166,7 +166,7 @@
                             </child>
                             <child>
                               <object class="GtkRadioButton" id="grouped_by_row">
-                                <property name="label" translatable="yes">_Rows</property>
+                                <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">False</property>
diff --git a/src/dialogs/fourier-analysis.ui b/src/dialogs/fourier-analysis.ui
index 6186c96..4699078 100644
--- a/src/dialogs/fourier-analysis.ui
+++ b/src/dialogs/fourier-analysis.ui
@@ -141,7 +141,7 @@
                     <property name="can_focus">False</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -158,7 +158,7 @@
                     </child>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_row">
-                        <property name="label" translatable="yes">_Rows</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
diff --git a/src/dialogs/frequency.ui b/src/dialogs/frequency.ui
index 3f921bc..70fcd3c 100644
--- a/src/dialogs/frequency.ui
+++ b/src/dialogs/frequency.ui
@@ -119,7 +119,7 @@
                         <property name="homogeneous">True</property>
                         <child>
                           <object class="GtkRadioButton" id="grouped_by_col">
-                            <property name="label" translatable="yes">_Columns</property>
+                            <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
@@ -135,7 +135,7 @@
                         </child>
                         <child>
                           <object class="GtkRadioButton" id="grouped_by_row">
-                            <property name="label" translatable="yes">_Rows</property>
+                            <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
diff --git a/src/dialogs/histogram.ui b/src/dialogs/histogram.ui
index ba60609..4505e5b 100644
--- a/src/dialogs/histogram.ui
+++ b/src/dialogs/histogram.ui
@@ -132,7 +132,7 @@
                         <property name="homogeneous">True</property>
                         <child>
                           <object class="GtkRadioButton" id="grouped_by_col">
-                            <property name="label" translatable="yes">_Columns</property>
+                            <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
@@ -148,7 +148,7 @@
                         </child>
                         <child>
                           <object class="GtkRadioButton" id="grouped_by_row">
-                            <property name="label" translatable="yes">_Rows</property>
+                            <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
diff --git a/src/dialogs/moving-averages.ui b/src/dialogs/moving-averages.ui
index 3c54115..0a7c692 100644
--- a/src/dialogs/moving-averages.ui
+++ b/src/dialogs/moving-averages.ui
@@ -104,7 +104,7 @@
                             <property name="can_focus">False</property>
                             <child>
                               <object class="GtkRadioButton" id="grouped_by_col">
-                                <property name="label" translatable="yes">C_olumns</property>
+                                <property name="label" translatable="yes" context="groupby" comments="Group by Columns">C_olumns</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">False</property>
@@ -122,7 +122,7 @@
                             </child>
                             <child>
                               <object class="GtkRadioButton" id="grouped_by_row">
-                                <property name="label" translatable="yes">_Rows</property>
+                                <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">False</property>
diff --git a/src/dialogs/normality-tests.ui b/src/dialogs/normality-tests.ui
index f5ab41f..519f544 100644
--- a/src/dialogs/normality-tests.ui
+++ b/src/dialogs/normality-tests.ui
@@ -143,7 +143,7 @@
                     <property name="can_focus">False</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -172,7 +172,7 @@
                 </child>
                 <child>
                   <object class="GtkRadioButton" id="grouped_by_row">
-                    <property name="label" translatable="yes">_Rows</property>
+                    <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
diff --git a/src/dialogs/paste-special.ui b/src/dialogs/paste-special.ui
index 507e3f0..4ea0b7d 100644
--- a/src/dialogs/paste-special.ui
+++ b/src/dialogs/paste-special.ui
@@ -227,7 +227,7 @@
                         <property name="can_focus">False</property>
                         <child>
                           <object class="GtkRadioButton" id="region-operation-none">
-                            <property name="label" translatable="yes">None</property>
+                            <property name="label" translatable="yes" context="operation" comments="Region operation while paste">None</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
@@ -332,7 +332,7 @@
                         <property name="can_focus">False</property>
                         <child>
                           <object class="GtkRadioButton" id="cell-operation-none">
-                            <property name="label" translatable="yes">_None</property>
+                            <property name="label" translatable="yes" context="operation" comments="Cell operation while paste">_None</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="receives_default">False</property>
diff --git a/src/dialogs/principal-components.ui b/src/dialogs/principal-components.ui
index 7da0740..b11fa5c 100644
--- a/src/dialogs/principal-components.ui
+++ b/src/dialogs/principal-components.ui
@@ -141,7 +141,7 @@
                     <property name="homogeneous">True</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -158,7 +158,7 @@
                     </child>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_row">
-                        <property name="label" translatable="yes">_Rows</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
diff --git a/src/dialogs/rank.ui b/src/dialogs/rank.ui
index 21b1338..e41a8c4 100644
--- a/src/dialogs/rank.ui
+++ b/src/dialogs/rank.ui
@@ -140,7 +140,7 @@
                     <property name="can_focus">False</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -157,7 +157,7 @@
                     </child>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_row">
-                        <property name="label" translatable="yes">_Rows</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
diff --git a/src/dialogs/sheet-resize.ui b/src/dialogs/sheet-resize.ui
index 405d618..6a85cc3 100644
--- a/src/dialogs/sheet-resize.ui
+++ b/src/dialogs/sheet-resize.ui
@@ -105,7 +105,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
-                    <property name="label" translatable="yes">Columns</property>
+                    <property name="label" translatable="yes" context="sheetsize" comments="Number of 'Columns' in sheet">Columns</property>
                   </object>
                   <packing>
                     <property name="left_attach">1</property>
@@ -119,7 +119,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
-                    <property name="label" translatable="yes">Rows</property>
+                    <property name="label" translatable="yes" context="sheetsize" comments="Number of 'Rows' in sheet">Rows</property>
                   </object>
                   <packing>
                     <property name="left_attach">1</property>
diff --git a/src/dialogs/shuffle.ui b/src/dialogs/shuffle.ui
index c691cd1..6dddd55 100644
--- a/src/dialogs/shuffle.ui
+++ b/src/dialogs/shuffle.ui
@@ -86,7 +86,7 @@
                 <property name="can_focus">False</property>
                 <child>
                   <object class="GtkRadioButton" id="shuffle_cols">
-                    <property name="label" translatable="yes">_Columns</property>
+                    <property name="label" translatable="yes" context="shuffle" comments="Shuffle metod: Columns">_Columns</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
@@ -102,7 +102,7 @@
                 </child>
                 <child>
                   <object class="GtkRadioButton" id="shuffle_rows">
-                    <property name="label" translatable="yes">_Rows</property>
+                    <property name="label" translatable="yes" context="shuffle" comments="Shuffle metod: Columns">_Rows</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">False</property>
diff --git a/src/dialogs/sign-test.ui b/src/dialogs/sign-test.ui
index a8b2dc7..45562c5 100644
--- a/src/dialogs/sign-test.ui
+++ b/src/dialogs/sign-test.ui
@@ -126,7 +126,7 @@
                     <property name="homogeneous">True</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -143,7 +143,7 @@
                     </child>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_row">
-                        <property name="label" translatable="yes">_Rows</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
diff --git a/src/dialogs/wilcoxon-mann-whitney.ui b/src/dialogs/wilcoxon-mann-whitney.ui
index 1708722..ddbeb6a 100644
--- a/src/dialogs/wilcoxon-mann-whitney.ui
+++ b/src/dialogs/wilcoxon-mann-whitney.ui
@@ -141,7 +141,7 @@
                     <property name="homogeneous">True</property>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_col">
-                        <property name="label" translatable="yes">_Columns</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Columns">_Columns</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
@@ -158,7 +158,7 @@
                     </child>
                     <child>
                       <object class="GtkRadioButton" id="grouped_by_row">
-                        <property name="label" translatable="yes">_Rows</property>
+                        <property name="label" translatable="yes" context="groupby" comments="Group by Rows">_Rows</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
                         <property name="receives_default">False</property>
diff --git a/src/sheet-object-graph.c b/src/sheet-object-graph.c
index bb41d13..ec666ee 100644
--- a/src/sheet-object-graph.c
+++ b/src/sheet-object-graph.c
@@ -745,8 +745,10 @@ sheet_object_graph_guru (WBCGtk *wbcg, GogGraph *graph,
 		gtk_table_attach (GTK_TABLE (custom), w, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 0, 0);
 		w = gtk_combo_box_text_new ();
 		gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (w), _("Auto"));
-		gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (w), _("Columns"));
-		gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (w), _("Rows"));
+		/*Translators: Series as "Columns"*/
+		gtk_combo_box_text_append_text (GTK_COMBO_BOX (w), C_("graph", "Columns"));
+		/*Translators: Series as "Rows"*/
+		gtk_combo_box_text_append_text (GTK_COMBO_BOX (w), C_("graph", "Rows"));
 		gtk_combo_box_set_active (GTK_COMBO_BOX (w), 0);
 		g_signal_connect (G_OBJECT (w), "changed", G_CALLBACK (cb_selection_mode_changed), data);
 		gtk_table_attach (GTK_TABLE (custom), w, 1, 2, 0, 1, GTK_FILL, GTK_FILL, 0, 0);
diff --git a/src/sheet.c b/src/sheet.c
index 2adde28..1c8a3a8 100644
--- a/src/sheet.c
+++ b/src/sheet.c
@@ -1015,14 +1015,14 @@ gnm_sheet_class_init (GObjectClass *gobject_class)
 
 	g_object_class_install_property (gobject_class, PROP_COLUMNS,
 		g_param_spec_int ("columns",
-			_("Columns"),
+			C_("sheetsize", "Columns"),
 			_("Columns number in the sheet"),
 			0, GNM_MAX_COLS, GNM_DEFAULT_COLS,
 			GSF_PARAM_STATIC | G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
 	g_object_class_install_property (gobject_class, PROP_ROWS,
 		g_param_spec_int ("rows",
-			_("Rows"),
+			C_("sheetsize", "Rows"),
 			_("Rows number in the sheet"),
 			0, GNM_MAX_ROWS, GNM_DEFAULT_ROWS,
 			GSF_PARAM_STATIC | G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));



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