diff --git a/rules/maw/maw-tilde.js b/rules/maw/maw-tilde.js new file mode 100644 index 00000000..93533baf --- /dev/null +++ b/rules/maw/maw-tilde.js @@ -0,0 +1,25 @@ +( function ( $ ) { + 'use strict'; + + var mawTilde = { + id: 'maw-tilde', + name: 'Mampruli tilde', + description: 'Mampruli tilde', + date: '2024-11-05', + 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( mawTilde ); +}( jQuery ) ); diff --git a/src/jquery.ime.inputmethods.js b/src/jquery.ime.inputmethods.js index 27ea03ff..342e8d0a 100755 --- a/src/jquery.ime.inputmethods.js +++ b/src/jquery.ime.inputmethods.js @@ -634,6 +634,10 @@ source: 'rules/mai/mai-inscript2.js', depends: 'hi-inscript2' }, + 'maw-tilde': { + name: 'Mampruli tilde', + source: 'rules/maw/maw-tilde.js' + }, 'mg-tilde': { name: 'Malagasy tilde', source: 'rules/mg/mg-tilde.js' @@ -1234,6 +1238,10 @@ autonym: 'ብሊን', inputmethods: [ 'byn-geezim' ] }, + byv: { + autonym: 'Mə̀dʉ̂mbɑ̀', + inputmethods: [ 'mul-cm' ] + }, ce: { autonym: 'нохчийн', inputmethods: [ 'cyrl-palochka' ] @@ -1558,6 +1566,10 @@ autonym: 'मैथिली', inputmethods: [ 'mai-inscript', 'mai-inscript2' ] }, + maw: { + autonym: 'Ŋmampulli', + inputmethods: [ 'maw-tilde' ] + }, mg: { autonym: 'Malagasy', inputmethods: [ 'mg-tilde' ] diff --git a/test/jquery.ime.test.fixtures.js b/test/jquery.ime.test.fixtures.js index 7adb6a96..0a301981 100644 --- a/test/jquery.ime.test.fixtures.js +++ b/test/jquery.ime.test.fixtures.js @@ -4694,6 +4694,13 @@ var palochkaVariants = { { input: '~t', output: 'ṭ', description: 'Madurese tilde ~t' } ] }, + { + description: 'Mampruli tilde test', + inputmethod: 'maw-tilde', + tests: [ + { input: '~e~n~o~E~N~O', output: 'ɛŋɔƐŊƆ', description: 'Mampruli tilde ɛŋɔƐŊƆ' } + ] + }, { description: 'Malagasy tilde test', inputmethod: 'mg-tilde',