Open Bug 1231640 Opened 9 years ago Updated 2 years ago

[gtk3] GtkAppChooserDialog: failed to set text 'Hilfsanwendung w\xe4hlen' (German translation)

Categories

(Core :: Widget: Gtk, defect, P5)

42 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: moz, Unassigned)

Details

(Whiteboard: tpi:+)

User Agent: Mozilla/5.0 (compatible) Build ID: 20151102093730 Steps to reproduce: 0. I am running firefox builds from fedora 23 with Gtk3 enabled. I don't know whether that matters. 1. start firefox with german locale (on unix derivates: `$ LC_ALL=de_DE firefox`) 2. download a file 3. choose a different application Actual results: Firefox opens a GtkAppChooserDialog with title "Anwendung auswählen". I get 2 identical warning messages on console: (firefox:1828): Gtk-WARNING **: Failed to set text 'Hilfsanwendung w\xe4hlen' from markup due to error parsing markup: Fehler in Zeile 1, Zeichen 30: Ungültiger UTF-8-kodierter Text im Namen - »Hilfsanwendung w\xe4hlen« ist nicht gültig which translates to: (firefox:1828): Gtk-WARNING **: Failed to set text 'Hilfsanwendung w\xe4hlen' from markup due to error parsing markup: Error in line 1, character 30: Invalid UTF-8 encoded text in name - »Hilfsanwendung w\xe4hlen« is invalid This looks like an encoding issue in translation files to me. Expected results: GtkAppChooserDialog should display "Hilfsanwendung wählen". This is the text I see when unpacking /usr/lib64/firefox/langpacks/langpack-de@firefox.mozilla.org.xpi archive and open the file chrome/de/locale/de/mozapps/downloads/unknownContentType.properties This is a minor UI issue, but it looks like something on your build system (or in Gtk3) is broken. Can you write a test case to verify translation files before commiting them? Just to make sure that this doesn't happen again.
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Priority: -- → P5
Whiteboard: tpi:+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.