mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-13 18:32:12 +03:00
English writes '<name>' — the single quotes are ICU's escape, so the span renders as literal text. Every backend drops them, and the translated message then parses as an unclosed ICU tag: the nine locales of the first batch each shipped two such strings and only CI caught them. translateString and translateBatch now restore the quoting, doubling an apostrophe inside the span so it does not close the literal early (Estonian OmniRoute'i, Irish d'eochair). Messages whose English mixes real markup with a literal span are left untouched, since there is no safe way to tell the two apart.