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 348211 - Please distinguish "View" menus/buttons for translation
Please distinguish "View" menus/buttons for translation
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.15.x
Other Linux
: Normal trivial
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2006-07-21 05:53 UTC by Theppitak Karoonboonyanan
Modified: 2006-11-08 10:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Possible patch using prefix (1.28 KB, patch)
2006-07-21 06:00 UTC, Theppitak Karoonboonyanan
none Details | Review

Description Theppitak Karoonboonyanan 2006-07-21 05:53:57 UTC
There are now two kinds of "View" menus/buttons in file roller: "View" in the main menu and "View" in context menus for viewing files. The former has already been translated as a noun in Thai, while the latter has to be verb.

Relevant places in the source are:
- src/fr-stock.c:46 -> stock item for file action, should be verb
- src/ui.h:36 -> main menu, should be noun
- src/ui.h:150 -> context menu for file action, should be verb
- src/ui.h:154 -> toobar button for file action, should be verb
Comment 1 Theppitak Karoonboonyanan 2006-07-21 06:00:55 UTC
Created attachment 69307 [details] [review]
Possible patch using prefix
Comment 2 Paolo Bacchilega 2006-10-22 09:41:29 UTC
fixed using "View File" for the action.
Comment 3 Wouter Bolsterlee (uws) 2006-11-08 10:17:20 UTC
Paolo, thanks for fixing this.

If you run into similar problems in the future (and you don't want to use different strings in the original English version), you may use the prefix-cutting stuff from the glib gettext support. See the docs for the Q_ macro in glib.