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

Side by Side Diff: LocaleTester.pm

Issue 5430129207541760: Issue 1358 - Publish build tools under the MPL 2.0 license (Closed)
Patch Set: Created Sept. 11, 2014, 3:41 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 | bootstrap.js.tmpl » ('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 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
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;
OLDNEW
« no previous file with comments | « no previous file | bootstrap.js.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld