~ubuntu-branches/ubuntu/lucid/arista/lucid

« back to all changes in this revision

Viewing changes to debian/patches/06-non_utf8_locales.patch

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-12-06 19:06:55 UTC
  • Revision ID: james.westby@ubuntu.com-20091206190655-iui4w0n40d9bl0o6
Tags: 0.9.3+repack-0ubuntu4
* debian/patches/02-log_extra_info_on_missing_plugins.patch:
  - arista/presets.py: Log some extra information while attempting to
    automagically install missing plugins.
* debian/patches/03-crash_with_high_dimension_video.patch:
  - presets/dvd.xml: Constrain DVD MPEG2 sizes as GStreamer DVD stuff
    doesn't seem to be totally spec compliant (LP: #399725).
* debian/patches/04-remember_last_opened_location.patch:
  - arista-gtk: Remember last opened location for file chooser dialog as
    a gconf setting (LP: #407146).
* debian/patches/05-ellipsize_filename.patch:
  - arista-gtk: Ellipsize long filenames so the window doesn't grow to a
    ridiculous size (LP: #407149). 
* debian/patches/06-non_utf8_locales.patch:
  - arista-gtk: Fix translation for non-UTF8 locale (LP: #410266).
* debian/patches/07-gstreamer_videocaps.patch:
  - arista/transcoder.py: Catch a rare case where GStreamer didn't set
    videocaps for a video file properly (LP: #441069).
* debian/patches/08-negative_remaining_time.patch:
  - arista/transcoder.py: Don't display strange negative status information,
    instead fall back to saying an unknown amount of time remains with no
    current status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Vendor: http://github.com/danielgtaylor/arista/commit/92516e81b547c5c41b4aca57001ba4efdfc992e2
 
2
Description: Fix translation for non-UTF8 locale
 
3
Bug: https://bugs.launchpad.net/bugs/410266
 
4
---
 
5
 arista-gtk |    2 ++
 
6
 1 file changed, 2 insertions(+)
 
7
 
 
8
--- arista-0.9.3+repack.orig/arista-gtk
 
9
+++ arista-0.9.3+repack/arista-gtk
 
10
@@ -1400,10 +1400,12 @@ if __name__ == "__main__":
 
11
     
 
12
     gettext.bindtextdomain("arista",
 
13
                            arista.utils.get_path("locale"))
 
14
+    gettext.bind_textdomain_codeset("arista", "UTF-8")
 
15
     gettext.textdomain("arista")
 
16
     
 
17
     locale.bindtextdomain("arista",
 
18
                           arista.utils.get_path("locale"))
 
19
+    locale.bind_textdomain_codeset("arista", "UTF-8")
 
20
     locale.textdomain("arista")
 
21
     
 
22
     gtk.gdk.threads_init()