Commit 3903695e authored by Michal Čihař's avatar Michal Čihař

Remove not used parameters

parent ed2fa5d0
...@@ -84,8 +84,6 @@ class BaseFormatCheck(TargetCheck): ...@@ -84,8 +84,6 @@ class BaseFormatCheck(TargetCheck):
return self.check_format( return self.check_format(
sources[1], sources[1],
targets[0], targets[0],
flags,
language,
unit, unit,
1, 1,
False False
...@@ -94,8 +92,6 @@ class BaseFormatCheck(TargetCheck): ...@@ -94,8 +92,6 @@ class BaseFormatCheck(TargetCheck):
singular_check = self.check_format( singular_check = self.check_format(
sources[0], sources[0],
targets[0], targets[0],
flags,
language,
unit, unit,
0, 0,
len(sources) > 1 len(sources) > 1
...@@ -106,8 +102,6 @@ class BaseFormatCheck(TargetCheck): ...@@ -106,8 +102,6 @@ class BaseFormatCheck(TargetCheck):
plural_check = self.check_format( plural_check = self.check_format(
sources[1], sources[1],
targets[0], targets[0],
flags,
language,
unit, unit,
1, 1,
True True
...@@ -122,8 +116,6 @@ class BaseFormatCheck(TargetCheck): ...@@ -122,8 +116,6 @@ class BaseFormatCheck(TargetCheck):
plural_check = self.check_format( plural_check = self.check_format(
sources[1], sources[1],
target, target,
flags,
language,
unit, unit,
1, 1,
False False
...@@ -133,7 +125,7 @@ class BaseFormatCheck(TargetCheck): ...@@ -133,7 +125,7 @@ class BaseFormatCheck(TargetCheck):
# Check did not fire # Check did not fire
return False return False
def check_format(self, source, target, flags, language, unit, cache_slot, ignore_missing): def check_format(self, source, target, unit, cache_slot, ignore_missing):
''' '''
Generic checker for format strings. Generic checker for format strings.
''' '''
......
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