Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Edo tilde keyboard #780

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions rules/bin/bin-tilde.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
( function ( $ ) {
'use strict';

var binTilde = {
id: 'bin-tilde',
name: 'bin-tilde',
description: 'Edo input keyboard - tilde',
date: '2024-07-01',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
patterns: [
[ '~E', 'Ẹ' ],
[ '~e', 'ẹ' ],
[ '~O', 'Ọ' ],
[ '~o', 'ọ' ]
]
};

$.ime.register( binTilde );
}( jQuery ) );
8 changes: 8 additions & 0 deletions src/jquery.ime.inputmethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@
name: 'روچ کپتین بلوچی',
source: 'rules/bgn/bgn-kbd.js'
},
'bin-tilde': {
name: 'Edo tilde',
source: 'rules/bin/bin-tilde.js'
},
'bkm-tilde': {
name: 'Kom tilde',
source: 'rules/bkm/bkm-tilde.js'
Expand Down Expand Up @@ -1058,6 +1062,10 @@
autonym: 'روچ کپتین بلوچی',
inputmethods: [ 'bgn-kbd' ]
},
bin: {
autonym: 'Ẹdo',
inputmethods: [ 'bin-tilde' ]
},
bho: {
autonym: 'भोजपुरी',
inputmethods: [ 'hi-transliteration' ]
Expand Down
10 changes: 10 additions & 0 deletions test/jquery.ime.test.fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,16 @@ var palochkaVariants = {
{ input: '?', output: '؟', description: 'Western Baluchi Keyboard Layout: ? -> ؟' }
]
},
{
description: 'Edo tilde test',
inputmethod: 'bin-tilde',
tests: [
{ input: '~E', output: 'Ẹ', description: 'Edo tilde ~E -> Ẹ' },
{ input: '~e', output: 'ẹ', description: 'Edo tilde ~e -> ẹ' },
{ input: '~O', output: 'Ọ', description: 'Edo tilde ~O -> Ọ' },
{ input: '~o', output: 'ọ', description: 'Edo tilde ~o -> ọ' }
]
},
{
description: 'Kom tilde test',
inputmethod: 'bkm-tilde',
Expand Down
Loading