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 contextMenuItemTagOpenFrameInNewWindow()
107 String contextMenuItemTagCopy()
113 String contextMenuItemTagGoBack()
119 String contextMenuItemTagGoForward()
125 String contextMenuItemTagStop()
131 String contextMenuItemTagReload()
137 String contextMenuItemTagCut()
143 String contextMenuItemTagPaste()
149 String contextMenuItemTagNoGuessesFound()
155 String contextMenuItemTagIgnoreSpelling()
161 String contextMenuItemTagLearnSpelling()
167 String contextMenuItemTagSearchWeb()
173 String contextMenuItemTagLookUpInDictionary()
179 String contextMenuItemTagOpenLink()
185 String contextMenuItemTagIgnoreGrammar()
191 String contextMenuItemTagSpellingMenu()
197 String contextMenuItemTagShowSpellingPanel(bool show)
203 String contextMenuItemTagCheckSpelling()
209 String contextMenuItemTagCheckSpellingWhileTyping()
215 String contextMenuItemTagCheckGrammarWithSpelling()
221 String contextMenuItemTagFontMenu()
227 String contextMenuItemTagBold()
233 String contextMenuItemTagItalic()
239 String contextMenuItemTagUnderline()
245 String contextMenuItemTagOutline()
251 String contextMenuItemTagWritingDirectionMenu()
257 String contextMenuItemTagTextDirectionMenu()
263 String contextMenuItemTagDefaultDirection()
269 String contextMenuItemTagLeftToRight()
275 String contextMenuItemTagRightToLeft()
281 String imageTitle(const String& filename, const IntSize& size)
287 String mediaElementLoadingStateText()
293 String mediaElementLiveBroadcastStateText()
299 String localizedMediaControlElementString(const String& controlName)
305 String localizedMediaControlElementHelpText(const String& controlName)
311 String localizedMediaTimeDescription(const String& controlName)
317 String searchableIndexIntroduction()
323 String resetButtonDefaultLabel()
325 return *(PlatformBridge::globalLocalizedName(
326 PlatformBridge::ResetLabel));
329 String submitButtonDefaultLabel()
331 return *(PlatformBridge::globalLocalizedName(
332 PlatformBridge::SubmitLabel));
335 String inputElementAltText()
341 String validationMessageValueMissingText()
347 String validationMessageTypeMismatchText()
353 String validationMessagePatternMismatchText()
359 String validationMessageTooLongText()
365 String validationMessageRangeUnderflowText()
371 String validationMessageRangeOverflowText()
377 String validationMessageStepMismatchText()
383 String missingPluginText()
385 return String("Missing Plug-in");
388 String crashedPluginText()
390 return String("Plug-in Failure");
393 } // namespace WebCore