Added rtl language support
authorJiyda Mint Moussa <jiydam@gmail.com>
Sun, 28 Apr 2013 21:01:30 +0000 (00:01 +0300)
committerJiyda Mint Moussa <jiydam@gmail.com>
Sun, 28 Apr 2013 21:01:30 +0000 (00:01 +0300)
commit4a4e4e4ae83d6ff3f09580238049e74444b01416
tree58083423f1e9217fe53c371c83046f012dbb5fc8
parent8f88b1f6dc88f76b5e01bc43db26055ab3fbc921
Added rtl language support

RTL languages like Arabic, Hebrew etc were displayed from left
to right. I fixed this by adding a function to check
whether the language of the locale is rtl and change the
direction of the html in "base.html" accordingly.

[Fixes #220]
mediagoblin/templates/mediagoblin/base.html
mediagoblin/tools/template.py
mediagoblin/tools/translate.py