Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/PresenceWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/PresenceWindow.py')
-rw-r--r--shell/PresenceWindow.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/PresenceWindow.py b/shell/PresenceWindow.py
index 60753d1..1f13145 100644
--- a/shell/PresenceWindow.py
+++ b/shell/PresenceWindow.py
@@ -8,6 +8,8 @@ from sugar.presence.PresenceService import PresenceService
from sugar.presence.Service import Service
from sugar.chat.BuddyChat import BuddyChat
+from gettext import gettext as _
+
class PresenceWindow(gtk.Window):
_MODEL_COL_NICK = 0
_MODEL_COL_ICON = 1
@@ -57,7 +59,7 @@ class PresenceWindow(gtk.Window):
vbox = gtk.VBox(False, 6)
vbox.set_border_width(12)
- label = gtk.Label("Who's around:")
+ label = gtk.Label(_("Who's around:"))
label.set_alignment(0.0, 0.5)
vbox.pack_start(label, False)
label.show()
@@ -99,7 +101,7 @@ class PresenceWindow(gtk.Window):
button_box = gtk.HButtonBox()
- self._share_button = gtk.Button('Share')
+ self._share_button = gtk.Button(_('Share'))
self._share_button.connect('clicked', self._share_button_clicked_cb)
button_box.pack_start(self._share_button)
self._share_button.show()