Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.2.X] Fixed #11966 -- Made it possible to use a percent sign in a t…
…ranslation message id. Thanks for the patch, Claude Paroz. Backport from trunk (r14459). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,2 +1,4 @@ | |||
{% load i18n %} | {% load i18n %} | ||
{% trans "This literal should be included." %} | {% trans "This literal should be included." %} | ||
{% blocktrans %}I think that 100% is more that 50% of anything.{% endblocktrans %} | |||
{% blocktrans with 'txt' as obj %}I think that 100% is more that 50% of {{ obj }}.{% endblocktrans %} |