diff getan/resources.py @ 467:59d9c5840273

Porting Python 2 to Python 3.
author Magnus Schieder <mschieder@intevation.de>
date Thu, 03 May 2018 15:38:42 +0200
parents 7e27d2145007
children
line wrap: on
line diff
--- a/getan/resources.py	Wed May 02 13:46:50 2018 +0200
+++ b/getan/resources.py	Thu May 03 15:38:42 2018 +0200
@@ -9,4 +9,4 @@
     modir = os.path.join(share_dir, "locale")
     t = py_gettext.translation("getan", modir, fallback=True)
 
-    return t.ugettext(message)
+    return t.gettext(message)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)