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 553357 - Options in drop down boxes are not translated
Options in drop down boxes are not translated
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
: 558622 578450 585296 (view as bug list)
Depends on: 553385 588945
Blocks:
 
 
Reported: 2008-09-23 04:42 UTC by Funda Wang
Modified: 2009-08-17 10:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Funda Wang 2008-09-23 04:42:02 UTC
In Profile edit dialog, there are several dropdown boxes, such as "When command exits" of "Title and commands" tab, "Scrollbars" in "scrooling" tab. Although all the items in po files have been translated, they always represented in English.
Comment 1 Christian Persch 2008-09-23 11:04:01 UTC
Confirmed. This will be hard to fix.

The strings are present in the source in a glade file, in A\nB\nC\nD format. The build process creates a gtkbuilder file with gtk-builder-convert from the glade file. The converted file is not translating those strings (bug 553385), but worse, the converted file has these strings as single strings A, B, C, D, not one big \n-separated string.
Comment 2 Christian Persch 2008-10-31 12:01:58 UTC
*** Bug 558622 has been marked as a duplicate of this bug. ***
Comment 3 Christian Persch 2009-04-09 15:40:40 UTC
*** Bug 578450 has been marked as a duplicate of this bug. ***
Comment 4 Ricardo Perez 2009-04-25 13:30:04 UTC
I can see the same symptoms in Nautilus, Edit->Preferences dialog. Could it be the same issue?
Comment 5 Christian Persch 2009-04-25 14:11:05 UTC
No.
Comment 6 Christian Persch 2009-06-09 22:57:58 UTC
*** Bug 585296 has been marked as a duplicate of this bug. ***
Comment 7 Takao Fujiwara 2009-06-10 01:41:47 UTC
I checked bug 553385 is fixed.

Does the patch of 553385 help the fix of this bug?
It seems 'context' line can have the delimiter of '|'.
Comment 8 Christian Persch 2009-06-10 12:23:02 UTC
Bug 553385 alone does not fix this. Comment 1 explains the problem.
Comment 9 Takao Fujiwara 2009-06-11 04:45:45 UTC
> Bug 553385 alone does not fix this. Comment 1 explains the problem.

Yes, I know it but how to modify the glade file?
If I could understand, it might be changed to 'a|b|c'.
Comment 10 Christian Persch 2009-06-15 10:32:44 UTC
This cannot be fixed by changing the glade file. I think the easiest solution would be to add a dummy .c file containing the extra strings marked with N_().
Comment 11 Christian Persch 2009-08-17 10:44:09 UTC
Fixed in master. The real fix will be switching to gtkbuilder format directly (bug 588945) but we cannot do that yet (see bug 588945 comment 9).