Skip to content

Commit

Permalink
chore(core): ldml update out of techpreview 🙀
Browse files Browse the repository at this point in the history
- updates to support techpreview -> 45
- test changes

Fixes: #10900
  • Loading branch information
srl295 committed Mar 1, 2024
1 parent 9aca4b3 commit 25cd323
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_001_tiny.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="mt" conformsTo="techpreview">
<keyboard3 locale="mt" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TestKbd"/>

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_002_tinyu32.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="mt" conformsTo="techpreview">
<keyboard3 locale="mt" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TestKbd-UTF32"/>

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_003_transform.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ from https://github.com/unicode-org/cldr/blob/keyboard-preview/docs/ldml/tr35-ke
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TransformKbd"/>

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_004_tinyshift.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="mt" conformsTo="techpreview">
<keyboard3 locale="mt" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TestKbd"/>

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_005_modbittest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="mt" conformsTo="techpreview">
<keyboard3 locale="mt" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TestKbd"/>

<keys/> <!-- implied only -->
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_006_backspace.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TransformKbd"/>

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_007_transform_rgx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ from https://github.com/unicode-org/cldr/blob/keyboard-preview/docs/ldml/tr35-ke
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="k_007_transform_rgx" />

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_008_transform_norm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ https://github.com/unicode-org/cldr/blob/keyboard-preview/docs/ldml/tr35-keyboar
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="k_008_transform_norm" />

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_009_transform_nfc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
like k_008 but in NFC (and other normalizations)
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="k_009_transform_nfc" />

<settings normalization="disabled" />
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_010_mt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Gets part of the way,
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<!-- remainder entirely from resources/standards-data/ldml-keyboards/techpreview/3.0/mt-t-k0-47key.xml -->
<keyboard3 locale="mt-t-k0-47key" conformsTo="techpreview">
<keyboard3 locale="mt-t-k0-47key" conformsTo="45">
<locales>
<!-- English is also an official language in Malta.-->
<locale id="en" />
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_011_mt_iso.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Exact copy of mt.xml from CLDR, but with:
- test case
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="mt" conformsTo="techpreview">
<keyboard3 locale="mt" conformsTo="45">
<locales>
<!-- English is also an official language in Malta.-->
<locale id="en" />
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_020_fr.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: similar to, but slightly ahead of, fr-t-k0-azerty -->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="fr-t-k0-azerty" conformsTo="techpreview">
<keyboard3 locale="fr-t-k0-azerty" conformsTo="45">
<locales>
<locale id="br" /> <!-- example of including Breton -->
</locales>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_100_keytest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-->

<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TestKbd"/>

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_101_keytest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@@expected: \u0061
-->
<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TestKbd"/>

<displays>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_102_keytest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
-->

<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="TestKbd"/>
<!-- TODO-LDML: split to separate test with only implied keys - the <keys/> element is omitted. -->
<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_200_reorder_nod_Lana.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-->

<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="nod" conformsTo="techpreview">
<keyboard3 locale="nod" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="nod-Lana Test"/>

<keys>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_201_reorder_esk.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en-t-k0-esk" conformsTo="techpreview">
<keyboard3 locale="en-t-k0-esk" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="esk reorder test"/>

<displays>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_210_marker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-->

<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="Marker Test"/>

<displays>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/k_211_marker_escape.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-->

<!DOCTYPE keyboard3 SYSTEM "../../../../../resources/standards-data/ldml-keyboards/techpreview/dtd/ldmlKeyboard3.dtd">
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="srl295" indicator="🙀" layout="qwerty" name="Marker Escape Test"/>

<displays>
Expand Down
2 changes: 1 addition & 1 deletion core/tests/unit/ldml/keyboards/ldml_test.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<keyboard3 locale="en" conformsTo="techpreview">
<keyboard3 locale="en" conformsTo="45">
<info author="Steven R. Loomis" name="LDML Test"/>
<version number="1.0.0"/>
<keys>
Expand Down

0 comments on commit 25cd323

Please sign in to comment.