Skip to content

Commit

Permalink
Update form.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lancejpollard committed May 16, 2023
1 parent bfbce25 commit c54cc62
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions form.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ BASE_VOWEL_GLYPHS.forEach(g => {
TONE_MARKS.forEach(t => {
const i = `${g}${v}${n}${t}${s}${l}${a}`
// these two are treated specially, not getting the variant mark
if (i.match(/([ou])#/)) {
if (i.match(/([ou])~/)) {
const x = RegExp.$1
const o = l === '$'
? `${x === 'o' ? 1 : 2}${D[a]}${D[t]}${D[l]}${D[n]}${D[s]}`
Expand All @@ -57,6 +57,8 @@ const CONSONANTS = [
{ i: "=.", o: ".", name: 'Period literal' },
{ i: "=?", o: "?", name: 'Question literal' },
{ i: "=!", o: "!", name: 'Exclamation literal' },
{ i: "=+", o: "+", name: 'Plus' },
{ i: "=-", o: "-", name: 'Minus' },
{ i: "mh!", o: "m%9", name: 'Voiceless m sound' },
{ i: "mh~", o: "m%", name: 'Aspirated m sound' },
{ i: "mG~", o: "m4", name: 'Velarized m sound' },
Expand Down Expand Up @@ -211,7 +213,7 @@ const CONSONANTS = [
{ i: "zw~", o: "z33", name: 'Labialized z sound' },
{ i: "z!", o: "z93", name: 'Ejective z sound' },
{ i: "z", o: "z", name: 'Z sound' },
{ i: "C#", o: "C3", name: 'Danish th/l sound' },
{ i: "C~", o: "C3", name: 'Danish th/l sound' },
{ i: "CQ~", o: "C66", name: 'Pharyngealized C sound' },
{ i: "CG~", o: "C6", name: 'Velarized C sound' },
{ i: "Cy~", o: "C5", name: 'Palatalized C sound' },
Expand Down Expand Up @@ -266,7 +268,8 @@ const CONSONANTS = [
{ i: "[", o: "[", name: 'Opening bracket' },
{ i: "]", o: "]", name: 'Closing bracket' },
{ i: "|", o: "|", name: 'Pipe' },
{ i: "#", o: "#", name: 'At sign' },
{ i: "#", o: "#", name: 'Number sign' },
{ i: "=@", o: "@", name: 'At sign' },
{ i: "/", o: "/", name: 'Forward slash' },
{ i: "\\", o: "\\", name: 'Backward slash' },
{ i: ":", o: ":", name: 'Colon' }
Expand Down

0 comments on commit c54cc62

Please sign in to comment.