l10n: trying to add context for "Name:"

Fix minor mistakes in my [c574f3].
This commit is contained in:
Vassilii Khachaturov 2014-01-29 13:47:08 +02:00
parent 4b5acca5ca
commit ada8cfcaa4
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ class EditPlace(EditPrimary):
self.top = Glade()
self.set_window(self.top.toplevel, None, self.get_menu_title())
self.place_name_label = self.top.get_object('place_name_label')
self.place_name_label.set_text(_('place|Name:'))
self.place_name_label.set_text(_T_('place|Name:'))
def get_menu_title(self):
if self.obj and self.obj.get_handle():

View File

@ -71,7 +71,7 @@ class MergeRepository(ManagedWindow):
name1 = self.rp1.get_name()
name2 = self.rp2.get_name()
for widget_name in ('name_btn1', 'name_btn2'):
self.get_widget(widget_name).set_label(PLACE_NAME)
self.get_widget(widget_name).set_label(REPO_NAME)
entry1 = self.get_widget('name1')
entry2 = self.get_widget('name2')
entry1.set_text(name1)