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

Side by Side Diff: filters/tooglocale.py

Issue 29480675: Issue 5329 - Added standard social media meta data to website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Refactored defaults and updated locale logic Created Aug. 8, 2017, 11:27 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 | « no previous file | includes/meta/social.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",
Vasily Kuznetsov 2017/08/09 17:02:48 If our Python coding style applies to the websites
juliandoucette 2017/08/09 19:19:41 Done.
3 "bg": "bg_BG",
4 "de": "de_DE",
5 "dk": "da_DK",
6 "da": "da_DK",
7 "en": "en_US",
8 "es": "es_LA",
9 "fr": "fr_FR",
10 "el": "el_GR",
11 "he": "he_IL",
12 "hu": "hu_HU",
13 "it": "it_IT",
14 "ja": "ja_JP",
15 "ko": "ko_KR",
16 "lt": "lt_LT",
17 "nl": "nl_NL",
18 "pl": "pl_PL",
19 "pt": "pt_PT",
20 "pt_BR": "pt_BR",
21 "ro": "ro_RO",
22 "ru": "ru_RU",
23 "sk": "sk_SK",
24 "sl": "sl_SI",
25 "sv": "sv_SE",
26 "tr": "tr_TR",
27 "vi": "vi_VN",
28 "zh_CN": "zh_CN",
29 "zh_TW": "zh_TW",
30 }
31
32 def tooglocale(locale):
33 return og_locales[locale]
OLDNEW
« no previous file with comments | « no previous file | includes/meta/social.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld