Skip to content

Commit

Permalink
Merge branch 'master' into cko
Browse files Browse the repository at this point in the history
  • Loading branch information
srish authored Nov 6, 2024
2 parents 3e5d3b6 + 00acdb6 commit 625619c
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
25 changes: 25 additions & 0 deletions rules/maw/maw-tilde.js
Original file line number Diff line number Diff line change
@@ -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 ) );
12 changes: 12 additions & 0 deletions src/jquery.ime.inputmethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -1234,6 +1238,10 @@
autonym: 'ብሊን',
inputmethods: [ 'byn-geezim' ]
},
byv: {
autonym: 'Mə̀dʉ̂mbɑ̀',
inputmethods: [ 'mul-cm' ]
},
ce: {
autonym: 'нохчийн',
inputmethods: [ 'cyrl-palochka' ]
Expand Down Expand Up @@ -1558,6 +1566,10 @@
autonym: 'मैथिली',
inputmethods: [ 'mai-inscript', 'mai-inscript2' ]
},
maw: {
autonym: 'Ŋmampulli',
inputmethods: [ 'maw-tilde' ]
},
mg: {
autonym: 'Malagasy',
inputmethods: [ 'mg-tilde' ]
Expand Down
7 changes: 7 additions & 0 deletions test/jquery.ime.test.fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 625619c

Please sign in to comment.