diff --git a/rules/wlx/wlx-tilde.js b/rules/wlx/wlx-tilde.js new file mode 100644 index 00000000..fd989396 --- /dev/null +++ b/rules/wlx/wlx-tilde.js @@ -0,0 +1,25 @@ +( function ( $ ) { + 'use strict'; + + var wlxTilde = { + id: 'wlx-tilde', + name: 'Waale tilde', + description: 'Waale tilde', + date: '2024-07-03', + URL: 'https://github.com/wikimedia/jquery.ime', + author: 'Amir E. Aharoni', + license: 'GPLv3', + version: '1.0', + maxKeyLength: 2, + patterns: [ + [ '~E', 'Ɛ' ], + [ '~e', 'ɛ' ], + [ '~N', 'Ŋ' ], + [ '~n', 'ŋ' ], + [ '~O', 'Ɔ' ], + [ '~o', 'ɔ' ] + ] + }; + + $.ime.register( wlxTilde ); +}( jQuery ) ); diff --git a/src/jquery.ime.inputmethods.js b/src/jquery.ime.inputmethods.js index 3bd05944..61b976c0 100755 --- a/src/jquery.ime.inputmethods.js +++ b/src/jquery.ime.inputmethods.js @@ -962,6 +962,10 @@ name: 'Vèneto', source: 'rules/vec/vec-GVU.js' }, + 'wlx-tilde': { + name: 'Waale tilde', + source: 'rules/wlx/wlx-tilde.js' + }, 'wo-alt': { name: 'Wolof Alt', source: 'rules/wo/wo-alt.js' @@ -1642,6 +1646,10 @@ autonym: 'Vèneto', inputmethods: [ 'vec-GVU' ] }, + wlx: { + autonym: 'Waale', + inputmethods: [ 'wlx-tilde' ] + }, wo: { autonym: 'Wolof', inputmethods: [ 'wo-alt', 'wo-tilde' ] diff --git a/test/jquery.ime.test.fixtures.js b/test/jquery.ime.test.fixtures.js index 39cb92a0..8063c91c 100644 --- a/test/jquery.ime.test.fixtures.js +++ b/test/jquery.ime.test.fixtures.js @@ -6490,6 +6490,13 @@ var palochkaVariants = { { input: 'Ẑh', output: 'Zh', description: 'Venetian Zh' } ] }, + { + description: 'Waale tilde test', + inputmethod: 'wlx-tilde', + tests: [ + { input: '~E~e~N~n~O~o', output: 'ƐɛŊŋƆɔ', description: 'Waale tilde ƐɛŊŋƆɔ' } + ] + }, { description: 'Wolof Alt input method test', inputmethod: 'wo-alt',