/usr/share/pyshared/tolk/i18n.py is in apertium-tolk 0.2-2.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | import gettext
import gtk.glade
import prefix
APP='apertium-tolk'
DIR=prefix.localedir
gettext.bindtextdomain(APP, DIR)
gettext.textdomain(APP)
gtk.glade.bindtextdomain(APP, DIR)
gtk.glade.textdomain(APP)
_ = gettext.gettext # the i18n function :)
|