[orca] Fix for bug #638318 - Different "None" strings for gender correct translation



commit 0731e2e200f8e9cdb79e1461a24a036ba1286bc0
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Mon Jan 10 07:41:38 2011 -0500

    Fix for bug #638318 - Different "None" strings for gender correct translation

 src/orca/orca-setup.ui     |    8 ++++----
 src/orca/orca_gui_prefs.py |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/orca/orca-setup.ui b/src/orca/orca-setup.ui
index 1d1bf0b..a521b3c 100644
--- a/src/orca/orca-setup.ui
+++ b/src/orca/orca-setup.ui
@@ -1025,7 +1025,7 @@
                                                 <property name="n_columns">2</property>
                                                 <child>
                                                   <object class="GtkRadioButton" id="noneButton">
-                                                    <property name="label" translatable="yes">_None</property>
+                                                    <property name="label" translatable="yes" context="punctuation level" comments="Translators: this refers to how much punctuation will be spoken by Orca when presenting text on the screen.">_None</property>
                                                     <property name="visible">True</property>
                                                     <property name="can_focus">True</property>
                                                     <property name="receives_default">False</property>
@@ -1860,7 +1860,7 @@
                                     <property name="border_width">3</property>
                                     <child>
                                       <object class="GtkRadioButton" id="brailleSelectionNoneButton">
-                                        <property name="label" translatable="yes">_None</property>
+                                        <property name="label" translatable="yes" context="braille dots" comments="Translators: This option refers to the dot or dots in braille which will be used to 'underline' certain characters.">_None</property>
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">False</property>
@@ -1957,7 +1957,7 @@
                                     <property name="visible">True</property>
                                     <child>
                                       <object class="GtkRadioButton" id="brailleLinkNoneButton">
-                                        <property name="label" translatable="yes">_None</property>
+                                        <property name="label" translatable="yes" context="braille dots" comments="Translators: This option refers to the dot or dots in braille which will be used to 'underline' certain characters.">_None</property>
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">False</property>
@@ -4164,7 +4164,7 @@ attributes&lt;/b&gt;</property>
                                     <property name="border_width">3</property>
                                     <child>
                                       <object class="GtkRadioButton" id="textBrailleNoneButton">
-                                        <property name="label" translatable="yes">_None</property>
+                                        <property name="label" translatable="yes" context="braille dots" comments="Translators: This option refers to the dot or dots in braille which will be used to 'underline' certain characters.">_None</property>
                                         <property name="visible">True</property>
                                         <property name="can_focus">True</property>
                                         <property name="receives_default">False</property>
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index df7c753..ce5c3c6 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -3069,7 +3069,7 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
             # Translators: If this setting is chosen, no punctuation
             # symbols will be spoken as a user reads a document.
             #
-            if widget.get_label() == _("_None"):
+            if widget.get_label() == C_("punctuation level", "_None"):
                 self.prefsDict["verbalizePunctuationStyle"] = \
                     settings.PUNCTUATION_STYLE_NONE
             # Translators: If this setting is chosen, common punctuation



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