Skip to content

Commit

Permalink
sil:id fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
emily-roth committed Oct 27, 2023
1 parent d6cbc7b commit 67ce286
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion sldr/a/arb_EG.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<language type="arb" draft="unconfirmed"/>
<territory type="EG" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity script="Arab" draft="generated"/>
</special>
</identity>
<localeDisplayNames>
Expand Down
2 changes: 1 addition & 1 deletion sldr/a/arb_LB.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<language type="arb" draft="unconfirmed"/>
<territory type="LB" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity script="Arab" draft="generated"/>
</special>
</identity>
<localeDisplayNames>
Expand Down
2 changes: 1 addition & 1 deletion sldr/c/cak_x_xenacoj.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<language type="cak" draft="unconfirmed"/>
<variant type="x-xenacoj" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity defaultRegion="GT" script="Latn" draft="generated"/>
</special>
</identity>
<layout>
Expand Down
2 changes: 1 addition & 1 deletion sldr/c/cmo_KH.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<language type="cmo"/>
<territory type="KH"/>
<special>
<sil:identity draft="generated"/>
<sil:identity script="Latn" draft="generated"/>
</special>
</identity>
<localeDisplayNames>
Expand Down
2 changes: 1 addition & 1 deletion sldr/f/fuh.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<version number="20210903.0356" draft="unconfirmed"/>
<language type="fuh" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity defaultRegion="NE" script="Latn" draft="generated"/>
</special>
</identity>
<layout>
Expand Down
2 changes: 1 addition & 1 deletion sldr/i/ixl_x_cotzal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<language type="ixl" draft="unconfirmed"/>
<variant type="x-cotzal" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity defaultRegion="GT" script="Latn" draft="generated"/>
</special>
</identity>
<layout>
Expand Down
2 changes: 1 addition & 1 deletion sldr/j/jaa_x_jarawara.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<language type="jaa" draft="unconfirmed"/>
<variant type="x-jarawara" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity defaultRegion="BR" script="Latn" draft="generated"/>
</special>
</identity>
<layout>
Expand Down
2 changes: 1 addition & 1 deletion sldr/k/knv_x_flyriver.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<language type="knv" draft="unconfirmed"/>
<variant type="x-flyriver" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity defaultRegion="PG" script="Latn" draft="generated"/>
</special>
</identity>
<layout>
Expand Down
2 changes: 1 addition & 1 deletion sldr/t/taq.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<version number="20210903.0419" draft="unconfirmed"/>
<language type="taq" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity defaultRegion="ML" script="Latn" draft="generated"/>
</special>
</identity>
<localeDisplayNames>
Expand Down
2 changes: 1 addition & 1 deletion sldr/t/thv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<version number="20210903.0418" draft="unconfirmed"/>
<language type="thv" draft="unconfirmed"/>
<special>
<sil:identity draft="generated"/>
<sil:identity defaultRegion="DZ" script="Latn" draft="generated"/>
</special>
</identity>
<localeDisplayNames>
Expand Down
2 changes: 1 addition & 1 deletion sldr/t/tok.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<version number="$Revision$"/>
<language type="tok"/>
<special>
<sil:identity source="cldr"/>
<sil:identity source="cldr" defaultRegion="001" script="Latn"/>
</special>
</identity>
<localeDisplayNames>
Expand Down
2 changes: 1 addition & 1 deletion sldr/t/tok_001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<language type="tok"/>
<territory type="001"/>
<special>
<sil:identity source="cldr"/>
<sil:identity source="cldr" script="Latn"/>
</special>
</identity>
</ldml>
2 changes: 1 addition & 1 deletion tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ def test_identity(ldml, langid, fixdata):
silid.set(k, silval)
ldml.dirty = True
else:
assert silidval == "", "sil:identity {} {} is not {} in {}".format(k, silidval, silval, langid)
assert silidval != "", "sil:identity {} {} is not {} in {}".format(k, silidval, silval, langid)

0 comments on commit 67ce286

Please sign in to comment.