1. Monwara LLC
  2. Untitled project
  3. PyMSTranslator

Commits

Branko Vukelic  committed 1581d36

Fixed language tuples bug

Also made constants available in the package's init.

  • Participants
  • Parent commits 268a85a
  • Branches master

Comments (0)

Files changed (2)

File mstranslator/__init__.py

View file
 from client import MSTranslator, MSTranslatorAccessKey
+from endpoints.base import LANGAUGES, LANGUAGE_CODES, AUDIO, CONTENT

File mstranslator/endpoints/base.py

View file
 )
 
 LANGUAGES = (
-    ('ar' 'Arabic'),
-    ('bg' 'Bulgarian'),
+    ('ar', 'Arabic'),
+    ('bg', 'Bulgarian'),
     ('ca', 'Catalan'),
     ('zh-CHS', 'Chinese (Simplified)'),
     ('zh-CHT', 'Chinese (Traditional)'),