[gen] Renamed translation files to be compliant with Launchpad policy.

This commit is contained in:
Gaetan Delannay 2013-10-20 23:13:16 +02:00
parent 14f4848348
commit ba890c865c
9 changed files with 11 additions and 12 deletions

View file

@ -444,7 +444,7 @@ class ZopeGenerator(Generator):
# get it. Else, use appyLabels from the pot file as default empty
# labels.
appyPoFileName = os.path.join(appy.getPath(), 'gen', 'tr',
'Appy-%s.po' % language)
'%s.po' % language)
if os.path.exists(appyPoFileName):
baseLabels = po.PoParser(appyPoFileName).parse().messages
else: