[PATCH wayland-protocols 08/19] text-input: Correct grammar

Yong Bakos junk at humanoriented.com
Mon Apr 11 22:22:55 UTC 2016


From: Yong Bakos <ybakos at humanoriented.com>

Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
---
 unstable/text-input/text-input-unstable-v1.xml | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/unstable/text-input/text-input-unstable-v1.xml b/unstable/text-input/text-input-unstable-v1.xml
index cfb1495..29a217e 100644
--- a/unstable/text-input/text-input-unstable-v1.xml
+++ b/unstable/text-input/text-input-unstable-v1.xml
@@ -106,7 +106,7 @@
 	UTF-8 encoded. Cursor is the byte offset within the
 	surrounding text. Anchor is the byte offset of the
 	selection anchor within the surrounding text. If there is no selected
-	text anchor is the same as cursor.
+	text anchor, then it is the same as cursor.
       </description>
       <arg name="text" type="string"/>
       <arg name="cursor" type="uint"/>
@@ -180,12 +180,12 @@
     <request name="set_preferred_language">
       <description summary="sets preferred language">
 	Sets a specific language. This allows for example a virtual keyboard to
-	show a language specific layout. The "language" argument is a RFC-3066
+	show a language specific layout. The "language" argument is an RFC-3066
 	format language tag.
 
-	It could be used for example in a word processor to indicate language of
-	currently edited document or in an instant message application which
-	tracks languages of contacts.
+	It could be used for example in a word processor to indicate the
+	language of the currently edited document or in an instant message
+	application which tracks languages of contacts.
       </description>
       <arg name="language" type="string"/>
     </request>
@@ -217,7 +217,7 @@
 
     <event name="modifiers_map">
       <description summary="modifiers map">
-	Transfer an array of 0-terminated modifiers names. The position in
+	Transfer an array of 0-terminated modifier names. The position in
 	the array is the index of the modifier as used in the modifiers
 	bitmask in the keysym event.
       </description>
@@ -289,7 +289,7 @@
       <description summary="commit">
 	Notify when text should be inserted into the editor widget. The text to
 	commit could be either just a single character after a key press or the
-	result of some composing (pre-edit). It could be also an empty text
+	result of some composing (pre-edit). It could also be an empty text
 	when some text should be removed (see delete_surrounding_text) or when
 	the input cursor should be moved (see cursor_position).
 
@@ -330,7 +330,7 @@
 	Notify when a key event was sent. Key events should not be used
 	for normal text input operations, which should be done with
 	commit_string, delete_surrounding_text, etc. The key event follows
-	the wl_keyboard key event convention. Sym is a XKB keysym, state a
+	the wl_keyboard key event convention. Sym is an XKB keysym, state a
 	wl_keyboard key_state. Modifiers are a mask for effective modifiers
 	(where the modifier indices are set by the modifiers_map event)
       </description>
@@ -343,7 +343,7 @@
 
     <event name="language">
       <description summary="language">
-	Sets the language of the input text. The "language" argument is a
+	Sets the language of the input text. The "language" argument is an
 	RFC-3066 format language tag.
       </description>
       <arg name="serial" type="uint" summary="serial of the latest known text input state"/>
@@ -360,8 +360,8 @@
       <description summary="text direction">
 	Sets the text direction of input text.
 
-	It is mainly needed for showing input cursor on correct side of the
-	editor when there is no input yet done and making sure neutral
+	It is mainly needed for showing an input cursor on the correct side of
+	the editor when there is no input done yet and making sure neutral
 	direction text is laid out properly.
       </description>
       <arg name="serial" type="uint" summary="serial of the latest known text input state"/>
-- 
2.7.2



More information about the wayland-devel mailing list