Make missing strings translatable

This commit is contained in:
Marco Pesenti Gritti
2006-07-06 20:25:56 +02:00
parent 6f9ae0c769
commit fbb2621fff
4 changed files with 14 additions and 5 deletions
+3 -1
View File
@@ -2,6 +2,8 @@ import pygtk
pygtk.require('2.0')
import gtk
from gettext import gettext as _
from sugar.chat.sketchpad.SketchPad import SketchPad
import richtext
@@ -38,7 +40,7 @@ class ChatEditor(gtk.HBox):
self.pack_start(self._notebook)
self._notebook.show()
send_button = gtk.Button("Send")
send_button = gtk.Button(_("Send"))
send_button.set_size_request(60, -1)
send_button.connect('clicked', self.__send_button_clicked_cb)
self.pack_start(send_button, False, True)