Commit 7d28d21e authored by andersca@apple.com's avatar andersca@apple.com

Don't treat NSLocalizedDescriptionKey and...

Don't treat NSLocalizedDescriptionKey and NSLocalizedRecoverySuggestionErrorKey as NSLocalized macros
https://bugs.webkit.org/show_bug.cgi?id=120249

Reviewed by Andreas Kling.

* Scripts/extract-localizable-strings:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 691cf5c1
2013-08-24 Anders Carlsson <andersca@apple.com>
Don't treat NSLocalizedDescriptionKey and NSLocalizedRecoverySuggestionErrorKey as NSLocalized macros
https://bugs.webkit.org/show_bug.cgi?id=120249
Reviewed by Andreas Kling.
* Scripts/extract-localizable-strings:
2013-08-24 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Expose WebKitFrame in WebKit2GTK+ web extensions API
......
......@@ -212,7 +212,7 @@ handleString:
$previousToken = $token;
if ($token =~ /^NSLocalized/ && $token !~ /NSLocalizedDescriptionKey/ && $token !~ /NSLocalizedStringFromTableInBundle/ && $token !~ /NSLocalizedFileSizeDescription/) {
if ($token =~ /^NSLocalized/ && $token !~ /NSLocalizedDescriptionKey/ && $token !~ /NSLocalizedStringFromTableInBundle/ && $token !~ /NSLocalizedFileSizeDescription/ && $token !~ /NSLocalizedDescriptionKey/ && $token !~ /NSLocalizedRecoverySuggestionErrorKey/) {
print "$file:$.: found a use of an NSLocalized macro ($token); not supported\n";
$nestingLevel = 0 if !defined $nestingLevel;
$sawError = 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment