! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
appstream doesn't like <em> in translations
Status:
RESOLVED: FIXED

Comments

Description Kevin Fenzi 2018-03-03 00:59:24 CET
Using appstream-util validate on parole-1.0.0 gives me: 

+ appstream-util validate-relax --nonet /builddir/build/BUILDROOT/parole-1.0.0-1.fc29.x86_64//usr/share/appdata/parole.appdata.xml
/builddir/build/BUILDROOT/parole-1.0.0-1.fc29.x86_64//usr/share/appdata/parole.appdata.xml: failed to parse /builddir/build/BUILDROOT/parole-1.0.0-1.fc29.x86_64//usr/share/appdata/parole.appdata.xml: Error on line 176 char 360: <p> already set 'Kjo hedhje n? qarkullim zhvillim ndreq disa t? meta, gabime shkrimi, dhe holl?si historike t? pranishme n? dokumentim. Tashm? p?rpunohen etiketa n? kartela t? d?rguara p?rmes HTTP/S. Mekanizmi' and tried to replace with ' ?sht? ?aktivizuar p?r GTK+ 3.22 dhe versione m? t? rinj, p?r shkak ndryshime thelb?sore t? API-t.'

It seems it doesn't handle/want the <em> ... </em> thats in the sq (Albanian) translation of the file. 

Just removing them gets it to validate: 

diff -Nur parole-1.0.0.orig/po/sq.po parole-1.0.0/po/sq.po
--- parole-1.0.0.orig/po/sq.po	2018-02-28 16:27:25.000000000 -0800
+++ parole-1.0.0/po/sq.po	2018-03-02 15:30:11.825295596 -0800
@@ -622,7 +622,7 @@
 "present in the documentation. Tags are now processed on files delivered over"
 " HTTP/S. The clutter video backend is disabled for GTK+ 3.22 and newer due "
 "to significant API changes."
-msgstr "Kjo hedhje në qarkullim zhvillim ndreq disa të meta, gabime shkrimi, dhe hollësi historike të pranishme në dokumentim. Tashmë përpunohen etiketa në kartela të dërguara përmes HTTP/S. Mekanizmi <em>clutter video</em> është çaktivizuar për GTK+ 3.22 dhe versione më të rinj, për shkak ndryshime thelbësore të API-t."
+msgstr "Kjo hedhje në qarkullim zhvillim ndreq disa të meta, gabime shkrimi, dhe hollësi historike të pranishme në dokumentim. Tashmë përpunohen etiketa në kartela të dërguara përmes HTTP/S. Mekanizmi clutter video është çaktivizuar për GTK+ 3.22 dhe versione më të rinj, për shkak ndryshime thelbësore të API-t."
 
 #: ../data/appdata/parole.appdata.xml.in.h:5
 msgid ""
@@ -642,7 +642,7 @@
 "This unstable development release adds the new clutter backend and cleans up"
 " deprecated Gtk3 symbols. It also adds a \"go to position\" feature and "
 "several bugs have been addressed."
-msgstr "Kjo hedhje e paqëndrueshme zhvillim në qarkullim shton mekanizmin e ri <em>clutter</em> dhe pastron simbole Gtk3 të nxjerrë jashtë përdorimit. Shton edhe veçorinë \"shko te pozicion\" dhe janë trajtuar disa të meta."
+msgstr "Kjo hedhje e paqëndrueshme zhvillim në qarkullim shton mekanizmin e ri clutter dhe pastron simbole Gtk3 të nxjerrë jashtë përdorimit. Shton edhe veçorinë \"shko te pozicion\" dhe janë trajtuar disa të meta."
 
 #: ../data/appdata/parole.appdata.xml.in.h:8
 msgid "This release fixes a problem with detecting DVD drive locations."
Comment 1 Git Bot editbugs 2019-04-04 05:05:32 CEST
Sean Davis referenced this bugreport in commit 714eb7d3fbb192c54331cd5578179bd58c47aa25

Remove em tags for Appstream validation (bug #14260)

https://git.xfce.org/apps/parole/commit?id=714eb7d3fbb192c54331cd5578179bd58c47aa25
Comment 2 Sean Davis editbugs 2019-04-04 05:06:00 CEST
Thanks for the heads up! Fixed in the above commit.

Bug #14260

Reported by:
Kevin Fenzi
Reported on: 2018-03-03
Last modified on: 2019-04-04

People

Assignee:
Simon Steinbeiss
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information