(input-method vi telex)
-(description "Vietnames input method using the TELEX key sequence.
+(description (_"Vietnames input method using the TELEX key sequence.
Typing Backslash ('\\') toggles the normal mode and English mode.
The following variables are customizable:
tone-mark-on-last: control tone mark position in equivocal cases
- backspace-is-undo: control the action of Backspace key (delete or undo)")
+ backspace-is-undo: control the action of Backspace key (delete or undo)"))
(title "Ắ")
(variable
(tone-mark-on-last
- "Flag to control tone mark position in equivocal cases.
+ (_"Flag to control tone mark position in equivocal cases.
If this variable is 0 (the default), put tone mark on the first vowel
in such equivocal cases as \"oa\", \"oe\", \"uy\".
-Otherwise, put tone mark on the last vowel."
+Otherwise, put tone mark on the last vowel.")
0 0 1)
(backspace-is-undo
- "Flag to control the action of Backspace key (delete or undo).
+ (_"Flag to control the action of Backspace key (delete or undo).
If this variable is 0 (the default), Backspace key deletes the previous
character (e.g. \"q u a i s BS\" => \"quá\").
If the value is 1, Backspace key undoes the previous key
-\(e.g. \"q u a i s BS\" => \"quai\")."
+\(e.g. \"q u a i s BS\" => \"quai\").")
0 0 1))
(macro
(cond ((| (> V-1 127)
(& (| (= C ?g) (= C ?G)) (| (= V-2 ?i) (= V-2 ?I)))
(& (| (= C ?q) (= C ?Q)) (| (= V-2 ?u) (= V-2 ?U)))
- (& (| tone-mark-on-last C-AFTER-V)
+ (& (| tone-mark-on-last (> C-AFTER-V))
(| (& (| (= V-2 ?o) (= V-2 ?O))
(| (= V-1 ?a) (= V-1 ?A) (= V-1 ?e) (= V-1 ?E)
(= V-1 ?o) (= V-1 ?O)))