Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Cyrillic homoglyph characters used in place of ASCII <p> tags in Kazakh AppData description string

Aperta Adatta ai principianti
#723 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmint/xreader

Tutte le issue di linuxmint/xreader

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.