MCPcopy Create free account
hub / github.com/comaps/comaps / usage

Function usage

tools/python/translate.py:191–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 return translations
190
191def usage():
192 print('Usage:', sys.argv[0], 'Some English text to translate')
193 print('For a custom source language add a two-letter code with a colon in the beginning:')
194 print(' ', sys.argv[0], 'de:Some German text to translate')
195 print()
196 print('Supported DeepL languages:')
197 print(', '.join(DEEPL_TARGET_LANGUAGES))
198 print('Supported Google languages:')
199 print(', '.join(GOOGLE_TARGET_LANGUAGES))
200
201
202# Returns a list of all languages supported by the core (search) in data/categories.txt

Callers 1

translate.pyFile · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected