Skip to content

Commit 2a6b1f1

Browse files
committed
* Scripts/extract-localizable-strings: Fix minor mistake in
argument checking. Canonical link: https://commits.webkit.org/49680@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@58410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent b788227 commit 2a6b1f1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

WebKitTools/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2010-04-28 Darin Adler <darin@apple.com>
2+
3+
* Scripts/extract-localizable-strings: Fix minor mistake in
4+
argument checking.
5+
16
2010-04-28 Luiz Agostini <luiz.agostini@openbossa.org>
27

38
Reviewed by Kenneth Rohde Christiansen.

WebKitTools/Scripts/extract-localizable-strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ sub UnescapeHexSequence($);
4848

4949
my %isDebugMacro = ( ASSERT_WITH_MESSAGE => 1, LOG_ERROR => 1, ERROR => 1, NSURL_ERROR => 1, FATAL => 1, LOG => 1, LOG_WARNING => 1, UI_STRING_LOCALIZE_LATER => 1, LPCTSTR_UI_STRING_LOCALIZE_LATER => 1, UNLOCALIZED_STRING => 1, UNLOCALIZED_LPCTSTR => 1, dprintf => 1, NSException => 1, NSLog => 1, printf => 1 );
5050

51-
@ARGV >= 1 or die "Usage: extract-localizable-strings <exceptions file> [ directory... ]\nDid you mean to run update-webkit-localizable-strings instead?\n";
51+
@ARGV >= 2 or die "Usage: extract-localizable-strings <exceptions file> <file to update> [ directory... ]\nDid you mean to run update-webkit-localizable-strings instead?\n";
5252

5353
my $exceptionsFile = shift @ARGV;
5454
-f $exceptionsFile or die "Couldn't find exceptions file $exceptionsFile\n";

0 commit comments

Comments
 (0)