[GH-ISSUE #153] django 1.7 feature: blocktrans trimmed #142

Closed
opened 2026-02-26 09:36:03 +03:00 by kerem · 3 comments
Owner

Originally created by @ThomasWaldmann on GitHub (Jul 14, 2014).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/153

if one uses blocktrans and has (due to usage of multiple lines and indentation) lots of whitespace in the string, this ends up in the po file.

django >= 1.7 offers blocktrans option "trimmed" to avoid this.

we should make use of this AFTER raising minimum django requirement to 1.7.

Originally created by @ThomasWaldmann on GitHub (Jul 14, 2014). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/153 if one uses blocktrans and has (due to usage of multiple lines and indentation) lots of whitespace in the string, this ends up in the po file. django >= 1.7 offers blocktrans option "trimmed" to avoid this. we should make use of this AFTER raising minimum django requirement to 1.7.
kerem 2026-02-26 09:36:03 +03:00
Author
Owner

@ralhei commented on GitHub (Jul 26, 2014):

I've tried to get nsupdate running with django 1.7.0c1, but first of all it was difficult to install (since django 1.7 is not yet on pypi, and dependencies look for the latest django version there), and finally I get the following exception which I didn't manage to resolve:

raise AppRegistryNotReady("Models aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.

So together with Thomas W. we decided to wait until django 1.7 has finally been released.

<!-- gh-comment-id:50234588 --> @ralhei commented on GitHub (Jul 26, 2014): I've tried to get nsupdate running with django 1.7.0c1, but first of all it was difficult to install (since django 1.7 is not yet on pypi, and dependencies look for the latest django version there), and finally I get the following exception which I didn't manage to resolve: ``` python raise AppRegistryNotReady("Models aren't loaded yet.") django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet. ``` So together with Thomas W. we decided to wait until django 1.7 has finally been released.
Author
Owner

@ThomasWaldmann commented on GitHub (Sep 3, 2014):

1.7.1 is released now and we'll require it for nsupdate.info 0.10 (next release).

See #160 for the general "support django 1.7" ticket.

<!-- gh-comment-id:54294208 --> @ThomasWaldmann commented on GitHub (Sep 3, 2014): 1.7.1 is released now and we'll require it for nsupdate.info 0.10 (next release). See #160 for the general "support django 1.7" ticket.
Author
Owner

@ThomasWaldmann commented on GitHub (Nov 1, 2014):

implemented by 84b04ee1ab

translators please read the announcement on transifex - it is less work than it first looks.

<!-- gh-comment-id:61386515 --> @ThomasWaldmann commented on GitHub (Nov 1, 2014): implemented by 84b04ee1ab0becc6455126bacc6a2205624a0a3d translators please read the announcement on transifex - it is less work than it first looks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#142
No description provided.