docs: def translations(context: Context, pull=False, push=False):
      """
      Synchronises translations with transifex.com
      """
      if not (pull or push):
          raise TaskError('Specify whether to push or pull translations')
      if pull:
          context.shell('tx', 'pull')
          make_messages(context, javascript=False)
          make_messages(context, javascript=True)
      if push:
          context.shell('tx', 'push', '--source', '--no-interactive')