[Pkg-mozext-commits] [adblock-plus] 112/464: Upper-case all translation check messages for consistency
David Prévot
taffit at moszumanska.debian.org
Tue Jul 22 20:44:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit aeab4439d6731539f232645f897d22cafd7607d1
Author: Wladimir Palant <trev at adblockplus.org>
Date: Wed Dec 8 20:41:48 2010 +0100
Upper-case all translation check messages for consistency
---
LocaleTester.pm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/LocaleTester.pm b/LocaleTester.pm
index 515bdc3..062fee3 100644
--- a/LocaleTester.pm
+++ b/LocaleTester.pm
@@ -56,7 +56,7 @@ sub testLocales
next unless exists($currentLocale->{"$dir:$file"}) && exists($currentLocale->{"$dir:$file"}{$name}) && $currentLocale->{"$dir:$file"}{$name};
my $value = lc($currentLocale->{"$dir:$file"}{$name});
- print "$locale: values for '$values{$value}' and '$key' are identical, must differ\n" if exists $values{$value};
+ print "$locale: Values for '$values{$value}' and '$key' are identical, must differ\n" if exists $values{$value};
$values{$value} = $key;
}
}
@@ -73,7 +73,7 @@ sub testLocales
$stdValue = $value unless defined $stdValue;
$stdName = $key unless defined $stdName;
- print "$locale: values for '$stdName' and '$key' differ, must be equal\n" if $value ne $stdValue;
+ print "$locale: Values for '$stdName' and '$key' differ, must be equal\n" if $value ne $stdValue;
}
}
@@ -81,7 +81,7 @@ sub testLocales
{
my $maxLength = $params{lengthRestrictions}{$key};
my ($dir, $file, $name) = split(/:/, $key);
- print "$locale: value of '$key' is too long, must not be longer than $maxLength characters\n" if exists($currentLocale->{"$dir:$file"}) && exists($currentLocale->{"$dir:$file"}{$name}) && length($currentLocale->{"$dir:$file"}{$name}) > $maxLength;
+ print "$locale: Value of '$key' is too long, must not be longer than $maxLength characters\n" if exists($currentLocale->{"$dir:$file"}) && exists($currentLocale->{"$dir:$file"}{$name}) && length($currentLocale->{"$dir:$file"}{$name}) > $maxLength;
}
foreach my $file (keys %$currentLocale)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list