Skip to content

Commit

Permalink
One more transliterator fix (#6006)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian authored Jan 15, 2025
1 parent 584bfd1 commit 11945b4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions provider/data/experimental/fingerprints.csv
Original file line number Diff line number Diff line change
Expand Up @@ -52664,8 +52664,8 @@ relativetime/short/year@1, zh-HK, 141B, 49B, 9438b480e161ff9c
relativetime/short/year@1, zh-Hant, 141B, 49B, 73fde796e1da3679
relativetime/short/year@1, zh-MO, -> zh-HK
relativetime/short/year@1, zu, 207B, 115B, 6ce1954fc2a56d7c
transliterator/rules@1, <lookup>, 4752B, 410 identifiers
transliterator/rules@1, <total>, 2101676B, 1999938B, 407 unique payloads
transliterator/rules@1, <lookup>, 4763B, 411 identifiers
transliterator/rules@1, <total>, 2102040B, 2000051B, 408 unique payloads
transliterator/rules@1, und/am-brai-t-am-ethi, 8365B, 8117B, ac45af4b1d56faa6
transliterator/rules@1, und/am-ethi-t-am-brai, 7358B, 7109B, b4561ef2c2cd7557
transliterator/rules@1, und/am-ethi-t-am-ethi-m0-geminate, 252965B, 252717B, 10d9badde599e374
Expand Down Expand Up @@ -52954,6 +52954,7 @@ transliterator/rules@1, und/und-latn-t-und-ethi-m0-aethiopi-geminate, 364B, 113B
transliterator/rules@1, und/und-latn-t-und-ethi-m0-alaloc, 15425B, 15179B, 3d9c5ad1f5c6d095
transliterator/rules@1, und/und-latn-t-und-ethi-m0-alaloc-geminate, 362B, 111B, 6cbff17d4f5e9944
transliterator/rules@1, und/und-latn-t-und-ethi-m0-betamets, 15439B, 15192B, 4123eaf1b161e5af
transliterator/rules@1, und/und-latn-t-und-ethi-m0-betamets-geminate, 364B, 113B, a8cc5ece9a56fdf5
transliterator/rules@1, und/und-latn-t-und-ethi-m0-es3842, 16099B, 15852B, 64a4f60f04a0413c
transliterator/rules@1, und/und-latn-t-und-ethi-m0-iesjes-1964, 15424B, 15177B, 9aaba6fc482bbe57
transliterator/rules@1, und/und-latn-t-und-ethi-m0-iesjes-1964-geminate, 367B, 116B, 717bcc5b060c909d
Expand Down
10 changes: 5 additions & 5 deletions provider/source/src/transforms/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ impl CldrCache {
continue;
};

if transform == "und-Ethi-t-und-latn-m0-beta_metsehaf-geminate" {
// References an unknown transliterator
continue;
}

if transform == "Thai-Latin" {
// References an unknown transliterator (Any-BreakInternal)
continue;
Expand All @@ -61,6 +56,11 @@ impl CldrCache {
"cldr-transforms/transforms/{}",
metadata.rules_file
))?
// und-Ethi-t-und-latn-m0-beta_metsehaf-geminate has a typo
.replace(
"Ethiopic-Latin/BetaMetsehaf",
"Ethiopic-Latin/Beta_Metsehaf",
)
// This attempts to group the decomposed character, but erroneously uses a context (chr-chr_FONIPA)
.replace("ə̃ {ə̃}+ → ə̃;", "ə̃ ə̃+ → ə̃;")
// Back references don't work in reverse (byn-Ethi-t-byn-latn-m0-xaleget)
Expand Down

0 comments on commit 11945b4

Please sign in to comment.