GNOME Bugzilla – Bug 119409
Uninternationalized strings
Last modified: 2004-12-22 21:47:04 UTC
gedit/dialogs/gedit-page-setup-dialog.c, Line 585-590: if (!gui) { gedit_warning (_("Could not find '" GEDIT_GLADEDIR "page-setup- dialog.glade2'.\n\n" "Reinstall gedit."), parent); return NULL; } It would be better not using string concatenation. Need to be replaced by sprintf. That is: // %s will be replaced by value of GEDIT_GLADEDIR gedit_warning (sprintf(_("Could not find '%spage-setup- dialog.glade2'.\n\nReinstall gedit."),GEDIT_GLADEDIR), parent); The same bug exsits in Line 628-630.
Original code will lead following lines inside gedit.pot, which are difficult to translate for foreign translators, as the sentences have been spiltted: #: gedit/dialogs/gedit-page-setup-dialog.c:587 msgid "Could not find '" #: gedit/dialogs/gedit-page-setup-dialog.c:587 #: gedit/dialogs/gedit-page-setup-dialog.c:629 msgid "" "page-setup-dialog.glade2'.\n" "\n" "Reinstall gedit." #: gedit/dialogs/gedit-page-setup-dialog.c:628 msgid "Could not find the required widgets inside '"
*** This bug has been marked as a duplicate of 115633 ***