PageRenderTime 21ms CodeModel.GetById 9ms RepoModel.GetById 0ms app.codeStats 0ms

/tests/regressiontests/i18n/commands/templates/test.html

https://code.google.com/p/mango-py/
HTML | 59 lines | 48 code | 11 blank | 0 comment | 0 complexity | d24bc14ef8d1282c8034a886c2f52d25 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. {% load i18n %}
  2. {% comment %}Translators: Django comment block for translators
  3. string's meaning unveiled
  4. {% endcomment %}
  5. {% trans "This literal should be included." %}
  6. {% trans "This literal should also be included wrapped or not wrapped depending on the use of the --no-wrap option." %}
  7. {# Translators: Django template comment for translators #}
  8. <p>{% blocktrans %}I think that 100% is more that 50% of anything.{% endblocktrans %}</p>
  9. {% blocktrans with 'txt' as obj %}I think that 100% is more that 50% of {{ obj }}.{% endblocktrans %}
  10. {% comment %}Some random comment
  11. Some random comment
  12. Translators: One-line translator comment #1
  13. {% endcomment %}
  14. {% trans "Translatable literal #1a" %}
  15. {% comment %}Some random comment
  16. Some random comment
  17. Translators: Two-line translator comment #1
  18. continued here.
  19. {% endcomment %}
  20. {% trans "Translatable literal #1b" %}
  21. {% comment %}Some random comment
  22. Translators: One-line translator comment #2
  23. {% endcomment %}
  24. {% trans "Translatable literal #2a" %}
  25. {% comment %}Some random comment
  26. Translators: Two-line translator comment #2
  27. continued here.
  28. {% endcomment %}
  29. {% trans "Translatable literal #2b" %}
  30. {% comment %}
  31. Translators: One-line translator comment #3
  32. {% endcomment %}
  33. {% trans "Translatable literal #3a" %}
  34. {% comment %}
  35. Translators: Two-line translator comment #3
  36. continued here.
  37. {% endcomment %}
  38. {% trans "Translatable literal #3b" %}
  39. {% comment %} Translators: One-line translator comment #4{% endcomment %}
  40. {% trans "Translatable literal #4a" %}
  41. {% comment %} Translators: Two-line translator comment #4
  42. continued here.{% endcomment %}
  43. {% trans "Translatable literal #4b" %}
  44. {% comment %} Translators: One-line translator comment #5 -- with non ASCII characters: áéíóúö{% endcomment %}
  45. {% trans "Translatable literal #5a" %}
  46. {% comment %} Translators: Two-line translator comment #5 -- with non ASCII characters: áéíóúö
  47. continued here.{% endcomment %}
  48. {% trans "Translatable literal #6b" %}