Bug#409420: g-i: Addtional chars appear in screen titles (which aren't in the translation)
Lior Kaplan wrote:
Package: installation-reports
Hi,
I'm attaching a few screen shots taken from g-i mini iso from
http://people.debian.org/~joeyh/d-i/images/daily/netboot/gtk/ using
Hebrew for installation.
During the installation I've noticed that before some of the titles
there is additional character or sign.
I've marked them with a red square. Don't forget Hebrew is RTL, so the
marked chars come before the title itself.
I've added a screen shot of the translated string from the first file,
just to prove this sign doesn't come from the translation.
I haven't notice this behavior with other languages (Arabic, vitenamise
and Spanish), but these are languages I can't read - so I might be wrong
about them.
Thanks.
First, we must check whether this is related to the italic text styling
or not.
I prepared an ISO [1] which contains the attached patch: Lior, could you
please perform same tests you did before and compare differencies found,
if any ?
thanks
Attilio
[1] https://debian.polito.it/downloads/mini_kaplan_ferreira.iso
ps
Graphics are different as here i have used rootskel-gtk prepared by
Andre Ferreira.
Index: gtk.c
===================================================================
--- gtk.c (revisione 44922)
+++ gtk.c (copia locale)
@@ -1755,10 +1755,10 @@
update_frontend_title (obj, progressbar_title);
progress_bar_label = ((struct frontend_data*)obj->data)->progress_bar_label;
- progress_bar_label_string = malloc(strlen(info) + 10 );
- sprintf(progress_bar_label_string,"<i> %s</i>",info);
- gtk_label_set_markup(GTK_LABEL(progress_bar_label), progress_bar_label_string);
- free(progress_bar_label_string);
+// progress_bar_label_string = malloc(strlen(info) + 10 );
+// sprintf(progress_bar_label_string,"<i> %s</i>",info);
+ gtk_label_set_text (GTK_LABEL (progress_bar_label), info);
+// free(progress_bar_label_string);
gdk_threads_leave();
if (data->button_val == DC_OK || data->button_val == DC_GOBACK)
Reply to: