[orca] Tweak to the fix for bgo#575784 - accented characters are not echoed correctly
- From: Joanmarie Diggs <joanied src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca] Tweak to the fix for bgo#575784 - accented characters are not echoed correctly
- Date: Mon, 27 Jul 2009 17:53:15 +0000 (UTC)
commit b5f4b47d4b56fd47753e859c2ea830d195d57ccb
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Mon Jul 27 13:48:14 2009 -0400
Tweak to the fix for bgo#575784 - accented characters are not echoed correctly
I added translator notes -- and did the translator note hack needed because
GtkBuilder comments are not getting pulled in to orca.pot. I also changed a
couple of alignments to make them unique, because GtkBuilder doesn't like
duplicate ids. At least on some systems.
src/orca/orca-setup.ui | 8 ++++----
src/orca/orca_gui_prefs.py | 16 ++++++++++++++++
2 files changed, 20 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/orca-setup.ui b/src/orca/orca-setup.ui
index 74a7986..4636e0d 100644
--- a/src/orca/orca-setup.ui
+++ b/src/orca/orca-setup.ui
@@ -2546,7 +2546,7 @@
</packing>
</child>
<child>
- <object class="GtkAlignment" id="alignment59">
+ <object class="GtkAlignment" id="alignment63">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
@@ -2560,7 +2560,7 @@
<object class="GtkCheckButton" id="diacriticalCheckbutton">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Enable non-spacing _diacritical keys</property>
+ <property name="label" comments="Translators: When this option is enabled, dead keys will be announced when pressed." translatable="yes">Enable non-spacing _diacritical keys</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -2578,7 +2578,7 @@
</packing>
</child>
<child>
- <object class="GtkAlignment" id="alignment49">
+ <object class="GtkAlignment" id="alignment64">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
@@ -2592,7 +2592,7 @@
<object class="GtkCheckButton" id="echoByCharacterCheckbutton">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Enable echo by cha_racter</property>
+ <property name="label" comments="Translators: When this option is enabled, inserted text of length 1 is spoken." translatable="yes">Enable echo by cha_racter</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index 0439cde..8c53ea1 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -1648,6 +1648,22 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
self.get_widget("echoBySentenceCheckbutton").set_active( \
prefs["enableEchoBySentence"])
+ # Translators: When this option is enabled, dead keys will be
+ # announced when pressed.
+ #
+ label = _("Enable non-spacing _diacritical keys")
+ # TODO - JD: I did the above because GtkBuilder translator notes
+ # (which we have for the above string) are not getting sucked in
+ # to orca.pot. :-(
+
+ # Translators: When this option is enabled, inserted text of length
+ # 1 is spoken.
+ #
+ label = _("Enable echo by cha_racter")
+ # TODO - JD: I did the above because GtkBuilder translator notes
+ # (which we have for the above string) are not getting sucked in
+ # to orca.pot. :-(
+
# Magnifier pane.
#
# Turn live updating off temporarily.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]