-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(developer): support local imports
- added a new reader callback option, localImportsPaths - due to the CLDR issue #12749 use base="" - add tests - some bugfixes in import messages - add an ImportStatus section to determine if something is a local import Fixes: #10649
- Loading branch information
Showing
8 changed files
with
114 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
developer/src/common/web/utils/test/fixtures/ldml-keyboard/import-local.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="und" conformsTo="45"> | ||
<info author="srl295" indicator="🙀" layout="qwerty" name="Test Minimal Keyboard"/> | ||
<keys> | ||
<import base="" path="keys-Zyyy-morepunctuation.xml"/> | ||
</keys> | ||
</keyboard3> |
7 changes: 7 additions & 0 deletions
7
developer/src/common/web/utils/test/fixtures/ldml-keyboard/invalid-import-local.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<keyboard3 xmlns="https://schemas.unicode.org/cldr/45/keyboard3" locale="und" conformsTo="45"> | ||
<info author="srl295" indicator="🙀" layout="qwerty" name="Test Minimal Keyboard"/> | ||
<keys> | ||
<import base="" path="keys-Zyyy-DOESNOTEXIST.xml"/> | ||
</keys> | ||
</keyboard3> |
6 changes: 6 additions & 0 deletions
6
developer/src/common/web/utils/test/fixtures/ldml-keyboard/keys-Zyyy-morepunctuation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<keys> | ||
<!-- Special Symbols --> | ||
<key id="interrobang" output="‽" /> | ||
<key id="snail" output="@" /> | ||
</keys> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters