WebCore:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Feb 2007 23:08:47 +0000 (23:08 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Feb 2007 23:08:47 +0000 (23:08 +0000)
commite286018ed94cb1d57188fc9b84186a20961391d8
tree6a28cb8034abf065d2ca50b9fac0856e2bb9fe4e
parent4e66b2eef69c9c89d5792d50dc3aae7cf4b39011
WebCore:

        Reviewed by Beth.

        Fix for <rdar://problem/4887423> REGRESSION: search results popup menu strings are not localized
        and <rdar://problem/3517227> accessibility-related strings in WebCore are not localized

        Use localized strings from WebKit instead of hard coded strings.

        * bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject roleDescription]):
        * page/mac/WebCoreViewFactory.h:
        * platform/LocalizedStrings.h:
        * platform/mac/LocalizedStringsMac.mm:
        (WebCore::searchMenuNoRecentSearchesText):
        (WebCore::searchMenuRecentSearchesText):
        (WebCore::searchMenuClearRecentSearchesText):
        (WebCore::AXWebAreaText):
        (WebCore::AXLinkText):
        (WebCore::AXListMarkerText):
        (WebCore::AXImageMapText):
        (WebCore::AXHeadingText):
        * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::itemText):

WebKit:

        Reviewed by Beth.

        Fix for <rdar://problem/4887423> REGRESSION: search results popup menu strings are not localized
        and <rdar://problem/3517227> accessibility-related strings in WebCore are not localized

        * WebCoreSupport/WebViewFactory.mm:
        (-[WebViewFactory searchMenuNoRecentSearchesText]):
        (-[WebViewFactory searchMenuRecentSearchesText]):
        (-[WebViewFactory searchMenuClearRecentSearchesText]):
        (-[WebViewFactory AXWebAreaText]):
        (-[WebViewFactory AXLinkText]):
        (-[WebViewFactory AXListMarkerText]):
        (-[WebViewFactory AXImageMapText]):
        (-[WebViewFactory AXHeadingText]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bridge/mac/WebCoreAXObject.mm
WebCore/page/mac/WebCoreViewFactory.h
WebCore/platform/LocalizedStrings.h
WebCore/platform/mac/LocalizedStringsMac.mm
WebCore/rendering/RenderTextControl.cpp
WebKit/ChangeLog
WebKit/WebCoreSupport/WebViewFactory.mm