summaryrefslogtreecommitdiff
path: root/tests/i18n/sampleproject/templates/percents.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/i18n/sampleproject/templates/percents.html')
-rw-r--r--tests/i18n/sampleproject/templates/percents.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/i18n/sampleproject/templates/percents.html b/tests/i18n/sampleproject/templates/percents.html
index 506c0610c5..48a543a864 100644
--- a/tests/i18n/sampleproject/templates/percents.html
+++ b/tests/i18n/sampleproject/templates/percents.html
@@ -1,12 +1,12 @@
{% load i18n %}
-{% trans "Literal with a percent symbol at the end %" %}
-{% trans "Literal with a percent % symbol in the middle" %}
+{% translate "Literal with a percent symbol at the end %" %}
+{% translate "Literal with a percent % symbol in the middle" %}
-{% trans "It is 100%" %}
-{% trans "It is 100%" context "female" %}
-{% trans "Looks like a str fmt spec %s but should not be interpreted as such" %}
-{% trans "Looks like a str fmt spec % o but should not be interpreted as such" %}
+{% translate "It is 100%" %}
+{% translate "It is 100%" context "female" %}
+{% translate "Looks like a str fmt spec %s but should not be interpreted as such" %}
+{% translate "Looks like a str fmt spec % o but should not be interpreted as such" %}
-{% trans "1 percent sign %, 2 percent signs %%, 3 percent signs %%%" %}
-{% blocktrans with name="Simon" %}{{name}} says: 1 percent sign %, 2 percent signs %%{% endblocktrans %}
+{% translate "1 percent sign %, 2 percent signs %%, 3 percent signs %%%" %}
+{% blocktranslate with name="Simon" %}{{name}} says: 1 percent sign %, 2 percent signs %%{% endblocktranslate %}