Merge lp://staging/~deejay1/groundcontrol/bugfix-lp-520904 into lp://staging/groundcontrol

Proposed by Łukasz Jernaś
Status: Merged
Merge reported by: Martin Owens
Merged at revision: not available
Proposed branch: lp://staging/~deejay1/groundcontrol/bugfix-lp-520904
Merge into: lp://staging/groundcontrol
Diff against target: 26 lines (+5/-0)
1 file modified
nautilus-groundcontrol.py (+5/-0)
To merge this branch: bzr merge lp://staging/~deejay1/groundcontrol/bugfix-lp-520904
Reviewer Review Type Date Requested Status
Martin Owens Approve
Review via email: mp+19886@code.staging.launchpad.net
To post a comment you must log in.
Revision history for this message
Łukasz Jernaś (deejay1) wrote :

This should fix the translation issue as far as I can tell...

Revision history for this message
Martin Owens (doctormo) wrote :

Good to go, merged in.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'nautilus-groundcontrol.py'
2--- nautilus-groundcontrol.py 2010-02-18 09:31:54 +0000
3+++ nautilus-groundcontrol.py 2010-02-22 17:11:13 +0000
4@@ -19,10 +19,12 @@
5 """
6
7 import os
8+import gettext
9 import gtk
10 import gio
11 import gobject
12 import nautilus
13+import locale
14 import logging
15 import webbrowser
16
17@@ -54,6 +56,9 @@
18 # Do not use launchpadlib within this main thread
19 # It's not thread safe and causes lots of errors.
20
21+locale.setlocale(locale.LC_ALL, '')
22+gettext.install(__appname__, unicode=True)
23+
24 print _("Initializing %s-%s extension" % (__appname__, __version__))
25 BIN_DIR = './bin'
26 HOME_DIR = os.path.expanduser('~/')

Subscribers

People subscribed via source and target branches