Permalink
Browse files

Show both accepted variants for the replacement markers

  • Loading branch information...
1 parent 277ce28 commit d32ba6919ac50e4b9bab620833e60e0987bc0da6 @lelit lelit committed Apr 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 translationstring/__init__.py
@@ -97,7 +97,7 @@ def __mod__(self, options):
def interpolate(self, translated=None):
""" Interpolate the value ``translated`` which is assumed to
be a Unicode object containing zero or more *replacement
- markers* (``${foo}`` or ``${bar}``) using the ``mapping``
+ markers* (``$foo`` or ``${bar}``) using the ``mapping``
dictionary attached to this instance. If the ``mapping``
dictionary is empty or ``None``, no interpolation is
performed.

0 comments on commit d32ba69

Please sign in to comment.