Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Translation extractor does not strip trailing whitespace off message-ids #1

Closed
Ignas opened this Issue Jun 14, 2011 · 0 comments

Comments

Projects
None yet
2 participants

Ignas commented Jun 14, 2011

    def test_translate_stripExtraWhitespaceAfterText(self):
        snippet="""\
                <html xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:domain="lingua">
                  <dummy i18n:translate="">
                      Dummy text
                  </dummy>
                </html>
                """
        self.assertEqual(self.extract(snippet),
                [(2, None, u"Dummy text", [])])

@wichert wichert closed this in db15a96 Jun 14, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment