OLD | NEW |
1 # This file is part of the Adblock Plus build tools, | 1 # This Source Code Form is subject to the terms of the Mozilla Public |
2 # Copyright (C) 2006-2014 Eyeo GmbH | 2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
3 # | 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
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 | |
6 # published by the Free Software Foundation. | |
7 # | |
8 # Adblock Plus is distributed in the hope that it will be useful, | |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
11 # GNU General Public License for more details. | |
12 # | |
13 # You should have received a copy of the GNU General Public License | |
14 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | |
15 | 4 |
16 package LocaleTester; | 5 package LocaleTester; |
17 | 6 |
18 use strict; | 7 use strict; |
19 use warnings; | 8 use warnings; |
20 | 9 |
21 my %keepAccessKeys = map {$_ => $_} ( | 10 my %keepAccessKeys = map {$_ => $_} ( |
22 'ja-JP', | 11 'ja-JP', |
23 'ja', | 12 'ja', |
24 'ko-KR', | 13 'ko-KR', |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 { | 311 { |
323 unless (exists($current->{$file})) | 312 unless (exists($current->{$file})) |
324 { | 313 { |
325 print "$locale: Missing file '$file'\n"; | 314 print "$locale: Missing file '$file'\n"; |
326 next; | 315 next; |
327 } | 316 } |
328 } | 317 } |
329 } | 318 } |
330 | 319 |
331 1; | 320 1; |
OLD | NEW |