From bf6ee5e129ba5fa4c84a7a3247b666047ac952b8 Mon Sep 17 00:00:00 2001 From: "darin@apple.com" Date: Mon, 16 Mar 2009 23:30:18 +0000 Subject: [PATCH] WebKit: MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2009-03-16 Darin Adler Reviewed by Dan Bernstein. * English.lproj/Localizable.strings: Updated. * StringsNotToBeLocalized.txt: Updated for recent changes. WebKit/mac: 2009-03-16 Darin Adler Reviewed by Dan Bernstein. Rename the text directionality submenus to “Paragraph Direction” and “Selection Direction” * WebCoreSupport/WebViewFactory.mm: (-[WebViewFactory contextMenuItemTagParagraphDirectionMenu]): Changed string here, but only post-Leopard, since we want this to match the Mac OS X menu on Tiger and Leopard. (-[WebViewFactory contextMenuItemTagSelectionDirectionMenu]): Changed string here. WebKit/win: 2009-03-16 Darin Adler Reviewed by Dan Bernstein. Rename the text directionality submenus to “Paragraph Direction” and “Selection Direction” For now, change only the localized strings, not the terminology in the code. * WebCoreLocalizedStrings.cpp: (WebCore::contextMenuItemTagWritingDirectionMenu): Changed string here. (WebCore::contextMenuItemTagTextDirectionMenu): And here. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41750 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebKit/ChangeLog | 7 +++++++ WebKit/English.lproj/Localizable.strings | Bin 31908 -> 32130 bytes WebKit/StringsNotToBeLocalized.txt | 15 +++++++++------ WebKit/mac/ChangeLog | 11 +++++++++++ WebKit/mac/WebCoreSupport/WebViewFactory.mm | 6 +++++- WebKit/win/ChangeLog | 12 ++++++++++++ WebKit/win/WebCoreLocalizedStrings.cpp | 4 ++-- 7 files changed, 46 insertions(+), 9 deletions(-) diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog index 526f88c60ba7..d7d9265bff21 100644 --- a/WebKit/ChangeLog +++ b/WebKit/ChangeLog @@ -1,3 +1,10 @@ +2009-03-16 Darin Adler + + Reviewed by Dan Bernstein. + + * English.lproj/Localizable.strings: Updated. + * StringsNotToBeLocalized.txt: Updated for recent changes. + 2009-03-13 Greg Bolsinga Reviewed by Simon Fraser. diff --git a/WebKit/English.lproj/Localizable.strings b/WebKit/English.lproj/Localizable.strings index 276f64ede1a2d8074c8e1012bc4c166b5418dc65..2bd823c158010cdd3a56f738f0ae0dbe1c8f906f 100644 GIT binary patch delta 164 zcmZ4Tldflw5QbES3Wk!&JeuBc_P=oP$@Q8X QNPOkV{=8b76`d2U05Pr^w*UYD diff --git a/WebKit/StringsNotToBeLocalized.txt b/WebKit/StringsNotToBeLocalized.txt index c3b7cf162db9..07fe28272313 100644 --- a/WebKit/StringsNotToBeLocalized.txt +++ b/WebKit/StringsNotToBeLocalized.txt @@ -43,6 +43,7 @@ "," "-" "-1px" +"-createPluginMIMETypesPreferences" "-khtml-text-decorations-in-effect" "." "._" @@ -104,9 +105,6 @@ "BEGIN:VCARD" "BP_CreatePluginMIMETypesPreferences" "CFDictionaryPropertyBag" -"CFNetwork" -"CFNetwork_debug" -"CFURLCacheCopySharedURLCache" "CSS" "Content-Encoding" "Content-Length" @@ -405,6 +403,7 @@ "\n--------------------------------------------\n" "\r" "\xFF\xD8\xFF\xE0" +"_isUsingAcceleratedCompositing" "_top" "a" "ab" @@ -441,6 +440,7 @@ "com.adobe.dreamweaver-9.0" "com.apple.Aperture" "com.apple.AppKit" +"com.apple.Automator" "com.apple.Dictionary" "com.apple.HIWebView" "com.apple.JavaAppletPlugin" @@ -546,6 +546,7 @@ "userAgent" "utf-16" "vImagePermuteChannels_ARGB8888" +"visibleName" "visitCount" "webkit-fake-url" "webplugin" @@ -570,16 +571,16 @@ WebKit/mac/Plugins/Hosted/HostedNetscapePluginStream.mm:" OK\n" WebKit/mac/Plugins/Hosted/HostedNetscapePluginStream.mm:": " WebKit/mac/Plugins/Hosted/HostedNetscapePluginStream.mm:"HTTP " WebKit/mac/Plugins/Hosted/HostedNetscapePluginStream.mm:"identity" +WebKit/mac/Plugins/Hosted/NetscapePluginHostManager.mm:"%@ Plug-in Host - %@" WebKit/mac/Plugins/WebBaseNetscapePluginStream.mm:" OK\n" WebKit/mac/Plugins/WebBaseNetscapePluginStream.mm:": " WebKit/mac/Plugins/WebBaseNetscapePluginStream.mm:"HTTP " WebKit/mac/Plugins/WebBaseNetscapePluginStream.mm:"identity" WebKit/mac/Plugins/WebBasePluginPackage.mm:"Java Applet Plugin Enabler" -WebKit/mac/Plugins/WebNetscapePluginPackage.m:"RealPlayer Plugin" -WebKit/mac/Plugins/WebNetscapePluginPackage.m:"main" +WebKit/mac/Plugins/WebNetscapePluginPackage.mm:"RealPlayer Plugin" +WebKit/mac/Plugins/WebNetscapePluginPackage.mm:"main" WebKit/mac/Plugins/WebNetscapePluginView.mm:"height" WebKit/mac/Plugins/WebNetscapePluginView.mm:"width" -WebKit/mac/Plugins/nptextinput.h WebKit/mac/WebCoreSupport/WebChromeClient.mm:"dialog" WebKit/mac/WebCoreSupport/WebChromeClient.mm:"fullscreen" WebKit/mac/WebCoreSupport/WebChromeClient.mm:"height" @@ -610,6 +611,8 @@ WebKit/mac/WebView/WebHTMLView.mm:"direction" WebKit/mac/WebView/WebHTMLView.mm:"font" WebKit/mac/WebView/WebHTMLView.mm:"head" WebKit/mac/WebView/WebHTMLView.mm:"italic" +WebKit/mac/WebView/WebHTMLView.mm:"jpeg" +WebKit/mac/WebView/WebHTMLView.mm:"jpg" WebKit/mac/WebView/WebHTMLView.mm:"menu" WebKit/mac/WebView/WebHTMLView.mm:"none" WebKit/mac/WebView/WebHTMLView.mm:"normal" diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog index 98e39e5f635f..d4c93cd28cb7 100644 --- a/WebKit/mac/ChangeLog +++ b/WebKit/mac/ChangeLog @@ -1,3 +1,14 @@ +2009-03-16 Darin Adler + + Reviewed by Dan Bernstein. + + Rename the text directionality submenus to “Paragraph Direction” and “Selection Direction” + + * WebCoreSupport/WebViewFactory.mm: + (-[WebViewFactory contextMenuItemTagParagraphDirectionMenu]): Changed string here, but only + post-Leopard, since we want this to match the Mac OS X menu on Tiger and Leopard. + (-[WebViewFactory contextMenuItemTagSelectionDirectionMenu]): Changed string here. + 2009-03-16 Anders Carlsson Reviewed by Oliver Hunt. diff --git a/WebKit/mac/WebCoreSupport/WebViewFactory.mm b/WebKit/mac/WebCoreSupport/WebViewFactory.mm index 9ccdfff03d27..ea82acca975c 100644 --- a/WebKit/mac/WebCoreSupport/WebViewFactory.mm +++ b/WebKit/mac/WebCoreSupport/WebViewFactory.mm @@ -341,12 +341,16 @@ - (NSString *)contextMenuItemTagWritingDirectionMenu { +#if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) + return UI_STRING("Paragraph Direction", "Paragraph direction context sub-menu item"); +#else return UI_STRING("Writing Direction", "Writing direction context sub-menu item"); +#endif } - (NSString *)contextMenuItemTagTextDirectionMenu { - return UI_STRING("Text Direction", "Text direction context sub-menu item"); + return UI_STRING("Selection Direction", "Selection direction context sub-menu item"); } - (NSString *)contextMenuItemTagDefaultDirection diff --git a/WebKit/win/ChangeLog b/WebKit/win/ChangeLog index f8ac9404b35b..98411cd3868a 100644 --- a/WebKit/win/ChangeLog +++ b/WebKit/win/ChangeLog @@ -1,3 +1,15 @@ +2009-03-16 Darin Adler + + Reviewed by Dan Bernstein. + + Rename the text directionality submenus to “Paragraph Direction” and “Selection Direction” + + For now, change only the localized strings, not the terminology in the code. + + * WebCoreLocalizedStrings.cpp: + (WebCore::contextMenuItemTagWritingDirectionMenu): Changed string here. + (WebCore::contextMenuItemTagTextDirectionMenu): And here. + 2009-03-16 Adam Roben Add IWebFramePrivate::isDisplayingStandaloneImage diff --git a/WebKit/win/WebCoreLocalizedStrings.cpp b/WebKit/win/WebCoreLocalizedStrings.cpp index 21dc35d528dd..c3838184f6f5 100644 --- a/WebKit/win/WebCoreLocalizedStrings.cpp +++ b/WebKit/win/WebCoreLocalizedStrings.cpp @@ -68,8 +68,8 @@ String WebCore::contextMenuItemTagBold() { return String(LPCTSTR_UI_STRING("Bold String WebCore::contextMenuItemTagItalic() { return String(LPCTSTR_UI_STRING("Italic", "Italic context menu item")); } String WebCore::contextMenuItemTagUnderline() { return String(LPCTSTR_UI_STRING("Underline", "Underline context menu item")); } String WebCore::contextMenuItemTagOutline() { return String(LPCTSTR_UI_STRING("Outline", "Outline context menu item")); } -String WebCore::contextMenuItemTagWritingDirectionMenu() { return String(LPCTSTR_UI_STRING("Writing Direction", "Writing direction context sub-menu item")); } -String WebCore::contextMenuItemTagTextDirectionMenu() { return String(LPCTSTR_UI_STRING("Text Direction", "Text direction context sub-menu item")); } +String WebCore::contextMenuItemTagWritingDirectionMenu() { return String(LPCTSTR_UI_STRING("Paragraph Direction", "Paragraph direction context sub-menu item")); } +String WebCore::contextMenuItemTagTextDirectionMenu() { return String(LPCTSTR_UI_STRING("Selection Direction", "Selection direction context sub-menu item")); } String WebCore::contextMenuItemTagDefaultDirection() { return String(LPCTSTR_UI_STRING("Default", "Default writing direction context menu item")); } String WebCore::contextMenuItemTagLeftToRight() { return String(LPCTSTR_UI_STRING("Left to Right", "Left to Right context menu item")); } String WebCore::contextMenuItemTagRightToLeft() { return String(LPCTSTR_UI_STRING("Right to Left", "Right to Left context menu item")); } -- 2.36.0