Home | History | Annotate | Download | only in platform
      1 /*
      2  * Copyright (C) 2003, 2006, 2009, 2011, 2012, 2013 Apple Inc.  All rights reserved.
      3  * Copyright (C) 2010 Igalia S.L
      4  *
      5  * Redistribution and use in source and binary forms, with or without
      6  * modification, are permitted provided that the following conditions
      7  * are met:
      8  * 1. Redistributions of source code must retain the above copyright
      9  *    notice, this list of conditions and the following disclaimer.
     10  * 2. Redistributions in binary form must reproduce the above copyright
     11  *    notice, this list of conditions and the following disclaimer in the
     12  *    documentation and/or other materials provided with the distribution.
     13  *
     14  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
     15  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     16  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     17  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
     18  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     19  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     20  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
     21  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
     22  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     23  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     24  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     25  */
     26 
     27 #ifndef LocalizedStrings_h
     28 #define LocalizedStrings_h
     29 
     30 #include "wtf/Forward.h"
     31 
     32 namespace WebCore {
     33 
     34     class IntSize;
     35 
     36     String inputElementAltText();
     37     String resetButtonDefaultLabel();
     38     String searchableIndexIntroduction();
     39     String submitButtonDefaultLabel();
     40     String fileButtonChooseFileLabel();
     41     String fileButtonChooseMultipleFilesLabel();
     42     String fileButtonNoFileSelectedLabel();
     43     String fileButtonNoFilesSelectedLabel();
     44     String defaultDetailsSummaryText();
     45 
     46     String searchMenuNoRecentSearchesText();
     47     String searchMenuRecentSearchesText();
     48     String searchMenuClearRecentSearchesText();
     49 
     50     String AXWebAreaText();
     51     String AXLinkText();
     52     String AXListMarkerText();
     53     String AXImageMapText();
     54     String AXHeadingText();
     55     String AXFileUploadButtonText();
     56     String AXButtonActionVerb();
     57     String AXRadioButtonActionVerb();
     58     String AXTextFieldActionVerb();
     59     String AXCheckedCheckBoxActionVerb();
     60     String AXUncheckedCheckBoxActionVerb();
     61     String AXMenuListActionVerb();
     62     String AXMenuListPopupActionVerb();
     63     String AXLinkActionVerb();
     64 
     65 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
     66     String AXAMPMFieldText();
     67     String AXDayOfMonthFieldText();
     68     String AXDateTimeFieldEmptyValueText();
     69     String AXHourFieldText();
     70     String AXMillisecondFieldText();
     71     String AXMinuteFieldText();
     72     String AXMonthFieldText();
     73     String AXSecondFieldText();
     74     String AXWeekOfYearFieldText();
     75     String AXYearFieldText();
     76 
     77     // placeholderForDayOfMonthField() returns localized placeholder text, e.g.
     78     // "dd", for date field used in multiple fields "date", "datetime", and
     79     // "datetime-local" input UI instead "--".
     80     String placeholderForDayOfMonthField();
     81 
     82     // placeholderForfMonthField() returns localized placeholder text, e.g.
     83     // "mm", for month field used in multiple fields "date", "datetime", and
     84     // "datetime-local" input UI instead "--".
     85     String placeholderForMonthField();
     86 
     87     // placeholderForYearField() returns localized placeholder text, e.g.
     88     // "yyyy", for year field used in multiple fields "date", "datetime", and
     89     // "datetime-local" input UI instead "----".
     90     String placeholderForYearField();
     91 #endif
     92     // weekFormatInLDML() returns week and year format in LDML, Unicode
     93     // technical standard 35, Locale Data Markup Language, e.g. "'Week' ww, yyyy"
     94     String weekFormatInLDML();
     95 
     96     String missingPluginText();
     97     String blockedPluginByContentSecurityPolicyText();
     98 
     99     String multipleFileUploadText(unsigned numberOfFiles);
    100 
    101     String imageTitle(const String& filename, const IntSize& size);
    102 
    103     String localizedMediaControlElementString(const String&);
    104     String localizedMediaControlElementHelpText(const String&);
    105     String localizedMediaTimeDescription(float);
    106 
    107     String validationMessageValueMissingText();
    108     String validationMessageValueMissingForCheckboxText();
    109     String validationMessageValueMissingForFileText();
    110     String validationMessageValueMissingForMultipleFileText();
    111     String validationMessageValueMissingForRadioText();
    112     String validationMessageValueMissingForSelectText();
    113     String validationMessageTypeMismatchText();
    114     String validationMessageTypeMismatchForEmailText();
    115     String validationMessageTypeMismatchForMultipleEmailText();
    116     String validationMessageTypeMismatchForURLText();
    117     String validationMessagePatternMismatchText();
    118     String validationMessageTooLongText(int valueLength, int maxLength);
    119     String validationMessageRangeUnderflowText(const String& minimum);
    120     String validationMessageRangeOverflowText(const String& maximum);
    121     String validationMessageStepMismatchText(const String& base, const String& step);
    122     String validationMessageBadInputForNumberText();
    123 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
    124     String validationMessageBadInputForDateTimeText();
    125 #endif
    126 
    127     String clickToExitFullScreenText();
    128 
    129     String textTrackSubtitlesText();
    130     String textTrackOffText();
    131     String textTrackNoLabelText();
    132 
    133 } // namespace WebCore
    134 
    135 #endif // LocalizedStrings_h
    136