WebKit/win/WebCoreLocalizedStrings.cpp
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 /*
       
     2  * Copyright (C) 2007 Apple 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 #include "config.h"
       
    27 #include "WebLocalizableStrings.h"
       
    28 #include <WebCore/IntSize.h>
       
    29 #include <WebCore/LocalizedStrings.h>
       
    30 #include <WebCore/PlatformString.h>
       
    31 #include <wtf/MathExtras.h>
       
    32 #include <wtf/RetainPtr.h>
       
    33 
       
    34 using namespace WebCore;
       
    35 
       
    36 String WebCore::searchableIndexIntroduction() { return String(LPCTSTR_UI_STRING("This is a searchable index. Enter search keywords: ", "text that appears at the start of nearly-obsolete web pages in the form of a 'searchable index'")); }
       
    37 String WebCore::submitButtonDefaultLabel() { return String(LPCTSTR_UI_STRING("Submit", "default label for Submit buttons in forms on web pages")); }
       
    38 String WebCore::inputElementAltText() { return String(LPCTSTR_UI_STRING_KEY("Submit", "Submit (input element)", "alt text for <input> elements with no alt, title, or value")); }
       
    39 String WebCore::resetButtonDefaultLabel() { return String(LPCTSTR_UI_STRING("Reset", "default label for Reset buttons in forms on web pages")); }
       
    40 String WebCore::fileButtonChooseFileLabel() { return String(LPCTSTR_UI_STRING("Choose File", "title for file button used in HTML forms")); }
       
    41 String WebCore::fileButtonNoFileSelectedLabel() { return String(LPCTSTR_UI_STRING("no file selected", "text to display in file button used in HTML forms when no file is selected")); }
       
    42 String WebCore::contextMenuItemTagOpenLinkInNewWindow() { return String(LPCTSTR_UI_STRING("Open Link in New Window", "Open in New Window context menu item")); }
       
    43 String WebCore::contextMenuItemTagDownloadLinkToDisk() { return String(LPCTSTR_UI_STRING("Download Linked File", "Download Linked File context menu item")); }
       
    44 String WebCore::contextMenuItemTagCopyLinkToClipboard() { return String(LPCTSTR_UI_STRING("Copy Link", "Copy Link context menu item")); }
       
    45 String WebCore::contextMenuItemTagOpenImageInNewWindow() { return String(LPCTSTR_UI_STRING("Open Image in New Window", "Open Image in New Window context menu item")); }
       
    46 String WebCore::contextMenuItemTagDownloadImageToDisk() { return String(LPCTSTR_UI_STRING("Download Image", "Download Image context menu item")); }
       
    47 String WebCore::contextMenuItemTagCopyImageToClipboard() { return String(LPCTSTR_UI_STRING("Copy Image", "Copy Image context menu item")); }
       
    48 String WebCore::contextMenuItemTagOpenFrameInNewWindow() { return String(LPCTSTR_UI_STRING("Open Frame in New Window", "Open Frame in New Window context menu item")); }
       
    49 String WebCore::contextMenuItemTagCopy() { return String(LPCTSTR_UI_STRING("Copy", "Copy context menu item")); }
       
    50 String WebCore::contextMenuItemTagGoBack() { return String(LPCTSTR_UI_STRING("Back", "Back context menu item")); }
       
    51 String WebCore::contextMenuItemTagGoForward() { return String(LPCTSTR_UI_STRING("Forward", "Forward context menu item")); }
       
    52 String WebCore::contextMenuItemTagStop() { return String(LPCTSTR_UI_STRING("Stop", "Stop context menu item")); }
       
    53 String WebCore::contextMenuItemTagReload() { return String(LPCTSTR_UI_STRING("Reload", "Reload context menu item")); }
       
    54 String WebCore::contextMenuItemTagCut() { return String(LPCTSTR_UI_STRING("Cut", "Cut context menu item")); }
       
    55 String WebCore::contextMenuItemTagPaste() { return String(LPCTSTR_UI_STRING("Paste", "Paste context menu item")); }
       
    56 String WebCore::contextMenuItemTagNoGuessesFound() { return String(LPCTSTR_UI_STRING("No Guesses Found", "No Guesses Found context menu item")); }
       
    57 String WebCore::contextMenuItemTagIgnoreSpelling() { return String(LPCTSTR_UI_STRING("Ignore Spelling", "Ignore Spelling context menu item")); }
       
    58 String WebCore::contextMenuItemTagLearnSpelling() { return String(LPCTSTR_UI_STRING("Learn Spelling", "Learn Spelling context menu item")); }
       
    59 String WebCore::contextMenuItemTagSearchWeb() { return String(LPCTSTR_UI_STRING("Search with Google", "Search in Google context menu item")); }
       
    60 String WebCore::contextMenuItemTagLookUpInDictionary() { return String(LPCTSTR_UI_STRING("Look Up in Dictionary", "Look Up in Dictionary context menu item")); }
       
    61 String WebCore::contextMenuItemTagOpenLink() { return String(LPCTSTR_UI_STRING("Open Link", "Open Link context menu item")); }
       
    62 String WebCore::contextMenuItemTagIgnoreGrammar() { return String(LPCTSTR_UI_STRING("Ignore Grammar", "Ignore Grammar context menu item")); }
       
    63 String WebCore::contextMenuItemTagSpellingMenu() { return String(LPCTSTR_UI_STRING("Spelling and Grammar", "Spelling and Grammar context sub-menu item")); }
       
    64 String WebCore::contextMenuItemTagCheckSpelling() { return String(LPCTSTR_UI_STRING("Check Document Now", "Check spelling context menu item")); }
       
    65 String WebCore::contextMenuItemTagCheckSpellingWhileTyping() { return String(LPCTSTR_UI_STRING("Check Spelling While Typing", "Check spelling while typing context menu item")); }
       
    66 String WebCore::contextMenuItemTagCheckGrammarWithSpelling() { return String(LPCTSTR_UI_STRING("Check Grammar With Spelling", "Check grammar with spelling context menu item")); }
       
    67 String WebCore::contextMenuItemTagFontMenu() { return String(LPCTSTR_UI_STRING("Font", "Font context sub-menu item")); }
       
    68 String WebCore::contextMenuItemTagBold() { return String(LPCTSTR_UI_STRING("Bold", "Bold context menu item")); }
       
    69 String WebCore::contextMenuItemTagItalic() { return String(LPCTSTR_UI_STRING("Italic", "Italic context menu item")); }
       
    70 String WebCore::contextMenuItemTagUnderline() { return String(LPCTSTR_UI_STRING("Underline", "Underline context menu item")); }
       
    71 String WebCore::contextMenuItemTagOutline() { return String(LPCTSTR_UI_STRING("Outline", "Outline context menu item")); }
       
    72 String WebCore::contextMenuItemTagWritingDirectionMenu() { return String(LPCTSTR_UI_STRING("Paragraph Direction", "Paragraph direction context sub-menu item")); }
       
    73 String WebCore::contextMenuItemTagTextDirectionMenu() { return String(LPCTSTR_UI_STRING("Selection Direction", "Selection direction context sub-menu item")); }
       
    74 String WebCore::contextMenuItemTagDefaultDirection() { return String(LPCTSTR_UI_STRING("Default", "Default writing direction context menu item")); }
       
    75 String WebCore::contextMenuItemTagLeftToRight() { return String(LPCTSTR_UI_STRING("Left to Right", "Left to Right context menu item")); }
       
    76 String WebCore::contextMenuItemTagRightToLeft() { return String(LPCTSTR_UI_STRING("Right to Left", "Right to Left context menu item")); }
       
    77 String WebCore::contextMenuItemTagShowSpellingPanel(bool show) { return String(show ? LPCTSTR_UI_STRING("Show Spelling and Grammar", "menu item title") : LPCTSTR_UI_STRING("Hide Spelling and Grammar", "menu item title")); }
       
    78 String WebCore::contextMenuItemTagInspectElement() { return String(LPCTSTR_UI_STRING("Inspect Element", "Inspect Element context menu item")); }
       
    79 String WebCore::searchMenuNoRecentSearchesText() { return String(LPCTSTR_UI_STRING("No recent searches", "Label for only item in menu that appears when clicking on the search field image, when no searches have been performed")); }
       
    80 String WebCore::searchMenuRecentSearchesText() { return String(LPCTSTR_UI_STRING("Recent Searches", "label for first item in the menu that appears when clicking on the search field image, used as embedded menu title")); }
       
    81 String WebCore::searchMenuClearRecentSearchesText() { return String(LPCTSTR_UI_STRING("Clear Recent Searches", "menu item in Recent Searches menu that empties menu's contents")); }
       
    82 String WebCore::AXWebAreaText() { return String(LPCTSTR_UI_STRING("web area", "accessibility role description for web area")); }
       
    83 String WebCore::AXLinkText() { return String(LPCTSTR_UI_STRING("link", "accessibility role description for link")); }
       
    84 String WebCore::AXListMarkerText() { return String(LPCTSTR_UI_STRING("list marker", "accessibility role description for list marker")); }
       
    85 String WebCore::AXImageMapText() { return String(LPCTSTR_UI_STRING("image map", "accessibility role description for image map")); }
       
    86 String WebCore::AXHeadingText() { return String(LPCTSTR_UI_STRING("heading", "accessibility role description for headings")); }
       
    87 String WebCore::AXDefinitionListTermText() { return String(LPCTSTR_UI_STRING("term", "term word of a definition")); }
       
    88 String WebCore::AXDefinitionListDefinitionText() { return String(LPCTSTR_UI_STRING("definition", "definition phrase")); }
       
    89 String WebCore::AXButtonActionVerb() { return String(LPCTSTR_UI_STRING("press", "Verb stating the action that will occur when a button is pressed, as used by accessibility")); }
       
    90 String WebCore::AXRadioButtonActionVerb() { return String(LPCTSTR_UI_STRING("select", "Verb stating the action that will occur when a radio button is clicked, as used by accessibility")); }
       
    91 String WebCore::AXTextFieldActionVerb() { return String(LPCTSTR_UI_STRING("activate", "Verb stating the action that will occur when a text field is selected, as used by accessibility")); }
       
    92 String WebCore::AXCheckedCheckBoxActionVerb() { return String(LPCTSTR_UI_STRING("uncheck", "Verb stating the action that will occur when a checked checkbox is clicked, as used by accessibility")); }
       
    93 String WebCore::AXUncheckedCheckBoxActionVerb() { return String(LPCTSTR_UI_STRING("check", "Verb stating the action that will occur when an unchecked checkbox is clicked, as used by accessibility")); }
       
    94 String WebCore::AXLinkActionVerb() { return String(LPCTSTR_UI_STRING("jump", "Verb stating the action that will occur when a link is clicked, as used by accessibility")); }
       
    95 String WebCore::AXMenuListActionVerb() { return String(LPCTSTR_UI_STRING("open", "Verb stating the action that will occur when a select element is clicked, as used by accessibility")); }
       
    96 String WebCore::AXMenuListPopupActionVerb() { return String(LPCTSTR_UI_STRING_KEY("press", "press (select element)", "Verb stating the action that will occur when a select element's popup list is clicked, as used by accessibility")); }
       
    97 String WebCore::unknownFileSizeText() { return String(LPCTSTR_UI_STRING("Unknown", "Unknown filesize FTP directory listing item")); }
       
    98 String WebCore::uploadFileText() { return String(LPCTSTR_UI_STRING("Upload file", "(Windows) Form submit file upload dialog title")); }
       
    99 String WebCore::allFilesText() { return String(LPCTSTR_UI_STRING("All Files", "(Windows) Form submit file upload all files pop-up")); }
       
   100 String WebCore::missingPluginText() { return String(LPCTSTR_UI_STRING("Missing Plug-in", "Label text to be used when a plugin is missing")); }
       
   101 String WebCore::crashedPluginText() { return String(LPCTSTR_UI_STRING("Plug-in Failure", "Label text to be used if plugin host process has crashed")); }
       
   102 String WebCore::imageTitle(const String& filename, const IntSize& size) 
       
   103 { 
       
   104     static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%@ %d\xC3\x97%d pixels", "window title for a standalone image (uses multiplication symbol, not x)"));
       
   105 
       
   106     RetainPtr<CFStringRef> filenameCF(AdoptCF, filename.createCFString());
       
   107     RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), filenameCF.get(), size.width(), size.height()));
       
   108 
       
   109     return result.get();
       
   110 }
       
   111 
       
   112 String multipleFileUploadText(unsigned numberOfFiles)
       
   113 {
       
   114     static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%d files", "Label to describe the number of files selected in a file upload control that allows multiple files"));
       
   115     RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), numberOfFiles));
       
   116 
       
   117     return result.get();
       
   118 }
       
   119 
       
   120 #if ENABLE(VIDEO)
       
   121 String WebCore::mediaElementLoadingStateText() { return String(LPCTSTR_UI_STRING("Loading...", "Media controller status message when the media is loading")); }
       
   122 String WebCore::mediaElementLiveBroadcastStateText() { return String(LPCTSTR_UI_STRING("Live Broadcast", "Media controller status message when watching a live broadcast")); }
       
   123 
       
   124 String WebCore::localizedMediaControlElementString(const String& name)
       
   125 {
       
   126     if (name == "AudioElement")
       
   127         return String(LPCTSTR_UI_STRING("audio element controller", "accessibility role description for audio element controller"));
       
   128     if (name == "VideoElement")
       
   129         return String(LPCTSTR_UI_STRING("video element controller", "accessibility role description for video element controller"));
       
   130     if (name == "MuteButton")
       
   131         return String(LPCTSTR_UI_STRING("mute", "accessibility role description for mute button"));
       
   132     if (name == "UnMuteButton")
       
   133         return String(LPCTSTR_UI_STRING("unmute", "accessibility role description for turn mute off button"));
       
   134     if (name == "PlayButton")
       
   135         return String(LPCTSTR_UI_STRING("play", "accessibility role description for play button"));
       
   136     if (name == "PauseButton")
       
   137         return String(LPCTSTR_UI_STRING("pause", "accessibility role description for pause button"));
       
   138     if (name == "Slider")
       
   139         return String(LPCTSTR_UI_STRING("movie time", "accessibility role description for timeline slider"));
       
   140     if (name == "SliderThumb")
       
   141         return String(LPCTSTR_UI_STRING("timeline slider thumb", "accessibility role description for timeline thumb"));
       
   142     if (name == "RewindButton")
       
   143         return String(LPCTSTR_UI_STRING("back 30 seconds", "accessibility role description for seek back 30 seconds button"));
       
   144     if (name == "ReturnToRealtimeButton")
       
   145         return String(LPCTSTR_UI_STRING("return to realtime", "accessibility role description for return to real time button"));
       
   146     if (name == "CurrentTimeDisplay")
       
   147         return String(LPCTSTR_UI_STRING("elapsed time", "accessibility role description for elapsed time display"));
       
   148     if (name == "TimeRemainingDisplay")
       
   149         return String(LPCTSTR_UI_STRING("remaining time", "accessibility role description for time remaining display"));
       
   150     if (name == "StatusDisplay")
       
   151         return String(LPCTSTR_UI_STRING("status", "accessibility role description for movie status"));
       
   152     if (name == "FullscreenButton")
       
   153         return String(LPCTSTR_UI_STRING("fullscreen", "accessibility role description for enter fullscreen button"));
       
   154     if (name == "SeekForwardButton")
       
   155         return String(LPCTSTR_UI_STRING("fast forward", "accessibility role description for fast forward button"));
       
   156     if (name == "SeekBackButton")
       
   157         return String(LPCTSTR_UI_STRING("fast reverse", "accessibility role description for fast reverse button"));
       
   158     if (name == "ShowClosedCaptionsButton")
       
   159         return String(LPCTSTR_UI_STRING("show closed captions", "accessibility role description for show closed captions button"));
       
   160     if (name == "HideClosedCaptionsButton")
       
   161         return String(LPCTSTR_UI_STRING("hide closed captions", "accessibility role description for hide closed captions button"));
       
   162 
       
   163     ASSERT_NOT_REACHED();
       
   164     return String();
       
   165 }
       
   166 
       
   167 String WebCore::localizedMediaControlElementHelpText(const String& name)
       
   168 {
       
   169     if (name == "AudioElement")
       
   170         return String(LPCTSTR_UI_STRING("audio element playback controls and status display", "accessibility role description for audio element controller"));
       
   171     if (name == "VideoElement")
       
   172         return String(LPCTSTR_UI_STRING("video element playback controls and status display", "accessibility role description for video element controller"));
       
   173     if (name == "MuteButton")
       
   174         return String(LPCTSTR_UI_STRING("mute audio tracks", "accessibility help text for mute button"));
       
   175     if (name == "UnMuteButton")
       
   176         return String(LPCTSTR_UI_STRING("unmute audio tracks", "accessibility help text for un mute button"));
       
   177     if (name == "PlayButton")
       
   178         return String(LPCTSTR_UI_STRING("begin playback", "accessibility help text for play button"));
       
   179     if (name == "PauseButton")
       
   180         return String(LPCTSTR_UI_STRING("pause playback", "accessibility help text for pause button"));
       
   181     if (name == "Slider")
       
   182         return String(LPCTSTR_UI_STRING("movie time scrubber", "accessibility help text for timeline slider"));
       
   183     if (name == "SliderThumb")
       
   184         return String(LPCTSTR_UI_STRING("movie time scrubber thumb", "accessibility help text for timeline slider thumb"));
       
   185     if (name == "RewindButton")
       
   186         return String(LPCTSTR_UI_STRING("seek movie back 30 seconds", "accessibility help text for jump back 30 seconds button"));
       
   187     if (name == "ReturnToRealtimeButton")
       
   188         return String(LPCTSTR_UI_STRING("return streaming movie to real time", "accessibility help text for return streaming movie to real time button"));
       
   189     if (name == "CurrentTimeDisplay")
       
   190         return String(LPCTSTR_UI_STRING("current movie time in seconds", "accessibility help text for elapsed time display"));
       
   191     if (name == "TimeRemainingDisplay")
       
   192         return String(LPCTSTR_UI_STRING("number of seconds of movie remaining", "accessibility help text for remaining time display"));
       
   193     if (name == "StatusDisplay")
       
   194         return String(LPCTSTR_UI_STRING("current movie status", "accessibility help text for movie status display"));
       
   195     if (name == "SeekBackButton")
       
   196         return String(LPCTSTR_UI_STRING("seek quickly back", "accessibility help text for fast rewind button"));
       
   197     if (name == "SeekForwardButton")
       
   198         return String(LPCTSTR_UI_STRING("seek quickly forward", "accessibility help text for fast forward button"));
       
   199     if (name == "FullscreenButton")
       
   200         return String(LPCTSTR_UI_STRING("Play movie in fullscreen mode", "accessibility help text for enter fullscreen button"));
       
   201     if (name == "ShowClosedCaptionsButton")
       
   202         return String(LPCTSTR_UI_STRING("start displaying closed captions", "accessibility help text for show closed captions button"));
       
   203     if (name == "HideClosedCaptionsButton")
       
   204         return String(LPCTSTR_UI_STRING("stop displaying closed captions", "accessibility help text for hide closed captions button"));
       
   205 
       
   206     ASSERT_NOT_REACHED();
       
   207     return String();
       
   208 }
       
   209 
       
   210 String WebCore::localizedMediaTimeDescription(float time)
       
   211 {
       
   212     if (!isfinite(time))
       
   213         return String(LPCTSTR_UI_STRING("indefinite time", "accessibility help text for an indefinite media controller time value"));
       
   214 
       
   215     int seconds = (int)fabsf(time);
       
   216     int days = seconds / (60 * 60 * 24);
       
   217     int hours = seconds / (60 * 60);
       
   218     int minutes = (seconds / 60) % 60;
       
   219     seconds %= 60;
       
   220 
       
   221     if (days) {
       
   222         static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%1$d days %2$d hours %3$d minutes %4$d seconds", "accessibility help text for media controller time value >= 1 day"));
       
   223         RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), days, hours, minutes, seconds));
       
   224         return result.get();
       
   225     }
       
   226 
       
   227     if (hours) {
       
   228         static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%1$d hours %2$d minutes %3$d seconds", "accessibility help text for media controller time value >= 60 minutes"));
       
   229         RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), hours, minutes, seconds));
       
   230         return result.get();
       
   231     }
       
   232 
       
   233     if (minutes) {
       
   234         static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%1$d minutes %2$d seconds", "accessibility help text for media controller time value >= 60 seconds"));
       
   235         RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), minutes, seconds));
       
   236         return result.get();
       
   237     }
       
   238 
       
   239     static RetainPtr<CFStringRef> format(AdoptCF, UI_STRING("%1$d seconds", "accessibility help text for media controller time value < 60 seconds"));
       
   240     RetainPtr<CFStringRef> result(AdoptCF, CFStringCreateWithFormat(0, 0, format.get(), seconds));
       
   241     return result.get();
       
   242 }
       
   243 
       
   244 #endif  // ENABLE(VIDEO)
       
   245 
       
   246 String WebCore::validationMessageValueMissingText() { return String(LPCTSTR_UI_STRING("value missing", "Validation message for required form control elements that have no value")); }
       
   247 String WebCore::validationMessageTypeMismatchText() { return String(LPCTSTR_UI_STRING("type mismatch", "Validation message for input form controls with a value not matching type")); }
       
   248 String WebCore::validationMessagePatternMismatchText() { return String(LPCTSTR_UI_STRING("pattern mismatch", "Validation message for input form controls requiring a constrained value according to pattern")); }
       
   249 String WebCore::validationMessageTooLongText() { return String(LPCTSTR_UI_STRING("too long", "Validation message for form control elements with a value longer than maximum allowed length")); }
       
   250 String WebCore::validationMessageRangeUnderflowText() { return String(LPCTSTR_UI_STRING("range underflow", "Validation message for input form controls with value lower than allowed minimum")); }
       
   251 String WebCore::validationMessageRangeOverflowText() { return String(LPCTSTR_UI_STRING("range overflow", "Validation message for input form controls with value higher than allowed maximum")); }
       
   252 String WebCore::validationMessageStepMismatchText() { return String(LPCTSTR_UI_STRING("step mismatch", "Validation message for input form controls with value not respecting the step attribute")); }