diff --git a/rules/laj/laj-tilde.js b/rules/laj/laj-tilde.js new file mode 100644 index 00000000..3bff9ef7 --- /dev/null +++ b/rules/laj/laj-tilde.js @@ -0,0 +1,29 @@ +( function ( $ ) { + 'use strict'; + + var lajTilde = { + id: 'laj-tilde', + name: 'Lango tilde', + description: 'Lango tilde', + date: '2024-09-30', + URL: 'https://github.com/wikimedia/jquery.ime', + author: 'Amir E. Aharoni', + license: 'GPLv3', + version: '1.0', + maxKeyLength: 2, + patterns: [ + [ '~E', 'Ë' ], + [ '~e', 'ë' ], + [ '~I', 'Ï' ], + [ '~i', 'ï' ], + [ '~N', 'Ŋ' ], + [ '~n', 'ŋ' ], + [ '~O', 'Ö' ], + [ '~o', 'ö' ], + [ '~U', 'Ü' ], + [ '~u', 'ü' ] + ] + }; + + $.ime.register( lajTilde ); +}( jQuery ) ); diff --git a/src/jquery.ime.inputmethods.js b/src/jquery.ime.inputmethods.js index ea237765..45027ea3 100755 --- a/src/jquery.ime.inputmethods.js +++ b/src/jquery.ime.inputmethods.js @@ -544,6 +544,10 @@ name: 'Kusaal tilde', source: 'rules/kus/kus-tilde.js' }, + 'laj-tilde': { + name: 'Lango tilde', + source: 'rules/laj/laj-tilde.js' + }, 'lg-tilde': { name: 'Luganda tilde', source: 'rules/lg/lg-tilde.js' @@ -1410,6 +1414,10 @@ autonym: 'Kʋsaal', inputmethods: [ 'kus-tilde' ] }, + laj: { + autonym: 'Lëblaŋo', + inputmethods: [ 'laj-tilde' ] + }, lbe: { autonym: 'лакку', inputmethods: [ 'cyrl-palochka' ] diff --git a/test/jquery.ime.test.fixtures.js b/test/jquery.ime.test.fixtures.js index f2547e20..c534a99b 100644 --- a/test/jquery.ime.test.fixtures.js +++ b/test/jquery.ime.test.fixtures.js @@ -4093,6 +4093,13 @@ var palochkaVariants = { { input: 'У', output: 'У', description: 'Kyrgyz Cyrillic letters, У does not change' } ] }, + { + description: 'Lango tilde test', + inputmethod: 'laj-tilde', + tests: [ + { input: '~e~i~n~o~u~E~I~N~O~U', output: 'ëïŋöüËÏŊÖÜ', description: 'Lango tilde test ëïŋöüËÏŊÖÜ' } + ] + }, { description: 'Luganda tilde test', inputmethod: 'lg-tilde',