Add option to blocktrans to trim whitespace #803

Closed
wants to merge 12 commits into
from

Projects

None yet

7 participants

@mpessas
mpessas commented Feb 23, 2013

https://code.djangoproject.com/ticket/5849

Add the trimmed option to the blocktrans tag to trim any newlines and
whitespace from its content.

This allows the developer to indent the blocktrans tag without adding
new lines and whitespace to the msgid in the PI file.

@yarbelk
yarbelk commented Mar 13, 2013

The last patch in https://code.djangoproject.com/ticket/5849 seems to account for the translate.real_trans writing of the translation strings to the po file. I don't see how you account for this here, or I'm missing somethings.

claudep and others added some commits May 27, 2013
@claudep claudep Reimplemented PostGIS spatial_version with cached_property b14bd60
@ramiro ramiro Fixed #12491 -- Tweak checkbox widget help text alignment on the admin.
Thanks master' for the report and Niels van Dijk for the fix
7a92312
@timgraham Tim Graham Fixed #17582 - Added message to DoesNotExist exceptions.
Thanks simon@ for the suggestion and JordanPowell
for the initial patch.
6f8627d
@akaariai akaariai Fixed #20507 -- SubqueryConstraint alias handling
MySQL should work now, too.
37ea9f9
@timgraham timgraham Merge pull request #1226 from bmispelon/ticket-20505
Fixed #20505 -- Typo in BinaryField documentation.
a64de33
@timgraham Tim Graham Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_create
Thanks wilfred@, poirier, and charettes for work
on the patch.
90af278
@shaib shaib Fixed #20501 -- failure of datetime queries with timezones under Oracle 5e05ec3
@shaib shaib Fixed #20013 -- A test for sqlall fails under Oracle 1e29428
@timgraham timgraham Fixed #11603 - Added django.test.SimpleTestCase.assertFormsetError
Thank-you Martin Green for the patch.
d194714
@timgraham timgraham Fixed #20182 - admin lookup should treat 0 as False for __isnull
Thanks Benjie Chen.
0268aba
@shaib shaib Fixed #20014 -- implemented get_key_columns() for Oracle
Thanks Aymeric Augustin for reporting
0027f13
Apostolos Bessas Add option to blocktrans to trim whitespace
Add the trimmed option to the blocktrans tag to trim any newlines and
whitespace from its content.

This allows the developer to indent the blocktrans tag without adding
new lines and whitespace to the msgid in the PI file.
b566158
@mpessas
mpessas commented May 28, 2013

@yarbelk Sorry about that. I just updated the pull request.

@timgraham
Member

Updated in #1773

@timgraham timgraham closed this Oct 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment