/* * Copyright (C) 2007 Kevin Ollivier * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "config.h" #include "LocalizedStrings.h" #include "NotImplemented.h" #include "PlatformString.h" namespace WebCore { String submitButtonDefaultLabel() { return String("Submit"); } String inputElementAltText() { return String(); } String resetButtonDefaultLabel() { return String("Reset"); } String defaultDetailsSummaryText() { return String("Details"); } String platformDefaultLanguage() { return String("en"); } String searchableIndexIntroduction() { return String("Searchable Index"); } String fileButtonChooseFileLabel() { return String("Choose File"); } String fileButtonNoFileSelectedLabel() { return String("No file selected"); } String contextMenuItemTagOpenLinkInNewWindow() { return String("Open Link in New Window"); } String contextMenuItemTagDownloadLinkToDisk() { return String("Download Link to Disk"); } String contextMenuItemTagCopyLinkToClipboard() { return String("Copy Link to Clipboard"); } String contextMenuItemTagOpenImageInNewWindow() { return String("Open Image in New Window"); } String contextMenuItemTagDownloadImageToDisk() { return String("Download Image to Disk"); } String contextMenuItemTagCopyImageToClipboard() { return String("Copy Image to Clipboard"); } String contextMenuItemTagOpenVideoInNewWindow() { return String("Open Video in New Window"); } String contextMenuItemTagOpenAudioInNewWindow() { return String("Open Audio in New Window"); } String contextMenuItemTagCopyVideoLinkToClipboard() { return String("Copy Video Link Location"); } String contextMenuItemTagCopyAudioLinkToClipboard() { return String("Copy Audio Link Location"); } String contextMenuItemTagToggleMediaControls() { return String("Toggle Media Controls"); } String contextMenuItemTagToggleMediaLoop() { return String("Toggle Media Loop Playback"); } String contextMenuItemTagEnterVideoFullscreen() { return String("Switch Video to Fullscreen"); } String contextMenuItemTagMediaPlay() { return String("Play"); } String contextMenuItemTagMediaPause() { return String("Pause"); } String contextMenuItemTagMediaMute() { return String("Mute"); } String contextMenuItemTagOpenFrameInNewWindow() { return String("Open Frame in New Window"); } String contextMenuItemTagCopy() { return String("Copy"); } String contextMenuItemTagGoBack() { return String("Go Back"); } String contextMenuItemTagGoForward() { return String("Go Forward"); } String contextMenuItemTagStop() { return String("Stop"); } String contextMenuItemTagReload() { return String("Reload"); } String contextMenuItemTagCut() { return String("Cut"); } String contextMenuItemTagPaste() { return String("Paste"); } String contextMenuItemTagNoGuessesFound() { return String("No Guesses Found"); } String contextMenuItemTagIgnoreSpelling() { return String("Ignore Spelling"); } String contextMenuItemTagLearnSpelling() { return String("Learn Spelling"); } String contextMenuItemTagSearchWeb() { return String("Search Web"); } String contextMenuItemTagLookUpInDictionary(const String&) { return String("Look Up in Dictionary"); } String contextMenuItemTagOpenLink() { return String("Open Link"); } String contextMenuItemTagIgnoreGrammar() { return String("Ignore Grammar"); } String contextMenuItemTagSpellingMenu() { return String("Spelling"); } String contextMenuItemTagShowSpellingPanel(bool show) { return String("Show Spelling Panel"); } String contextMenuItemTagCheckSpelling() { return String("Check Spelling"); } String contextMenuItemTagCheckSpellingWhileTyping() { return String("Check Spelling While Typing"); } String contextMenuItemTagCheckGrammarWithSpelling() { return String("Check Grammar with Spelling"); } String contextMenuItemTagFontMenu() { return String("Font"); } String contextMenuItemTagBold() { return String("Bold"); } String contextMenuItemTagItalic() { return String("Italic"); } String contextMenuItemTagUnderline() { return String("Underline"); } String contextMenuItemTagOutline() { return String("Outline"); } String contextMenuItemTagWritingDirectionMenu() { return String("Writing Direction"); } String contextMenuItemTagTextDirectionMenu() { return String("Text Direction"); } String contextMenuItemTagDefaultDirection() { return String("Default Direction"); } String contextMenuItemTagLeftToRight() { return String("Left to Right"); } String contextMenuItemTagRightToLeft() { return String("Right to Left"); } String searchMenuNoRecentSearchesText() { return String("No recent searches"); } String searchMenuRecentSearchesText() { return String("Recent searches"); } String searchMenuClearRecentSearchesText() { return String("Clear recent searches"); } String contextMenuItemTagInspectElement() { return String("Inspect Element"); } String multipleFileUploadText(unsigned numberOfFiles) { // FIXME: If this file gets localized, this should really be localized as one string with a wildcard for the number. return String::number(numberOfFiles) + String(" files"); } String unknownFileSizeText() { return String("Unknown"); } String imageTitle(const String& filename, const IntSize& size) { return String(); } // accessibility related strings String AXButtonActionVerb() { return String(); } String AXRadioButtonActionVerb() { return String(); } String AXTextFieldActionVerb() { return String(); } String AXCheckedCheckBoxActionVerb() { return String(); } String AXUncheckedCheckBoxActionVerb() { return String(); } String AXLinkActionVerb() { return String(); } String AXDefinitionListTermText() { return String(); } String AXDefinitionListDefinitionText() { return String(); } String AXMenuListPopupActionVerb() { return String(); } String AXMenuListActionVerb() { return String(); } String validationMessageValueMissingText() { notImplemented(); return String(); } String validationMessageValueMissingForCheckboxText() { notImplemented(); return validationMessageValueMissingText(); } String validationMessageValueMissingForFileText() { notImplemented(); return validationMessageValueMissingText(); } String validationMessageValueMissingForMultipleFileText() { notImplemented(); return validationMessageValueMissingText(); } String validationMessageValueMissingForRadioText() { notImplemented(); return validationMessageValueMissingText(); } String validationMessageValueMissingForSelectText() { notImplemented(); return validationMessageValueMissingText(); } String validationMessageTypeMismatchText() { notImplemented(); return String(); } String validationMessageTypeMismatchForEmailText() { notImplemented(); return validationMessageTypeMismatchText(); } String validationMessageTypeMismatchForMultipleEmailText() { notImplemented(); return validationMessageTypeMismatchText(); } String validationMessageTypeMismatchForURLText() { notImplemented(); return validationMessageTypeMismatchText(); } String validationMessagePatternMismatchText() { notImplemented(); return String(); } String validationMessageTooLongText(int, int) { notImplemented(); return String(); } String validationMessageRangeUnderflowText(const String&) { notImplemented(); return String(); } String validationMessageRangeOverflowText(const String&) { notImplemented(); return String(); } String validationMessageStepMismatchText(const String&, const String&) { notImplemented(); return String(); } String missingPluginText() { notImplemented(); return String("Missing Plug-in"); } String crashedPluginText() { notImplemented(); return String("Plug-in Failure"); } } // namespace WebCore