<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/i18n/sampleproject/update_catalogs.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-07-23T23:17:55Z</updated>
<entry>
<title>Refs #36500 -- Rewrapped long docstrings and block comments via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2025-07-23T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=69a93a88edb56ba47f624dac7a21aacc47ea474f'/>
<id>urn:sha1:69a93a88edb56ba47f624dac7a21aacc47ea474f</id>
<content type='text'>
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #30585 -- Updated project templates and tests to use (block)translate tags.</title>
<updated>2019-12-18T12:15:38Z</updated>
<author>
<name>Mike Hansen</name>
<email>mike@rover.com</email>
</author>
<published>2019-09-23T15:31:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=35d36d946272bed06a3d7c7cd4e5b71b613e7a4f'/>
<id>urn:sha1:35d36d946272bed06a3d7c7cd4e5b71b613e7a4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #30585 -- Added {% translate %} and {% blocktranslate %} template tags.</title>
<updated>2019-12-18T12:15:38Z</updated>
<author>
<name>Mike Hansen</name>
<email>mike@rover.com</email>
</author>
<published>2019-06-21T16:41:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=d291c72bf24387e4abe8d9883ebe9c69abdd26d0'/>
<id>urn:sha1:d291c72bf24387e4abe8d9883ebe9c69abdd26d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."</title>
<updated>2017-03-07T15:10:32Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2017-03-07T15:10:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=784a53beef0ff4fb593bb6c4643924830b29e1bd'/>
<id>urn:sha1:784a53beef0ff4fb593bb6c4643924830b29e1bd</id>
<content type='text'>
This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
</content>
</entry>
<entry>
<title>Fixed #27878, refs #23919 -- Used python3 shebangs.</title>
<updated>2017-02-23T18:41:10Z</updated>
<author>
<name>Chris Lamb</name>
<email>chris@chris-lamb.co.uk</email>
</author>
<published>2017-02-23T15:55:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229'/>
<id>urn:sha1:4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #24257 -- Corrected i18n handling of percent signs.</title>
<updated>2015-08-12T14:23:34Z</updated>
<author>
<name>Doug Beck</name>
<email>doug@douglasbeck.com</email>
</author>
<published>2015-04-15T21:01:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b7508896fbe19ec2cdeb81565cd587091b6b68d0'/>
<id>urn:sha1:b7508896fbe19ec2cdeb81565cd587091b6b68d0</id>
<content type='text'>
Refactored tests to use a sample project.

Updated extraction:
* Removed special handling of single percent signs.
* When extracting messages from template text, doubled all percent signs
  so they are not interpreted by gettext as string format flags. All
  strings extracted by gettext, if containing a percent sign, will now
  be labeled "#, python-format".

Updated translation:
* Used "%%" for "%" in template text before calling gettext.
* Updated {% trans %} rendering to restore "%" from "%%".
</content>
</entry>
</feed>
