Reviewed by Kevin Decker
- fixed <rdar://problem/
4801331> "Spelling..." menu item should be "Show/Hide Spelling" post-Tiger, to match AppKit
* WebView/WebHTMLView.m:
(-[NSArray validateUserInterfaceItem:]):
post-Tiger, update the menu item text to "Show Spelling"/"Hide Spelling" based on whether
the spelling panel is already showing. Also, removed else's after returns, and removed
braces around one-line if clauses.
(-[NSArray showGuessPanel:]):
post-Tiger, make this item hide the spelling panel if it's already showing
* English.lproj/Localizable.strings:
updated for this change
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17274
268f45cc-cd09-0410-ab3c-
d52691b4dbfc