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 674396 - "(%s Priority)" not correctly translatable in other languages
"(%s Priority)" not correctly translatable in other languages
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: general
git master
Other All
: Normal minor
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-19 14:59 UTC by OKANO Takayoshi
Modified: 2012-09-27 19:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed Patch (2.61 KB, patch)
2012-07-20 17:29 UTC, Robert Roth
none Details | Review

Description OKANO Takayoshi 2012-04-19 14:59:19 UTC
I'm trying to translate UI of gnome-system-monitor into Japanese,
and confused by messages depending on English.

gnome-system-monitor/tree/src/procdialogs.cpp:
>     text = g_strdup_printf(_("(%s Priority)"), procman::get_nice_level (info->nice));

>     gchar* text = g_strdup_printf(_("(%s Priority)"), procman::get_nice_level (new_nice_value));

These messages "(%s Priority)" are displayed like "(Very High Priority)"
according to user's choice of nice value and message strings for "_Change Priority" menu.

It depends on English language (word order, etc.),
and messages should be separated e.g. into "Very High" and "(Very High Priority)".
Comment 1 André Klapper 2012-04-19 15:49:33 UTC
This basically falls under https://live.gnome.org/TranslationProject/DevGuidelines/Never%20split%20sentences
Comment 2 Robert Roth 2012-07-20 17:29:19 UTC
Created attachment 219337 [details] [review]
Proposed Patch 

A patch to add separate strings for priority levels to be displayed on the change priority dialog.
Comment 3 Robert Roth 2012-09-27 19:44:03 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.