Parcourir la source

Added missing text translation utility file.

Sander Mathijs van Veen il y a 14 ans
Parent
commit
b76e038628
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      src/translate.py

+ 6 - 0
src/translate.py

@@ -0,0 +1,6 @@
+import gettext
+
+gettext.bindtextdomain('trs', 'lang')
+gettext.textdomain('trs')
+
+_ = gettext.gettext