Skip to content
Snippets Groups Projects
  1. Dec 19, 2013
  2. Nov 12, 2013
  3. Nov 11, 2013
  4. Oct 08, 2013
  5. Oct 01, 2013
  6. Sep 17, 2013
  7. Sep 11, 2013
  8. Sep 10, 2013
  9. Aug 28, 2013
  10. Aug 04, 2013
  11. Aug 03, 2013
  12. Jun 25, 2013
    • Yap Sok Ann's avatar
      Allow literal string argument that starts with a "#". · eee34a54
      Yap Sok Ann authored
      Without this change, when running setup.py extract_messages, we would get
      error:
      
          TokenError: ('EOF in multi-line statement', (2, 0))
      
      Looking at the unit test, it seems like a literal string argument in the form
      of "_('xxx')" is supposed to be picked up by Babel. However, that contradicts
      with the documentation, which states:
      
      > When using tags, the values of the arguments are taken as literal strings by
      > default. To embed Python expressions as arguments, use the embedded
      > expression format
      
      So, as a side effect of this commit, the convenience of "_('xxx')" has been
      removed. Probably can add it back if necessary for backward compatibility.
      eee34a54
  13. May 24, 2013
  14. May 19, 2013
  15. Apr 15, 2013
  16. Apr 14, 2013
  17. Apr 10, 2013
  18. Mar 21, 2013
Loading