Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: filters/to_og_locale.py

Issue 29511696: Issue 5447 - Add missing essential meta data to adblockplus.org (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Updated locales before re-landing after blog fix Created Sept. 13, 2017, 12:25 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « filters/ignore_browsers.py ('k') | includes/index.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 og_locales = {
2 'ar': 'ar_AR',
3 'bg': 'bg_BG',
4 'de': 'de_DE',
5 'da': 'da_DK',
6 'en': 'en_US',
7 'es': 'es_LA',
8 'es_MX': 'es_MX',
9 'fr': 'fr_FR',
10 'el': 'el_GR',
11 'he': 'he_IL',
12 'hu': 'hu_HU',
13 'it': 'it_IT',
14 'ms': 'ms_MY',
15 'ja': 'ja_JP',
16 'ko': 'ko_KR',
17 'lt': 'lt_LT',
18 'nl': 'nl_NL',
19 'pl': 'pl_PL',
20 'pt': 'pt_PT',
21 'pt_BR': 'pt_BR',
22 'ru': 'ru_RU',
23 'sk': 'sk_SK',
24 'th': 'th_TH',
25 'tr': 'tr_TR',
26 'vi': 'vi_VN',
27 'zh_CN': 'zh_CN',
28 'zh_TW': 'zh_TW',
29 }
30
31 def to_og_locale(locale):
32 if locale in og_locales:
33 return og_locales[locale]
34 else:
35 return locale
OLDNEW
« no previous file with comments | « filters/ignore_browsers.py ('k') | includes/index.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld