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 Ekpeye tilde keyboard #777

Merged
merged 1 commit into from
May 18, 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
29 changes: 29 additions & 0 deletions rules/ekp/ekp-tilde.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
( function ( $ ) {
'use strict';

var ekpTilde = {
id: 'ekp-tilde',
name: 'ekp-tilde',
description: 'Ekpeye input keyboard - tilde',
date: '2024-05-17',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
patterns: [
[ '~E', 'Ẹ' ],
[ '~e', 'ẹ' ],
[ '~I', 'Ị' ],
[ '~i', 'ị' ],
[ '~O', 'Ọ' ],
[ '~o', 'ọ' ],
[ '~U', 'Ụ' ],
[ '~u', 'ụ' ],
[ '~\\\\', '\u0300' ], // Combining grave
[ '~\\^', '\u0302' ], // Combining circumflex
[ '~-', '\u0304' ]
]
};

$.ime.register( ekpTilde );
}( jQuery ) );
8 changes: 8 additions & 0 deletions src/jquery.ime.inputmethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@
name: 'Efik - tilde',
source: 'rules/efi/efi-tilde.js'
},
'ekp-tilde': {
name: 'Ẹkpeye',
source: 'rules/ekp/ekp-tilde.js'
},
'el-kbd': {
name: 'Τυπική πληκτρολόγιο',
source: 'rules/el/el-kbd.js'
Expand Down Expand Up @@ -1166,6 +1170,10 @@
autonym: 'efịk',
inputmethods: [ 'efi-tilde' ]
},
ekp: {
autonym: 'ẹkpeye',
inputmethods: [ 'ekp-tilde' ]
},
el: {
autonym: 'Ελληνικά',
inputmethods: [ 'el-kbd' ]
Expand Down
16 changes: 16 additions & 0 deletions test/jquery.ime.test.fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -1516,6 +1516,22 @@ var palochkaVariants = {
{ input: 'i~/', output: 'í', description: 'Efik tilde i~/ -> í' }
]
},
{
description: 'Ekpeye tilde test',
inputmethod: 'ekp-tilde',
tests: [
{ input: '~E', output: 'Ẹ', description: 'Ekpeye tilde ~E -> Ẹ' },
{ input: '~e', output: 'ẹ', description: 'Ekpeye tilde ~e -> ẹ' },
{ input: '~I', output: 'Ị', description: 'Ekpeye tilde ~I -> Ị' },
{ input: '~i', output: 'ị', description: 'Ekpeye tilde ~i -> ị' },
{ input: '~O', output: 'Ọ', description: 'Ekpeye tilde ~O -> Ọ' },
{ input: '~o', output: 'ọ', description: 'Ekpeye tilde ~o -> ọ' },
{ input: '~U', output: 'Ụ', description: 'Ekpeye tilde ~U -> Ụ' },
{ input: 'E~\\', output: 'È', description: 'Ekpeye tilde E~\\ -> È' },
{ input: 'i~^', output: 'î', description: 'Ekpeye tilde i~^ -> î' },
{ input: 'o~-', output: 'ō', description: 'Ekpeye tilde o~- -> ō' }
]
},
{
description: 'Modern Greek Std Kbd test',
inputmethod: 'el-kbd',
Expand Down
Loading