Changes between Initial Version and Version 4 of Ticket #30081
- Timestamp:
- Jan 12, 2019, 7:59:47 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30081
- Property Resolution → wontfix
- Property Status new → closed
-
Ticket #30081 – Description
initial v4 5 5 }}} 6 6 7 (you can see it on https://github.com/speedy-net/speedy-net/blob/ uri_merge_with_master_2018-12-26_a/speedy/core/accounts/forms.py)7 (you can see it on https://github.com/speedy-net/speedy-net/blob/staging/speedy/core/accounts/forms.py) 8 8 9 The problem is that `manage.py makemessages` doesn't recognize the context here. A workaround we found is to include this text manually in files we don't use at all, such as `__translations.py` or `__translations.html` (you can see them on https://github.com/speedy-net/speedy-net/blob/ uri_merge_with_master_2018-12-26_a/speedy/core/base/__translations.py and https://github.com/speedy-net/speedy-net/blob/uri_merge_with_master_2018-12-26_a/speedy/core/templates/__translations.html respectively), and there we can include the same strings with context:9 The problem is that `manage.py makemessages` doesn't recognize the context here. A workaround we found is to include this text manually in files we don't use at all, such as `__translations.py` or `__translations.html` (you can see them on https://github.com/speedy-net/speedy-net/blob/staging/speedy/core/base/__translations.py and https://github.com/speedy-net/speedy-net/blob/staging/speedy/core/templates/__translations.html respectively), and there we can include the same strings with context: 10 10 11 11 Either: