Commit 23768800 authored by Michal Čihař's avatar Michal Čihař

Fix parameters for file import

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 1f71888c
...@@ -1083,7 +1083,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin): ...@@ -1083,7 +1083,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
return ret return ret
def merge_store(self, request, author, store2, overwrite, merge_header, def merge_store(self, request, author, store2, overwrite, merge_header,
add_fuzzy, fuzzy, merge_comments=False): add_fuzzy, fuzzy, merge_comments):
''' '''
Merges translate-toolkit store into current translation. Merges translate-toolkit store into current translation.
''' '''
...@@ -1163,7 +1163,8 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin): ...@@ -1163,7 +1163,8 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
return ret return ret
def merge_upload(self, request, fileobj, overwrite, author=None, def merge_upload(self, request, fileobj, overwrite, author=None,
merge_header=True, method='', fuzzy=''): merge_header=True, method='', fuzzy='',
merge_comments=False):
''' '''
Top level handler for file uploads. Top level handler for file uploads.
''' '''
...@@ -1224,7 +1225,8 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin): ...@@ -1224,7 +1225,8 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
overwrite, overwrite,
merge_header, merge_header,
(method == 'fuzzy'), (method == 'fuzzy'),
fuzzy fuzzy,
merge_comments=merge_comments,
) )
else: else:
# Add as sugestions # Add as sugestions
......
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