Skip to content

Commit

Permalink
feat(developer): hint/warn on range check 🙀
Browse files Browse the repository at this point in the history
- just the test files

#10316
  • Loading branch information
srl295 committed Feb 2, 2024
1 parent 3a538c1 commit 535418d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE keyboard3 SYSTEM "../../../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="mt" conformsTo="techpreview">
<info name="tran-hint-range" />

<keys />

<transforms type="simple">
<transformGroup>
<!-- all NFD but crosses non-NFD-->
<transform from="[\u{0020}-\u{01ff}]" to="x" />
</transformGroup>
</transforms>
</keyboard3>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE keyboard3 SYSTEM "../../../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="mt" conformsTo="techpreview">
<info name="tran-hint-range"/>

<keys />

<transforms type="simple">
<transformGroup>
<!-- all NFD but crosses non-NFD -->
<transform from="[a-ɐ]" to="x"/>
</transformGroup>
</transforms>
</keyboard3>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE keyboard3 SYSTEM "../../../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="mt" conformsTo="techpreview">
<info name="tran-hint-range" />

<keys />

<transforms type="simple">
<transformGroup>
<!-- warning, includes NFD start/end-->
<transform from="[á-é]" to="x" />
</transformGroup>
</transforms>
</keyboard3>

0 comments on commit 535418d

Please sign in to comment.