Skip to content
Snippets Groups Projects
  1. Sep 11, 2013
  2. Sep 10, 2013
  3. Aug 28, 2013
  4. Aug 04, 2013
  5. Aug 03, 2013
  6. 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
  7. May 24, 2013
  8. May 19, 2013
  9. Apr 15, 2013
  10. Apr 14, 2013
  11. Apr 10, 2013
  12. Mar 21, 2013
  13. Feb 21, 2013
  14. Feb 15, 2013
  15. Dec 21, 2012
  16. Nov 25, 2012
  17. Nov 12, 2012
Loading