1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00

Add extra % to literal %

This commit is contained in:
zhengxie
2014-12-26 17:21:01 +08:00
parent f7ed31068d
commit bc1bf6e007
2 changed files with 6 additions and 5 deletions

View File

@@ -12,7 +12,8 @@ def make(default=True):
# some version of makemessages will produce "%%" in the string, replace that
# to "%".
_inplace_change('locale/en/LC_MESSAGES/django.po', '%%', '%')
_inplace_change('locale/en/LC_MESSAGES/django.po', '%%s', '%s')
_inplace_change('locale/en/LC_MESSAGES/django.po', '%%(', '%(')
@task
def push():