Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chinnok Jargon keyboard #768

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions rules/chn/chn-tilde.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
( function ( $ ) {
'use strict';

var chnTilde = {
id: 'chn-tilde',
name: 'chn-tilde',
description: 'Chinook Jargon input keyboard - tilde',
date: '2024-02-07',
URL: 'https://github.com/wikimedia/jquery.ime',
author: 'Amir E. Aharoni',
license: 'GPLv3',
version: '1.0',
patterns: [
[ '~E', 'Ə' ],
[ '~e', 'ə' ],
[ '~h', 'ʰ' ],
[ '~H', 'ʰ' ],
[ '~L', 'Ɬ' ],
[ '~l', 'ɬ' ],
[ '~X', 'X̣' ],
[ '~x', 'x̣' ],
[ '~\\?', 'ʔ' ]
]
};

$.ime.register( chnTilde );
}( jQuery ) );
8 changes: 8 additions & 0 deletions src/jquery.ime.inputmethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@
name: 'ብሊን',
source: 'rules/byn/byn-geezim.js'
},
'chn-tilde': {
name: 'Chinook wawa tilde',
source: 'rules/chn/chn-tilde.js'
},
'chr': {
name: 'Cherokee Transliteration',
source: 'rules/chr/chr.js'
Expand Down Expand Up @@ -1090,6 +1094,10 @@
autonym: 'нохчийн',
inputmethods: [ 'cyrl-palochka' ]
},
chn: {
autonym: 'chinook wawa',
inputmethods: [ 'chn-tilde' ]
},
chr: {
autonym: 'ᏣᎳᎩ',
inputmethods: [ 'chr' ]
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 @@ -869,6 +869,13 @@ var palochkaVariants = {
{ input: 'Gi', output: 'ጚ', description: 'Blin Gi -> ጚ' }
]
},
{
description: 'Chinook Jargon tilde test',
inputmethod: 'chn-tilde',
tests: [
{ input: '~E~e~H~h~L~l~X~x~?', output: 'ƏəʰʰꞭɬX̣x̣ʔ', description: 'Chinook Jargon ƏəʰʰꞭɬX̣x̣ʔ' }
]
},
{
description: 'Cherokee transliteration test',
inputmethod: 'chr',
Expand Down
Loading