Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Commit

Permalink
- do not use -U for msgmerge because it doesn't work on MAC and veri…
Browse files Browse the repository at this point in the history
…on 0.17

   of msgmerge.
  • Loading branch information
jukart committed Apr 14, 2009
1 parent 0f45ea5 commit d8e5960
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES.txt
Expand Up @@ -2,6 +2,12 @@
Changes for lovely.recipe
=========================

2009/04/14 1.0.0b3
==================

- do not use -U for msgmerge because it doesn't work on MAC and verion 0.17
of msgmerge.

2009/04/03 1.0.0b2
==================

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -15,7 +15,7 @@
setup (
name='lovely.recipe',
description = "set of helper recipies for zc.buildout",
version='1.0.0b2',
version='1.0.0b3',
author = "Lovely Systems",
author_email = "office@lovelysystems.com",
license = "ZPL 2.1",
Expand All @@ -27,6 +27,7 @@
namespace_packages = ['lovely', 'lovely.recipe'],
extras_require = dict(zope=[
'zope.app.locales',
'zope.error',
'zc.zope3recipes',
'zc.zodbrecipes',
'zope.app.locales>=3.4.5',
Expand Down
3 changes: 2 additions & 1 deletion src/lovely/recipe/i18n/i18nmergeall.py
Expand Up @@ -59,7 +59,8 @@ def merge(path):
pot_path = os.path.join(path, domain_file+'t')
domain = domain_file.split('.')[0]
print 'Merging language "%s", domain "%s"' %(language, domain)
os.system('msgmerge -U %s %s' %(domain_path, pot_path))
os.system('msgmerge %s %s -o %s' %(
domain_path, pot_path, domain_path))


def main(argv=sys.argv):
Expand Down

0 comments on commit d8e5960

Please sign in to comment.