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 String contextMenuItemTagCorrectSpellingAutomatically(); 92 String contextMenuItemTagSubstitutionsMenu(); 93 String contextMenuItemTagShowSubstitutions(bool show); 94 String contextMenuItemTagSmartCopyPaste(); 95 String contextMenuItemTagSmartQuotes(); 96 String contextMenuItemTagSmartDashes(); 97 String contextMenuItemTagSmartLinks(); 98 String contextMenuItemTagTextReplacement(); 99 String contextMenuItemTagTransformationsMenu(); 100 String contextMenuItemTagMakeUpperCase(); 101 String contextMenuItemTagMakeLowerCase(); 102 String contextMenuItemTagCapitalize(); 103 String contextMenuItemTagChangeBack(const String& replacedString); 104 #endif 105 String contextMenuItemTagInspectElement(); 106 107 String searchMenuNoRecentSearchesText(); 108 String searchMenuRecentSearchesText(); 109 String searchMenuClearRecentSearchesText(); 110 111 String AXWebAreaText(); 112 String AXLinkText(); 113 String AXListMarkerText(); 114 String AXImageMapText(); 115 String AXHeadingText(); 116 String AXDefinitionListTermText(); 117 String AXDefinitionListDefinitionText(); 118 119 String AXButtonActionVerb(); 120 String AXRadioButtonActionVerb(); 121 String AXTextFieldActionVerb(); 122 String AXCheckedCheckBoxActionVerb(); 123 String AXUncheckedCheckBoxActionVerb(); 124 String AXLinkActionVerb(); 125 126 String multipleFileUploadText(unsigned numberOfFiles); 127 String unknownFileSizeText(); 128 129 #if PLATFORM(WIN) 130 String uploadFileText(); 131 String allFilesText(); 132 #endif 133 134 String imageTitle(const String& filename, const IntSize& size); 135 136 String mediaElementLoadingStateText(); 137 String mediaElementLiveBroadcastStateText(); 138 } 139 140 #endif 141