Commit 98c38cc2 authored by Michal Čihař's avatar Michal Čihař

Adjust example to current API

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent d156ecb0
......@@ -37,5 +37,5 @@ class FooCheck(TargetCheck):
description = _('Your translation is foo')
# Real check code
def check_single(self, source, target, unit):
def check_single(self, source, target, unit, cache_slot):
return 'foo' in target
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