From 6425439fd0c79c539e7c970963a94146bba06b95 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Wed, 20 Mar 2024 13:07:28 -0400 Subject: [PATCH] Add typographic apostrophe to Chinook Jargon keyboard Downstream bug: https://phabricator.wikimedia.org/T360547 --- rules/chn/chn-tilde.js | 3 ++- test/jquery.ime.test.fixtures.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rules/chn/chn-tilde.js b/rules/chn/chn-tilde.js index b0964c99..14b0fc69 100644 --- a/rules/chn/chn-tilde.js +++ b/rules/chn/chn-tilde.js @@ -9,7 +9,7 @@ URL: 'https://github.com/wikimedia/jquery.ime', author: 'Amir E. Aharoni', license: 'GPLv3', - version: '1.0', + version: '1.1', patterns: [ [ '~E', 'Ə' ], [ '~e', 'ə' ], @@ -19,6 +19,7 @@ [ '~l', 'ɬ' ], [ '~X', 'X̣' ], [ '~x', 'x̣' ], + [ '~\\\'', '’' ], [ '~\\?', 'ʔ' ] ] }; diff --git a/test/jquery.ime.test.fixtures.js b/test/jquery.ime.test.fixtures.js index 59522fbe..06cf754f 100644 --- a/test/jquery.ime.test.fixtures.js +++ b/test/jquery.ime.test.fixtures.js @@ -873,7 +873,7 @@ var palochkaVariants = { 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̣ʔ' } + { input: '~E~e~H~h~L~l~X~x~?~\'', output: 'ƏəʰʰꞭɬX̣x̣ʔ’', description: 'Chinook Jargon ƏəʰʰꞭɬX̣x̣ʔ’' } ] }, {