Skip to content

Commit

Permalink
Add Lango tilde
Browse files Browse the repository at this point in the history
  • Loading branch information
amire80 authored and kartikm committed Oct 1, 2024
1 parent 64abe67 commit 44d4cee
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
29 changes: 29 additions & 0 deletions rules/laj/laj-tilde.js
Original file line number Diff line number Diff line change
@@ -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 ) );
8 changes: 8 additions & 0 deletions src/jquery.ime.inputmethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -1410,6 +1414,10 @@
autonym: 'Kʋsaal',
inputmethods: [ 'kus-tilde' ]
},
laj: {
autonym: 'Lëblaŋo',
inputmethods: [ 'laj-tilde' ]
},
lbe: {
autonym: 'лакку',
inputmethods: [ 'cyrl-palochka' ]
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 @@ -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',
Expand Down

0 comments on commit 44d4cee

Please sign in to comment.