After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 119409 - Uninternationalized strings
Uninternationalized strings
Status: RESOLVED DUPLICATE of bug 115633
Product: gedit
Classification: Applications
Component: general
git master
Other All
: Normal major
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
Depends on:
Blocks:
 
 
Reported: 2003-08-08 05:26 UTC by Funda Wang
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description Funda Wang 2003-08-08 05:26:06 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.
Comment 1 Funda Wang 2003-08-08 05:30:55 UTC
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 '"

Comment 2 Christian Rose 2003-08-08 10:39:25 UTC

*** This bug has been marked as a duplicate of 115633 ***