Created
January 18, 2011 17:38
-
-
Save patrys/784810 to your computer and use it in GitHub Desktop.
Proper translation for gender-related messages
This file contains hidden or 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
{% load i18n %} | |
{% if u.sex == 'm' %} | |
{% blocktrans with u.get_full_name as male %} | |
{{ male }} set up us a bomb. | |
{% endblocktrans %} | |
{% else %} | |
{% blocktrans with u.get_full_name as female %} | |
{{ female }} set up us a bomb. | |
{% endblocktrans %} | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment