[at-spi2-core: 6/19] Accessible.xml: document the Locale property




commit 7af3f7a221aa91732028b6fa5f609945d006adc5
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Jul 5 14:47:58 2022 -0500

    Accessible.xml: document the Locale property

 xml/Accessible.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/xml/Accessible.xml b/xml/Accessible.xml
index c9e9e0d5..bac47c8b 100644
--- a/xml/Accessible.xml
+++ b/xml/Accessible.xml
@@ -52,6 +52,18 @@
     -->
     <property name="ChildCount" type="i" access="read"/>
 
+    <!--
+        Locale: Unix locale for the current object.
+
+        For an application, this may be the locale for the language that the application
+        shows in its user interface.
+
+        For a document being shown in an application, or a paragraph within a document,
+        the locale may refer to that object exclusively.  For example, an application may
+        be showing itself in English ("en"), but it may be used to display a document in
+        Spanish ("es").  In the latter case, a screen reader will want to know that it
+        should switch to Spanish while reading the document.
+    -->
     <property name="Locale" type="s" access="read"/>
 
     <property name="AccessibleId" type="s" access="read"/>


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