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

Side by Side Diff: sitescripts/extensions/pad/language.py

Issue 6700499810123776: Issue 520 - Add German and Russian translation to PAD files (Closed)
Patch Set: Created June 12, 2014, 1:53 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 | sitescripts/extensions/pad/validation.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file is part of the Adblock Plus web scripts, 1 # This file is part of the Adblock Plus web scripts,
2 # Copyright (C) 2006-2014 Eyeo GmbH 2 # Copyright (C) 2006-2014 Eyeo GmbH
3 # 3 #
4 # Adblock Plus is free software: you can redistribute it and/or modify 4 # Adblock Plus is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License version 3 as 5 # it under the terms of the GNU General Public License version 3 as
6 # published by the Free Software Foundation. 6 # published by the Free Software Foundation.
7 # 7 #
8 # Adblock Plus is distributed in the hope that it will be useful, 8 # Adblock Plus is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 continue 166 continue
167 167
168 if pad not in pad_languages: 168 if pad not in pad_languages:
169 pad_languages.append(pad) 169 pad_languages.append(pad)
170 170
171 pad_languages.sort() 171 pad_languages.sort()
172 if has_other: 172 if has_other:
173 pad_languages.append('Other') 173 pad_languages.append('Other')
174 174
175 return pad_languages 175 return pad_languages
176
177 def get_pad_languages():
178 return ISO2PAD.values()
OLDNEW
« no previous file with comments | « no previous file | sitescripts/extensions/pad/validation.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld