accerciser r509 - in trunk: . plugindata/validate plugins src/lib/accerciser
- From: eitani svn gnome org
- To: svn-commits-list gnome org
- Subject: accerciser r509 - in trunk: . plugindata/validate plugins src/lib/accerciser
- Date: Wed, 5 Mar 2008 19:15:34 +0000 (GMT)
Author: eitani
Date: Wed Mar 5 19:15:33 2008
New Revision: 509
URL: http://svn.gnome.org/viewvc/accerciser?rev=509&view=rev
Log:
* src/lib/accerciser/accessible_treeview.py:
* plugindata/validate/basic.py:
* plugins/interface_view.glade: Added translator comments.
Modified:
trunk/ChangeLog
trunk/plugindata/validate/basic.py
trunk/plugins/interface_view.glade
trunk/src/lib/accerciser/accessible_treeview.py
Modified: trunk/plugindata/validate/basic.py
==============================================================================
--- trunk/plugindata/validate/basic.py (original)
+++ trunk/plugindata/validate/basic.py Wed Mar 5 19:15:33 2008
@@ -230,6 +230,10 @@
ss = acc.getState()
able_state = self.STATE_MAP[self.test_state]
if not ss.contains(able_state):
+ # Translators: First variable is an accessible role name, the next two
+ # variables are accessible state names.
+ # For example: "button has focused state without focusable state".
+ #
view.error(_('%s has %s state without %s state') % (
acc.getLocalizedRoleName(),
stateToString(self.test_state),
@@ -284,8 +288,8 @@
ir = t.getRowAtIndex(i)
ic = t.getColumnAtIndex(i)
if r != ir or c != ic:
- # Translators: The row or column number retrieved from a table child's object
- # at a certain index is wrong.
+ # Translators: The row or column number retrieved from a table child's
+ # object at a certain index is wrong.
# The first variable is the role name of the object, the second is the
# given index.
#
Modified: trunk/plugins/interface_view.glade
==============================================================================
--- trunk/plugins/interface_view.glade (original)
+++ trunk/plugins/interface_view.glade Wed Mar 5 19:15:33 2008
@@ -566,7 +566,8 @@
<widget class="GtkLabel" id="relative_position_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">0, 0</property>
+ <property name="label"
+ translatable="yes" comments="Screen coordinates">0, 0</property>
<property name="selectable">True</property>
<accessibility>
<atkrelation target="label33" type="labelled-by"/>
@@ -598,7 +599,9 @@
<widget class="GtkLabel" id="size_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">0, 0</property>
+ <property name="label"
+ translatable="yes" comments="Component
+ size in pixels">0, 0</property>
<property name="selectable">True</property>
<accessibility>
<atkrelation target="label14" type="labelled-by"/>
@@ -700,7 +703,7 @@
<widget class="GtkLabel" id="alpha_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">1.0</property>
+ <property name="label" translatable="no">1.0</property>
<property name="selectable">True</property>
<accessibility>
<atkrelation target="label19" type="labelled-by"/>
@@ -734,7 +737,8 @@
<widget class="GtkLabel" id="absolute_position_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">0, 0</property>
+ <property name="label"
+ translatable="yes" comments="Screen coordinates">0, 0</property>
<property name="selectable">True</property>
<accessibility>
<atkrelation target="label13" type="labelled-by"/>
@@ -1072,7 +1076,8 @@
<widget class="GtkLabel" id="img_position_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">0, 0</property>
+ <property name="label"
+ translatable="yes" comments="Screen coordinates">0, 0</property>
<property name="selectable">True</property>
<accessibility>
<atkrelation target="label25" type="labelled-by"/>
@@ -1091,7 +1096,9 @@
<widget class="GtkLabel" id="img_size_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">0, 0</property>
+ <property name="label"
+ translatable="yes" comments="Component
+ size">0, 0</property>
<property name="selectable">True</property>
<accessibility>
<atkrelation target="label21" type="labelled-by"/>
@@ -1445,7 +1452,7 @@
<widget class="GtkLabel" id="table_scolumns_label">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">0</property>
+ <property name="label" translatable="no">0</property>
<accessibility>
<atkrelation target="label44" type="labelled-by"/>
</accessibility>
@@ -1996,7 +2003,9 @@
<widget class="GtkLabel" id="label_text_attr_start">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><i>Start: 0</i></property>
+ <property name="label"
+ translatable="yes"
+ comments="Start character offset of text attributes span"><i>Start: 0</i></property>
<property name="use_markup">True</property>
<property name="wrap_mode">PANGO_WRAP_WORD_CHAR</property>
<property name="selectable">True</property>
@@ -2006,7 +2015,10 @@
<widget class="GtkLabel" id="label_text_attr_end">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes"><i>End: 0</i></property>
+ <property name="label"
+ translatable="yes"
+ comments="End chaacter
+ offset of text attributes span"><i>End: 0</i></property>
<property name="use_markup">True</property>
<property name="wrap_mode">PANGO_WRAP_WORD_CHAR</property>
<property name="selectable">True</property>
Modified: trunk/src/lib/accerciser/accessible_treeview.py
==============================================================================
--- trunk/src/lib/accerciser/accessible_treeview.py (original)
+++ trunk/src/lib/accerciser/accessible_treeview.py Wed Mar 5 19:15:33 2008
@@ -428,6 +428,8 @@
self.action_group.add_actions([
('RefreshAll', gtk.STOCK_REFRESH, None,
None, 'Refresh all', self._refreshTopLevel),
+ # Translators: Refresh current tree node's children.
+ #
('RefreshCurrent', gtk.STOCK_JUMP_TO, _('Refresh _Current'),
None, 'Refresh selected node\'s children', self._refreshCurrentLevel)])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]