2 * Copyright 2009, The Android Open Source Project
3 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
4 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
5 * Copyright (C) 2007 Holger Hans Peter Freyther
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
11 * 1. Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
17 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
21 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
24 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 #include "LocalizedStrings.h"
33 #include "NotImplemented.h"
34 #include "PlatformBridge.h"
35 #include "PlatformString.h"
39 // The following two strings are used for File Upload form control, ie
40 // <input type="file">. The first is the text that appears on the button
41 // that when pressed, the user can browse for and select a file. The
42 // second string is rendered on the screen when no file has been selected.
43 String fileButtonChooseFileLabel()
45 return *(PlatformBridge::globalLocalizedName(
46 PlatformBridge::FileUploadLabel));
49 String fileButtonNoFileSelectedLabel()
51 return *(PlatformBridge::globalLocalizedName(
52 PlatformBridge::FileUploadNoFileChosenLabel));
55 String contextMenuItemTagInspectElement()
57 return String("Inspect Element");
60 String unknownFileSizeText()
62 return String("Unknown");
65 String contextMenuItemTagOpenLinkInNewWindow()
71 String contextMenuItemTagDownloadLinkToDisk()
77 String contextMenuItemTagCopyLinkToClipboard()
83 String contextMenuItemTagOpenImageInNewWindow()
89 String contextMenuItemTagDownloadImageToDisk()
95 String contextMenuItemTagCopyImageToClipboard()
101 String contextMenuItemTagOpenVideoInNewWindow()
107 String contextMenuItemTagOpenAudioInNewWindow()
113 String contextMenuItemTagCopyVideoLinkToClipboard()
119 String contextMenuItemTagCopyAudioLinkToClipboard()
125 String contextMenuItemTagToggleMediaControls()
131 String contextMenuItemTagToggleMediaLoop()
137 String contextMenuItemTagEnterVideoFullscreen()
143 String contextMenuItemTagMediaPlay()
149 String contextMenuItemTagMediaPause()
155 String contextMenuItemTagMediaMute()
161 String contextMenuItemTagOpenFrameInNewWindow()
167 String contextMenuItemTagCopy()
173 String contextMenuItemTagGoBack()
179 String contextMenuItemTagGoForward()
185 String contextMenuItemTagStop()
191 String contextMenuItemTagReload()
197 String contextMenuItemTagCut()
203 String contextMenuItemTagPaste()
209 String contextMenuItemTagNoGuessesFound()
215 String contextMenuItemTagIgnoreSpelling()
221 String contextMenuItemTagLearnSpelling()
227 String contextMenuItemTagSearchWeb()
233 String contextMenuItemTagLookUpInDictionary()
239 String contextMenuItemTagOpenLink()
245 String contextMenuItemTagIgnoreGrammar()
251 String contextMenuItemTagSpellingMenu()
257 String contextMenuItemTagShowSpellingPanel(bool show)
263 String contextMenuItemTagCheckSpelling()
269 String contextMenuItemTagCheckSpellingWhileTyping()
275 String contextMenuItemTagCheckGrammarWithSpelling()
281 String contextMenuItemTagFontMenu()
287 String contextMenuItemTagBold()
293 String contextMenuItemTagItalic()
299 String contextMenuItemTagUnderline()
305 String contextMenuItemTagOutline()
311 String contextMenuItemTagWritingDirectionMenu()
317 String contextMenuItemTagTextDirectionMenu()
323 String contextMenuItemTagDefaultDirection()
329 String contextMenuItemTagLeftToRight()
335 String contextMenuItemTagRightToLeft()
341 String imageTitle(const String& filename, const IntSize& size)
347 String mediaElementLoadingStateText()
353 String mediaElementLiveBroadcastStateText()
359 String localizedMediaControlElementString(const String& controlName)
365 String localizedMediaControlElementHelpText(const String& controlName)
371 String localizedMediaTimeDescription(const String& controlName)
377 String searchableIndexIntroduction()
383 String resetButtonDefaultLabel()
385 return *(PlatformBridge::globalLocalizedName(
386 PlatformBridge::ResetLabel));
389 String submitButtonDefaultLabel()
391 return *(PlatformBridge::globalLocalizedName(
392 PlatformBridge::SubmitLabel));
395 String inputElementAltText()
401 String validationMessageValueMissingText()
407 String validationMessageTypeMismatchText()
413 String validationMessagePatternMismatchText()
419 String validationMessageTooLongText()
425 String validationMessageRangeUnderflowText()
431 String validationMessageRangeOverflowText()
437 String validationMessageStepMismatchText()
443 String missingPluginText()
445 return String("Missing Plug-in");
448 String crashedPluginText()
450 return String("Plug-in Failure");
453 } // namespace WebCore