Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pgettext.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2011-10-04 22:22:21 (GMT)
committer Gary Martin <gary@garycmartin.com>2011-10-04 22:22:21 (GMT)
commitb39c342f09aa5ff69cd9b25a578a43eea856cdd8 (patch)
tree8714272ffc9fab80bd8b7947a7b2fae7048a7703 /pgettext.py
parent227d7d36b9b4eb696d3431087bcec4f2d951035e (diff)
Use _ instead of _p for marking reanslatable strings SL#1658
Diffstat (limited to 'pgettext.py')
-rw-r--r--pgettext.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pgettext.py b/pgettext.py
index ac1473c..e3ce7af 100644
--- a/pgettext.py
+++ b/pgettext.py
@@ -31,7 +31,7 @@ def pgettext(msgctxt, msgid):
else:
return gettext(msgid)
-# Map our pgettext() custom function to _p()
-_p = lambda msgctxt, msgid: pgettext(msgctxt, msgid)
+# Map our pgettext() custom function to _()
+_ = lambda msgctxt, msgid: pgettext(msgctxt, msgid)