Added translation capability and russian translation
[findit] / src / files / outtable.py
index 9585470..9135445 100755 (executable)
@@ -46,14 +46,14 @@ class Gtk_Presentation(object):
         treeview = gtk.TreeView(self.liststore)
 
         # Создаем и настраиваем колонку с размером файла
-        size_col = gtk.TreeViewColumn( 'Size')
+        size_col = gtk.TreeViewColumn(_('Size'))
         cell1 = gtk.CellRendererText()
         cell1.set_property('width', 90)
         size_col.pack_start(cell1, True)
         size_col.add_attribute(cell1, 'text', 1)
         treeview.append_column(size_col)
         # Создаем и настраиваем колонку с именем файла
-        path_col = gtk.TreeViewColumn( 'Path')
+        path_col = gtk.TreeViewColumn(_('Path'))
         cell2 = gtk.CellRendererText()
         path_col.pack_start(cell2, True)
         path_col.add_attribute(cell2, 'text', 0)