carlxaeron / django-rosetta

Automatically exported from code.google.com/p/django-rosetta
MIT License
0 stars 0 forks source link

Search query default is not supplied,TEMPLATE_STRING_IF_INVALID triggered #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. (Assuming i18n is setup.) Add rosetta do INSTALLED_APPLICATIONS, configure 
urls etc.
2. Set TEMPLATE_STRING_IF_INVALID to '[invalid]' in project settings module.
3. Open rosetta in your browser, choose a message file.
4. There is '[invalid]' in the message search box.

What is the expected output? What do you see instead?

The search box should be empty.

What version of the product are you using? On what operating system?

SVN revision 72, Django 1.1.

Please provide any additional information below.

The (tiny) patch that fixes this issue is attached.

Original issue reported on code.google.com by adomas.p...@gmail.com on 20 Aug 2009 at 12:08

Attachments:

GoogleCodeExporter commented 8 years ago
I wasn't aware that TEMPLATE_STRING_IF_INVALID existed, nice find, thank you. 

This is fixed as of r73.

Original comment by mbonetti on 20 Aug 2009 at 7:37