~bzr-gtk/bzr-gtk/0.95

« back to all changes in this revision

Viewing changes to olive/frontend/gtk/viz/branchwin.py

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-20 13:02:35 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060820130235-62c9c5753f5d8774
Gettext support added.

2006-08-20  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * po/hu.po: added Hungarian traslation
    * Added gettext support to all files.
    * genpot.sh: added olive-gtk.pot generator script

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
        cell = gtk.CellRendererText()
111
111
        cell.set_property("width-chars", 40)
112
112
        cell.set_property("ellipsize", pango.ELLIPSIZE_END)
113
 
        column = gtk.TreeViewColumn("Message")
 
113
        column = gtk.TreeViewColumn(_('Message'))
114
114
        column.set_resizable(True)
115
115
        column.pack_start(cell, expand=True)
116
116
        column.add_attribute(cell, "text", 4)
119
119
        cell = gtk.CellRendererText()
120
120
        cell.set_property("width-chars", 40)
121
121
        cell.set_property("ellipsize", pango.ELLIPSIZE_END)
122
 
        column = gtk.TreeViewColumn("Committer")
 
122
        column = gtk.TreeViewColumn(_('Committer'))
123
123
        column.set_resizable(True)
124
124
        column.pack_start(cell, expand=True)
125
125
        column.add_attribute(cell, "text", 5)
127
127
 
128
128
        cell = gtk.CellRendererText()
129
129
        cell.set_property("ellipsize", pango.ELLIPSIZE_END)
130
 
        column = gtk.TreeViewColumn("Date")
 
130
        column = gtk.TreeViewColumn(_('Date'))
131
131
        column.set_resizable(True)
132
132
        column.pack_start(cell, expand=True)
133
133
        column.add_attribute(cell, "text", 6)
185
185
 
186
186
        align = gtk.Alignment(0.0, 0.5)
187
187
        label = gtk.Label()
188
 
        label.set_markup("<b>Revision:</b>")
 
188
        label.set_markup(_('<b>Revision:</b>'))
189
189
        align.add(label)
190
190
        table.attach(align, 0, 1, 0, 1, gtk.FILL, gtk.FILL)
191
191
        label.show()
201
201
 
202
202
        align = gtk.Alignment(0.0, 0.5)
203
203
        label = gtk.Label()
204
 
        label.set_markup("<b>Committer:</b>")
 
204
        label.set_markup(_('<b>Committer:</b>'))
205
205
        align.add(label)
206
206
        table.attach(align, 0, 1, 1, 2, gtk.FILL, gtk.FILL)
207
207
        label.show()
217
217
 
218
218
        align = gtk.Alignment(0.0, 0.5)
219
219
        label = gtk.Label()
220
 
        label.set_markup("<b>Branch nick:</b>")
 
220
        label.set_markup(_('<b>Branch nick:</b>'))
221
221
        align.add(label)
222
222
        table.attach(align, 0, 1, 2, 3, gtk.FILL, gtk.FILL)
223
223
        label.show()
233
233
 
234
234
        align = gtk.Alignment(0.0, 0.5)
235
235
        label = gtk.Label()
236
 
        label.set_markup("<b>Timestamp:</b>")
 
236
        label.set_markup(_('<b>Timestamp:</b>'))
237
237
        align.add(label)
238
238
        table.attach(align, 0, 1, 3, 4, gtk.FILL, gtk.FILL)
239
239
        label.show()
255
255
        self.parents_widgets = []
256
256
 
257
257
        label = gtk.Label()
258
 
        label.set_markup("<b>Parents:</b>")
 
258
        label.set_markup(_('<b>Parents:</b>'))
259
259
        align = gtk.Alignment(0.0, 0.5)
260
260
        align.add(label)
261
261
        self.parents_table.attach(align, 0, 1, 0, 1, gtk.FILL, gtk.FILL)