Skip to content

Commit fe25ed2

Browse files
ToluAyodeleToluAyo
andauthored
Fix Shughni keyboard (#849)
* Fix Shughni keyboard * Fix Shughni keyboard --------- Co-authored-by: ToluAyo <[email protected]>
1 parent 91ae26e commit fe25ed2

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

rules/sgh/sgh-tilde.js

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,33 @@
1515
[ '~a', 'ā' ],
1616
[ '~C', 'Č' ],
1717
[ '~c', 'č' ],
18-
[ '~Z', 'Ʒ' ],
19-
[ '~z', 'ʒ' ],
20-
[ '~D', 'Đ' ],
21-
[ '~d', 'đ' ],
22-
[ '~e', 'ē' ],
18+
[ '~D', 'Δ' ],
19+
[ '~d', 'δ' ],
2320
[ '~E', 'Ê' ],
24-
[ '~3', 'ê' ],
25-
[ '~G', 'Ğ' ],
26-
[ '~h', 'ğ' ],
27-
[ '~H', 'H²' ],
28-
[ '~2', 'h²' ],
21+
[ '~e', 'ê' ],
22+
[ '~G', 'Ɣ' ],
23+
[ '~g', 'ɣ' ],
24+
[ '~H', 'Ɣ̌' ],
25+
[ '~h', 'ɣ̌' ],
26+
[ '~I', 'Ī' ],
27+
[ '~i', 'ī' ],
28+
[ '~J', 'J̌' ],
29+
[ '~j', 'ǰ' ],
2930
[ '~S', 'Š' ],
3031
[ '~s', 'š' ],
31-
[ '~T', 'Þ' ],
32-
[ '~t', 'þ' ],
32+
[ '~T', 'Θ' ],
33+
[ '~t', 'θ' ],
3334
[ '~U', 'Ů' ],
3435
[ '~u', 'ů' ],
35-
[ '~X', '' ],
36-
[ '~x', '' ],
37-
[ '~V', 'Ž' ],
38-
[ '~v', 'ž' ],
39-
[ '~Y', 'Ġ' ],
40-
[ '~y', 'ġ' ],
41-
[ '~_', '\u0331' ],
42-
[ '~B', '' ],
43-
[ '~b', '' ]
36+
[ '~V', 'Ū' ],
37+
[ '~v', 'ū' ],
38+
[ '~X', '' ],
39+
[ '~x', '' ],
40+
[ '~Z', 'Ž' ],
41+
[ '~z', 'ž' ],
42+
[ '~M', 'Ʒ' ],
43+
[ '~m', 'ʒ' ],
44+
[ '~-', '\u0304' ] // Combining macron
4445
]
4546
};
4647

test/jquery.ime.test.fixtures.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21226,11 +21226,11 @@ var palochkaVariants = {
2122621226
description: 'Shughni tilde test',
2122721227
inputmethod: 'sgh-tilde',
2122821228
tests: [
21229-
{ input: '~A~a~C~c~Z~z~D~d', output: 'ĀāČčƷʒĐđ', description: 'Shughni tilde test ĀāČčƷʒĐđ' },
21230-
{ input: '~e~E~3~G~h', output: 'ēÊêĞğ', description: 'Shughni tilde test ēÊêĞğ' },
21231-
{ input: '~Y~y~H~2', output: 'ĠġH²h²', description: 'Shughni tilde test ĠġH²h²' },
21232-
{ input: '~S~s~T~t~U~u~X~x', output: 'ŠšÞþŮůẊẋ', description: 'Shughni tilde test ŠšÞþŮůẊẋ' },
21233-
{ input: '~V~v~B~b', output: 'ŽžA̱a̱', description: 'Shughni tilde test ŽžA̱a̱' }
21229+
{ input: '~A~a~C~c~D~d~E~e~G~g', output: 'ĀāČčΔδÊêƔɣ', description: 'Shughni tilde test ĀāČčΔδÊêƔɣ' },
21230+
{ input: '~H~h~I~i~J~j~S~s', output: 'Ɣ̌ɣ̌ĪīJ̌ǰŠš', description: 'Shughni tilde test Ɣ̌ɣ̌ĪīJ̌ǰŠš' },
21231+
{ input: '~T~t~U~u~V~v~X~x', output: 'ΘθŮůŪūX̌x̌', description: 'Shughni tilde test ΘθŮůŪūẊẋ' },
21232+
{ input: '~Z~z~M~m', output: 'ŽžƷʒ', description: 'Shughni tilde test ŽžƷʒ' },
21233+
{ input: 're~-al', output: 'rēal', description: 'Shughni tilde test rēal' }
2123421234
]
2123521235
},
2123621236
{

0 commit comments

Comments
 (0)