Commit 0612a686 authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents eb58ad8f a01ed89c
......@@ -50,7 +50,7 @@ class RepoTestCase(TestCase):
web='http://weblate.org/'
)
def create_subproject(self, mask='po/*.po', template=''):
def create_subproject(self, file_format='auto', mask='po/*.po', template=''):
'''
Creates test subproject.
'''
......@@ -60,23 +60,27 @@ class RepoTestCase(TestCase):
slug='test',
project=project,
repo='git://github.com/nijel/weblate-test.git',
filemask='po/*.po',
template='',
filemask=mask,
template=template,
file_format=file_format,
)
def create_iphone(self):
return self.create_subproject(
'strings',
'iphone/*.lproj/Localizable.strings',
)
def create_java(self):
return self.create_subproject(
'properties',
'java/swing_messages_*.properties',
'java/swing_messages.properties',
)
def create_xliff(self):
return self.create_subproject(
'xliff',
'xliff/*/DPH.xlf',
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment