Make WebLocalizableStrings work a little more like the Mac version
Reviewed by Steve.
* WebKit.vcproj/WebKit.def: Deprecated SetWebLocalizedStringMainBundle.
* WebKit.vcproj/WebKit_debug.def: Ditto.
* WebLocalizableStrings.cpp:
(createWebKitBundle): Changed to only create the bundle once.
(cfBundleForStringsBundle): Added. Code was factored out of
copyLocalizedStringFromBundle. We now use the CFBundleGetMainBundle to
get the main bundle and WebLocalizableStringsBundle's identifier to
fetch the framework's bundle.
(copyLocalizedStringFromBundle): Changed to call
cfBundleForStringsBundle.
(cacheString): Cleaned up logic a bit with an early return.
(SetWebLocalizedStringMainBundle): Moved down with the other
deprecated functions and made into a no-op.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28582
268f45cc-cd09-0410-ab3c-
d52691b4dbfc