Cyrillic homoglyph characters used in place of ASCII <p> tags in Kazakh AppData description string
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 88/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Stack tecnologico
- xml
- Ambito
- localization
Direzione di ricerca
Apri po/kk.po e individua il msgstr corrispondente al msgid della descrizione in xreader.appdata.xml.in.h. Confronta il markup dei paragrafi con quello della sorgente e delle voci delle altre locale, quindi usa il controllo Unicode menzionato o grep per confermare che i tag siano ASCII e valida la descrizione AppData generata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Distribution
Mint 22.2
Package version
4.6.5
Frequency
Always
Bug description
SUMMARY: The Kazakh (kk) translation of the AppData/MetaInfo description in po/kk.po uses Cyrillic Unicode characters (U+0440, "р") instead of the Latin letter "p" in the
and
markup tags, producing invalid or semantically incorrect XML when the string is substituted into xreader.appdata.xml at build time.Steps to reproduce
Open po/kk.po in the xreader repository and locate the msgstr corresponding to the xreader.appdata.xml.in.h description msgid, then inspect the paragraph tags surrounding the Kazakh text; alternatively run the string through a Unicode-aware validator or grep for non-ASCII bytes immediately following < or </ in the translated markup.
The opening and closing tags are written as <р> and </р> using Cyrillic small letter er (U+0440) rather than Latin small letter p (U+0070), so the tags do not match the
element expected by AppStream/MetaInfo XML consumers; strict XML parsers may accept them as an unknown element while lenient consumers or software centers relying on
for paragraph rendering will fail to format the description correctly.
Expected behavior
The translated string should use standard ASCII
and
tags identical in encoding to every other locale's translation, with only the enclosed prose translated into Kazakh.Additional information
This was discovered incidentally while validating an unrelated XML parser against a corpus of real-world files that included the installed xreader.appdata.xml; the substitution was almost certainly introduced by a translator typing in a Cyrillic-enabled input method and inadvertently using homoglyph characters for the markup delimiters rather than switching to a Latin keyboard layout for the tags themselves, and other translated strings in po/kk.po may warrant a similar check for the same class of error (commonly confusable Cyrillic/Latin pairs include а, е, о, р, с, х, у).
- Lingua principale
- C
- Stelle
- 283
- Fork
- 82
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di linuxmint/xreader
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di linuxmint/xreader
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
duckdb/duckdb-wasm#2258 ·
-
how does install.sh work Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
rofl0r/microsocks#110 ·
-
OTA is not aborted correctly Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
espressif/esp-aws-iot#261 ·
-
os:linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
mpv-player/mpv#18510 · 2 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100