Skip to content

Commit

Permalink
Add Mampruli tilde (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
amire80 authored Nov 6, 2024
1 parent efc1e78 commit 5b066ef
Show file tree
Hide file tree
Showing 3 changed files with 40 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 ) );
8 changes: 8 additions & 0 deletions src/jquery.ime.inputmethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,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 @@ -1550,6 +1554,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 @@ -4687,6 +4687,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 5b066ef

Please sign in to comment.