PiTiVi is never translated under FreeBSD
@duchateau.olivier
Submitted by Olivier Duchateau Assigned to Olivier Duchateau @duchateau.olivier
Description
PiTiVi (v0.15.2) is correctly installed on my FreeBSD box, but when I launch it, it's never translated.
My locale is fr_FR.ISO8859-15
olivier@tuborg:~ $ python
Python 2.7.3 (default, Jun 25 2012, 07:16:42)
[GCC 4.2.2 20070831 prerelease [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
import locale
locale.setlocale(locale.LC_ALL, '')
'fr_FR.ISO8859-15'
locale.bindtextdomain('pitivi', '/usr/local/share/locale/fr/LC_MESSAGES/')
Traceback (most recent call last):
File "<stdin>
", line 1, in<module>
AttributeError: 'module' object has no attribute 'bindtextdomain'
bindtextdomain' and
textdomain' don't exist under FreeBSD.
Patch corrects this problem.
Imported from https://bugzilla.gnome.org/show_bug.cgi?id=686586