Commit cbe1cf4
committed
meldapp: Monkey-patch optparse's gettext alias for ugettext compat
Meld uses and assumes ugettext for our translations, and this doesn't
interact well with optparse's use of gettext, when it tries to mash
together its bytestring translations with our unicode translations.
While this is an ugly hack, the only other simple option is not using
optparse, which is a longer-term goal but much too invasive for a
quick fix.1 parent 59c9e15 commit cbe1cf4
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
0 commit comments