Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Cosmetic: Prettify the PROD_LANGUAGES list #85

Merged
merged 1 commit into from about 1 year ago

2 participants

Will Kahn-Greene Mike Cooper
Will Kahn-Greene
Collaborator

I didn't spend any time on this yesterday on account of needing to get
stuff done quickly. But, this makes it sane.

r?

As a side note, I changed the list so it's one language per line and then did M-x sort-lines, so it's the same stuff, just sorted.

Will Kahn-Greene Cosmetic: Prettify the PROD_LANGUAGES list
I didn't spend any time on this yesterday on account of needing to get
stuff done quickly. But, this makes it sane.
0f08efd
Mike Cooper
Collaborator

LGTM, and Polish feedback works both with DEV/DEBUG = True and False.

r+

Will Kahn-Greene willkg merged commit 0f08efd into from April 03, 2013
Will Kahn-Greene willkg closed this April 03, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 03, 2013
Will Kahn-Greene Cosmetic: Prettify the PROD_LANGUAGES list
I didn't spend any time on this yesterday on account of needing to get
stuff done quickly. But, this makes it sane.
0f08efd
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 44 additions and 4 deletions. Show diff stats Hide diff stats

  1. 48  fjord/settings/base.py
48  fjord/settings/base.py
@@ -12,11 +12,51 @@
12 12
 # Defines the views served for root URLs.
13 13
 ROOT_URLCONF = '%s.urls' % PROJECT_MODULE
14 14
 
  15
+# This is the list of languages that are active for non-DEV
  16
+# environments. Add languages here to allow users to see the site in
  17
+# that locale and additionally submit feedback in that locale.
15 18
 PROD_LANGUAGES = [
16  
-    'he', 'nb-NO', 'bg', 'vi', 'sq', 'zh-TW', 'fy-NL', 'gl', 'ca', 'ar',
17  
-    'fy', 'it', 'sl', 'hu', 'sk', 'id', 'pl', 'pt-PT', 'el', 'da', 'nl',
18  
-    'tr', 'lt', 'sr', 'pt-BR', 'ja', 'hr', 'cs', 'pt', 'ko', 'ga-IE',
19  
-    'en-US', 'zh-CN', 'uk', 'ga', 'de', 'ro', 'fr', 'es', 'ru']
  19
+    'ar',
  20
+    'bg',
  21
+    'ca',
  22
+    'cs',
  23
+    'da',
  24
+    'de',
  25
+    'el',
  26
+    'en-US',
  27
+    'es',
  28
+    'fr',
  29
+    'fy',
  30
+    'fy-NL',
  31
+    'ga',
  32
+    'ga-IE',
  33
+    'gl',
  34
+    'he',
  35
+    'hr',
  36
+    'hu',
  37
+    'id',
  38
+    'it',
  39
+    'ja',
  40
+    'ko',
  41
+    'lt',
  42
+    'nb-NO',
  43
+    'nl',
  44
+    'pl',
  45
+    'pt',
  46
+    'pt-BR',
  47
+    'pt-PT',
  48
+    'ro',
  49
+    'ru',
  50
+    'sk',
  51
+    'sl',
  52
+    'sq',
  53
+    'sr',
  54
+    'tr',
  55
+    'uk',
  56
+    'vi',
  57
+    'zh-CN',
  58
+    'zh-TW',
  59
+]
20 60
 
21 61
 INSTALLED_APPS = get_apps(
22 62
     exclude=(
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.