diff options
| author | David Planella <david.planella@ubuntu.com> | 2012-02-05 01:11:12 -0500 |
|---|---|---|
| committer | Tarmac <> | 2012-02-05 01:11:12 -0500 |
| commit | bf33698e94e03c26961752ccc552de68a31d54c1 (patch) | |
| tree | 862f4307f37fb085ee6cab7ba83e6658a4115355 | |
| parent | 5b3926300f264432f33a1c2ffd1cad4afae14bd1 (diff) | |
| parent | b45e9d3f3866f0037e9355012181c690054374d8 (diff) | |
Adding a simple comment for translators to disambiguate the meaning of the 'Format...' message. This comment will be automatically extracted by the build system, put into the translation template (.pot file) and be visible to translators in Launchpad, providing them more context (bug 926339).
I would suggest following this practice for any translatable string that might be prone to confusion, or if anything needs clarifying to translators. It's just a matter of adding a comment above the line where the translatable string appears - the gettext machinery takes care of all the rest.. Fixes: https://bugs.launchpad.net/bugs/926339. Approved by Marco Trevisan (TreviƱo), Marco Biscaro. (bzr r1898)
| -rw-r--r-- | plugins/unityshell/src/DeviceLauncherIcon.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/unityshell/src/DeviceLauncherIcon.cpp b/plugins/unityshell/src/DeviceLauncherIcon.cpp index eca15f17a..ec0e5ce4e 100644 --- a/plugins/unityshell/src/DeviceLauncherIcon.cpp +++ b/plugins/unityshell/src/DeviceLauncherIcon.cpp @@ -130,6 +130,7 @@ std::list<DbusmenuMenuitem*> DeviceLauncherIcon::GetMenus() { menu_item = dbusmenu_menuitem_new(); + // TRANSLATORS: This refers to the action of formatting a device dbusmenu_menuitem_property_set(menu_item, DBUSMENU_MENUITEM_PROP_LABEL, _("Format...")); dbusmenu_menuitem_property_set_bool(menu_item, DBUSMENU_MENUITEM_PROP_ENABLED, true); dbusmenu_menuitem_property_set_bool(menu_item, DBUSMENU_MENUITEM_PROP_VISIBLE, true); |
