[webkit-changes] [WebKit/WebKit] 62c199: [Win] Reimplement LocalizedStrings.cpp without CF
Fujii Hironori
noreply at github.com
Wed Feb 22 15:15:04 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 62c199983aead46a9bcef25c66a41071713ceddd
https://github.com/WebKit/WebKit/commit/62c199983aead46a9bcef25c66a41071713ceddd
Author: Fujii Hironori <Hironori.Fujii at sony.com>
Date: 2023-02-22 (Wed, 22 Feb 2023)
Changed paths:
M Source/WebCore/platform/LocalizedStrings.cpp
M Source/WebCore/platform/LocalizedStrings.h
Log Message:
-----------
[Win] Reimplement LocalizedStrings.cpp without CF
https://bugs.webkit.org/show_bug.cgi?id=252728
Reviewed by Alex Christensen.
Implement formatLocalizedString with _vsnwprintf. Some functions are
called only by Cocoa ports. Conditioned out them with #if
PLATFORM(COCOA).
* Source/WebCore/platform/LocalizedStrings.cpp:
(WebCore::formatLocalizedString):
(WebCore::webCoreBundle):
(WebCore::copyLocalizedString):
(WebCore::localizedString):
(WebCore::imageTitle):
(WebCore::validationMessageRangeUnderflowText):
(WebCore::validationMessageRangeOverflowText):
* Source/WebCore/platform/LocalizedStrings.h:
Canonical link: https://commits.webkit.org/260705@main
More information about the webkit-changes
mailing list