Commit 623057ae75d7e85de16a427c410929035aab68e3

Authored by Erickson Silva
1 parent c5e7c8c5
Exists in devel

[TranslationServer] Atualiza informação de endpoint de bundles

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/TranslationServer.py
@@ -47,10 +47,10 @@ def init_mode(args): @@ -47,10 +47,10 @@ def init_mode(args):
47 RUN_MODE = args.mode.lower() 47 RUN_MODE = args.mode.lower()
48 if RUN_MODE == "dict": 48 if RUN_MODE == "dict":
49 dict_mode() 49 dict_mode()
50 - print "# Server started in dictionary mode. Requests will be accepted for translation of texts and download bundles.\n# Endpoints '/translate' and '/sign' are available." 50 + print "# Server started in dictionary mode. Requests will be accepted for translation of texts and download bundles.\n# Endpoints '/translate' and '/<PLATFORM>/<SIGN>' are available."
51 elif RUN_MODE == "full": 51 elif RUN_MODE == "full":
52 full_mode() 52 full_mode()
53 - print "# Server started in full mode. Requests will be accepted for translation of texts, download bundles. All bundles requests will be stored in a database.\n# Endpoints '/translate', '/sign' and '/statistics' are available." 53 + print "# Server started in full mode. Requests will be accepted for translation of texts, download bundles. All bundles requests will be stored in a database.\n# Endpoints '/translate', '/<PLATFORM>/<SIGN>' and '/statistics' are available."
54 elif RUN_MODE == "translate": 54 elif RUN_MODE == "translate":
55 print "# Server started in translation mode.\n# Only endpoint '/translate' available." 55 print "# Server started in translation mode.\n# Only endpoint '/translate' available."
56 56