OLD | NEW |
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 Loading... |
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() |
OLD | NEW |