You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reviewed by Maciej Stachowiak.
Make mac WebKit1 use the default localization strategy
https://bugs.webkit.org/show_bug.cgi?id=58628
* WebCoreSupport/WebPlatformStrategies.h:
* WebCoreSupport/WebPlatformStrategies.mm:
Remove the localization strategy code. The equivalent is now
in WebCore/platform/DefaultLocalizationStrategy.cpp.
2011-04-15 Sam Weinig <sam@webkit.org>
Reviewed by Maciej Stachowiak.
Make mac WebKit1 use the default localization strategy
https://bugs.webkit.org/show_bug.cgi?id=58628
* English.lproj/Localizable.strings:
Update by running update-webkit-localizable-strings.
* platform/DefaultLocalizationStrategy.cpp:
(WebCore::DefaultLocalizationStrategy::contextMenuItemTagLookUpInDictionary):
(WebCore::DefaultLocalizationStrategy::keygenKeychainItemName):
(WebCore::DefaultLocalizationStrategy::imageTitle):
Match the WebKit1 versions of these functions by special casing CF platforms.
Canonical link: https://commits.webkit.org/73739@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
// FIXME: This should format the numbers correctly. In Mac WebKit, we used +[NSNumberFormatter localizedStringFromNumber:numberStyle:].
714
-
returnformatLocalizedString(WEB_UI_STRING("<filename> %d×%d pixels", "window title suffix for a standalone image (uses multiplication symbol, not x)"), size.width(), size.height()).replace("<filename>", filename);
returnformatLocalizedString(WEB_UI_STRING("%@ %@×%@ pixels", "window title for a standalone image (uses multiplication symbol, not x)"), filenameCFString.get(), widthString.get(), heightString.get());
returnformatLocalizedString(WEB_UI_STRING("%@ %d×%d pixels", "window title for a standalone image (uses multiplication symbol, not x)"), filenameCFString.get(), size.width(), size.height());
737
+
#endif
738
+
#else
739
+
returnformatLocalizedString(WEB_UI_STRING("<filename> %d×%d pixels", "window title for a standalone image (uses multiplication symbol, not x)"), size.width(), size.height()).replace("<filename>", filename);
0 commit comments