Commits

Branko Vukelic committed 1581d36

Fixed language tuples bug

Also made constants available in the package's init.

Comments (0)

Files changed (2)

mstranslator/__init__.py

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

mstranslator/endpoints/base.py

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