Diego Búrigo Zacarão avatar Diego Búrigo Zacarão committed 27c7b3b

minor: Fixed some issues in txcreatelanguages command

Comments (0)

Files changed (1)

transifex/languages/management/commands/txcreatelanguages.py

 #   English (United States)
     en_US, created = Language.objects.get_or_create(code='en_US')
     en_US.code_aliases='en-US'
-    en_US.name = _(u'English')
+    en_US.name = _(u'English (United States)')
     en_US.nplurals = '2'
     en_US.pluralequation = '(n != 1)'
     en_US.save()
     ilo.save()
 
 #   Icelandic
-    islang, created = Language.objects.get_or_create(code='is')
-    is.code_aliases='is-IS'
-    islang.name = _(u'Icelandic')
-    islang.nplurals = '2'
-    islang.pluralequation = '(n != 1)'
-    islang.save()
+    is_, created = Language.objects.get_or_create(code='is')
+    is_.code_aliases='is-IS'
+    is_.name = _(u'Icelandic')
+    is_.nplurals = '2'
+    is_.pluralequation = '(n != 1)'
+    is_.save()
 
 #   Italiano
 #   Italian
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.