1 /* 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. 9 * 2. Redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution. 12 * 13 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 20 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26 #ifndef LocalizedStrings_h 27 #define LocalizedStrings_h 28 29 namespace WebCore { 30 31 class String; 32 class IntSize; 33 34 String inputElementAltText(); 35 String resetButtonDefaultLabel(); 36 String searchableIndexIntroduction(); 37 String submitButtonDefaultLabel(); 38 String fileButtonChooseFileLabel(); 39 String fileButtonNoFileSelectedLabel(); 40 String copyImageUnknownFileLabel(); 41 String contextMenuItemTagOpenLinkInNewWindow(); 42 String contextMenuItemTagDownloadLinkToDisk(); 43 String contextMenuItemTagCopyLinkToClipboard(); 44 String contextMenuItemTagOpenImageInNewWindow(); 45 String contextMenuItemTagDownloadImageToDisk(); 46 String contextMenuItemTagCopyImageToClipboard(); 47 String contextMenuItemTagOpenFrameInNewWindow(); 48 String contextMenuItemTagCopy(); 49 String contextMenuItemTagGoBack(); 50 String contextMenuItemTagGoForward(); 51 String contextMenuItemTagStop(); 52 String contextMenuItemTagReload(); 53 String contextMenuItemTagCut(); 54 String contextMenuItemTagPaste(); 55 #if PLATFORM(GTK) 56 String contextMenuItemTagDelete(); 57 String contextMenuItemTagSelectAll(); 58 String contextMenuItemTagInputMethods(); 59 String contextMenuItemTagUnicode(); 60 #endif 61 String contextMenuItemTagNoGuessesFound(); 62 String contextMenuItemTagIgnoreSpelling(); 63 String contextMenuItemTagLearnSpelling(); 64 String contextMenuItemTagSearchWeb(); 65 String contextMenuItemTagLookUpInDictionary(); 66 String contextMenuItemTagOpenLink(); 67 String contextMenuItemTagIgnoreGrammar(); 68 String contextMenuItemTagSpellingMenu(); 69 String contextMenuItemTagShowSpellingPanel(bool show); 70 String contextMenuItemTagCheckSpelling(); 71 String contextMenuItemTagCheckSpellingWhileTyping(); 72 String contextMenuItemTagCheckGrammarWithSpelling(); 73 String contextMenuItemTagFontMenu(); 74 String contextMenuItemTagBold(); 75 String contextMenuItemTagItalic(); 76 String contextMenuItemTagUnderline(); 77 String contextMenuItemTagOutline(); 78 String contextMenuItemTagWritingDirectionMenu(); 79 String contextMenuItemTagTextDirectionMenu(); 80 String contextMenuItemTagDefaultDirection(); 81 String contextMenuItemTagLeftToRight(); 82 String contextMenuItemTagRightToLeft(); 83 #if PLATFORM(MAC) 84 String contextMenuItemTagSearchInSpotlight(); 85 String contextMenuItemTagShowFonts(); 86 String contextMenuItemTagStyles(); 87 String contextMenuItemTagShowColors(); 88 String contextMenuItemTagSpeechMenu(); 89 String contextMenuItemTagStartSpeaking(); 90 String contextMenuItemTagStopSpeaking(); 91 #endif 92 String contextMenuItemTagInspectElement(); 93 94 String searchMenuNoRecentSearchesText(); 95 String searchMenuRecentSearchesText(); 96 String searchMenuClearRecentSearchesText(); 97 98 String AXWebAreaText(); 99 String AXLinkText(); 100 String AXListMarkerText(); 101 String AXImageMapText(); 102 String AXHeadingText(); 103 String AXDefinitionListTermText(); 104 String AXDefinitionListDefinitionText(); 105 106 String AXButtonActionVerb(); 107 String AXRadioButtonActionVerb(); 108 String AXTextFieldActionVerb(); 109 String AXCheckedCheckBoxActionVerb(); 110 String AXUncheckedCheckBoxActionVerb(); 111 String AXLinkActionVerb(); 112 113 String multipleFileUploadText(unsigned numberOfFiles); 114 String unknownFileSizeText(); 115 116 #if PLATFORM(WIN) 117 String uploadFileText(); 118 String allFilesText(); 119 #endif 120 121 String imageTitle(const String& filename, const IntSize& size); 122 } 123 124 #endif 125