WebCore/platform/LocalizedStrings.h
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 /*
       
     2  * Copyright (C) 2003, 2006, 2009 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 #if ENABLE(CONTEXT_MENUS)
       
    42     String contextMenuItemTagOpenLinkInNewWindow();
       
    43     String contextMenuItemTagDownloadLinkToDisk();
       
    44     String contextMenuItemTagCopyLinkToClipboard();
       
    45     String contextMenuItemTagOpenImageInNewWindow();
       
    46     String contextMenuItemTagDownloadImageToDisk();
       
    47     String contextMenuItemTagCopyImageToClipboard();
       
    48     String contextMenuItemTagOpenFrameInNewWindow();
       
    49     String contextMenuItemTagCopy();
       
    50     String contextMenuItemTagGoBack();
       
    51     String contextMenuItemTagGoForward();
       
    52     String contextMenuItemTagStop();
       
    53     String contextMenuItemTagReload();
       
    54     String contextMenuItemTagCut();
       
    55     String contextMenuItemTagPaste();
       
    56 #if PLATFORM(GTK)
       
    57     String contextMenuItemTagDelete();
       
    58     String contextMenuItemTagSelectAll();
       
    59     String contextMenuItemTagInputMethods();
       
    60     String contextMenuItemTagUnicode();
       
    61 #endif
       
    62     String contextMenuItemTagNoGuessesFound();
       
    63     String contextMenuItemTagIgnoreSpelling();
       
    64     String contextMenuItemTagLearnSpelling();
       
    65     String contextMenuItemTagSearchWeb();
       
    66     String contextMenuItemTagLookUpInDictionary();
       
    67     String contextMenuItemTagOpenLink();
       
    68     String contextMenuItemTagIgnoreGrammar();
       
    69     String contextMenuItemTagSpellingMenu();
       
    70     String contextMenuItemTagShowSpellingPanel(bool show);
       
    71     String contextMenuItemTagCheckSpelling();
       
    72     String contextMenuItemTagCheckSpellingWhileTyping();
       
    73     String contextMenuItemTagCheckGrammarWithSpelling();
       
    74     String contextMenuItemTagFontMenu();
       
    75     String contextMenuItemTagBold();
       
    76     String contextMenuItemTagItalic();
       
    77     String contextMenuItemTagUnderline();
       
    78     String contextMenuItemTagOutline();
       
    79     String contextMenuItemTagWritingDirectionMenu();
       
    80     String contextMenuItemTagTextDirectionMenu();
       
    81     String contextMenuItemTagDefaultDirection();
       
    82     String contextMenuItemTagLeftToRight();
       
    83     String contextMenuItemTagRightToLeft();
       
    84 #if PLATFORM(MAC)
       
    85     String contextMenuItemTagSearchInSpotlight();
       
    86     String contextMenuItemTagShowFonts();
       
    87     String contextMenuItemTagStyles();
       
    88     String contextMenuItemTagShowColors();
       
    89     String contextMenuItemTagSpeechMenu();
       
    90     String contextMenuItemTagStartSpeaking();
       
    91     String contextMenuItemTagStopSpeaking();
       
    92     String contextMenuItemTagCorrectSpellingAutomatically();
       
    93     String contextMenuItemTagSubstitutionsMenu();
       
    94     String contextMenuItemTagShowSubstitutions(bool show);
       
    95     String contextMenuItemTagSmartCopyPaste();
       
    96     String contextMenuItemTagSmartQuotes();
       
    97     String contextMenuItemTagSmartDashes();
       
    98     String contextMenuItemTagSmartLinks();
       
    99     String contextMenuItemTagTextReplacement();
       
   100     String contextMenuItemTagTransformationsMenu();
       
   101     String contextMenuItemTagMakeUpperCase();
       
   102     String contextMenuItemTagMakeLowerCase();
       
   103     String contextMenuItemTagCapitalize();
       
   104     String contextMenuItemTagChangeBack(const String& replacedString);
       
   105 #endif
       
   106     String contextMenuItemTagInspectElement();
       
   107 #endif // ENABLE(CONTEXT_MENUS)
       
   108 
       
   109     String searchMenuNoRecentSearchesText();
       
   110     String searchMenuRecentSearchesText();
       
   111     String searchMenuClearRecentSearchesText();
       
   112 
       
   113     String AXWebAreaText();
       
   114     String AXLinkText();
       
   115     String AXListMarkerText();
       
   116     String AXImageMapText();
       
   117     String AXHeadingText();
       
   118     String AXDefinitionListTermText();
       
   119     String AXDefinitionListDefinitionText();
       
   120     String AXARIAContentGroupText(const String& ariaType);
       
   121     
       
   122     String AXButtonActionVerb();
       
   123     String AXRadioButtonActionVerb();
       
   124     String AXTextFieldActionVerb();
       
   125     String AXCheckedCheckBoxActionVerb();
       
   126     String AXUncheckedCheckBoxActionVerb();
       
   127     String AXMenuListActionVerb();
       
   128     String AXMenuListPopupActionVerb();
       
   129     String AXLinkActionVerb();
       
   130 
       
   131     String missingPluginText();
       
   132     String crashedPluginText();
       
   133     String multipleFileUploadText(unsigned numberOfFiles);
       
   134     String unknownFileSizeText();
       
   135 
       
   136 #if PLATFORM(WIN)
       
   137     String uploadFileText();
       
   138     String allFilesText();
       
   139 #endif
       
   140 
       
   141     String imageTitle(const String& filename, const IntSize& size);
       
   142 
       
   143     String mediaElementLoadingStateText();
       
   144     String mediaElementLiveBroadcastStateText();
       
   145     String localizedMediaControlElementString(const String&);
       
   146     String localizedMediaControlElementHelpText(const String&);
       
   147     String localizedMediaTimeDescription(float);
       
   148 
       
   149     String validationMessageValueMissingText();
       
   150     String validationMessageTypeMismatchText();
       
   151     String validationMessagePatternMismatchText();
       
   152     String validationMessageTooLongText();
       
   153     String validationMessageRangeUnderflowText();
       
   154     String validationMessageRangeOverflowText();
       
   155     String validationMessageStepMismatchText();
       
   156 
       
   157 }
       
   158 
       
   159 #endif