Merge lp:~unity-team/unity/i18nforlauncher into lp:unity

Proposed by Didier Roche-Tolomelli
Status: Merged
Merged at revision: 387
Proposed branch: lp:~unity-team/unity/i18nforlauncher
Merge into: lp:unity
Diff against target: 15 lines (+2/-2)
1 file modified
unity-private/launcher/application-controller.vala (+2/-2)
To merge this branch: bzr merge lp:~unity-team/unity/i18nforlauncher
Reviewer Review Type Date Requested Status
Neil J. Patel Pending
Review via email: mp+30621@code.launchpad.net

Description of the change

add i18n to launcher

To post a comment you must log in.
Revision history for this message
Neil J. Patel (njpatel) wrote :

I'm still not sure why there are other languages apart from English, but yeah, sure, approved ;)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'unity-private/launcher/application-controller.vala'
2--- unity-private/launcher/application-controller.vala 2010-07-15 14:51:27 +0000
3+++ unity-private/launcher/application-controller.vala 2010-07-22 08:37:48 +0000
4@@ -283,9 +283,9 @@
5 {
6 Dbusmenu.Menuitem pinning_item = new Dbusmenu.Menuitem ();
7 if (is_sticky ())
8- pinning_item.property_set (Dbusmenu.MENUITEM_PROP_LABEL, "Remove from launcher");
9+ pinning_item.property_set (Dbusmenu.MENUITEM_PROP_LABEL, _("Remove from launcher"));
10 else
11- pinning_item.property_set (Dbusmenu.MENUITEM_PROP_LABEL, "Add to launcher");
12+ pinning_item.property_set (Dbusmenu.MENUITEM_PROP_LABEL, _("Add to launcher"));
13
14 pinning_item.property_set_bool (Dbusmenu.MENUITEM_PROP_ENABLED, true);
15 pinning_item.property_set_bool (Dbusmenu.MENUITEM_PROP_VISIBLE, true);