repo.or.cz
/
apertium.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding a bit
[apertium.git]
/
apertium-tools
/
apertium-tolk
/
i18n.py
blob
11575086163f214a56d41812a3b11b59777158bf
1
import
gettext
2
import
gtk
.
glade
3
4
APP
=
'simple-view'
5
DIR
=
'po'
6
7
gettext
.
bindtextdomain
(
APP
,
DIR
)
8
gettext
.
textdomain
(
APP
)
9
gtk
.
glade
.
bindtextdomain
(
APP
,
DIR
)
10
gtk
.
glade
.
textdomain
(
APP
)
11
12
_
=
gettext
.
gettext
# the i18n function :)
13