OSDN Git Service

resolved conflicts for merge of 1457b739 to master
[android-x86/external-webkit.git] / WebCore / platform / android / LocalizedStringsAndroid.cpp
1 /*
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
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions
10  * are met:
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.
16  *
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. 
28  */
29
30 #include "config.h"
31 #include "LocalizedStrings.h"
32
33 #include "NotImplemented.h"
34 #include "PlatformBridge.h"
35 #include "PlatformString.h"
36
37 namespace WebCore {
38
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()
44 {
45     return *(PlatformBridge::globalLocalizedName(
46             PlatformBridge::FileUploadLabel));
47 }
48
49 String fileButtonNoFileSelectedLabel()
50 {
51     return *(PlatformBridge::globalLocalizedName(
52             PlatformBridge::FileUploadNoFileChosenLabel));
53 }
54
55 String contextMenuItemTagInspectElement()
56 {
57     return String("Inspect Element");
58 }
59
60 String unknownFileSizeText()
61 {
62     return String("Unknown");
63 }
64
65 String contextMenuItemTagOpenLinkInNewWindow()
66 {
67     notImplemented();
68     return String();
69 }
70
71 String contextMenuItemTagDownloadLinkToDisk()
72 {
73     notImplemented();
74     return String();
75 }
76
77 String contextMenuItemTagCopyLinkToClipboard()
78 {
79     notImplemented();
80     return String();
81 }
82
83 String contextMenuItemTagOpenImageInNewWindow()
84 {
85     notImplemented();
86     return String();
87 }
88
89 String contextMenuItemTagDownloadImageToDisk()
90 {
91     notImplemented();
92     return String();
93 }
94
95 String contextMenuItemTagCopyImageToClipboard()
96 {
97     notImplemented();
98     return String();
99 }
100
101 String contextMenuItemTagOpenVideoInNewWindow()
102 {
103     notImplemented();
104     return String();
105 }
106
107 String contextMenuItemTagOpenAudioInNewWindow()
108 {
109     notImplemented();
110     return String();
111 }
112
113 String contextMenuItemTagCopyVideoLinkToClipboard()
114 {
115     notImplemented();
116     return String();
117 }
118
119 String contextMenuItemTagCopyAudioLinkToClipboard()
120 {
121     notImplemented();
122     return String();
123 }
124
125 String contextMenuItemTagToggleMediaControls()
126 {
127     notImplemented();
128     return String();
129 }
130
131 String contextMenuItemTagToggleMediaLoop()
132 {
133     notImplemented();
134     return String();
135 }
136
137 String contextMenuItemTagEnterVideoFullscreen()
138 {
139     notImplemented();
140     return String();
141 }
142
143 String contextMenuItemTagMediaPlay()
144 {
145     notImplemented();
146     return String();
147 }
148
149 String contextMenuItemTagMediaPause()
150 {
151     notImplemented();
152     return String();
153 }
154
155 String contextMenuItemTagMediaMute()
156 {
157     notImplemented();
158     return String();
159 }
160
161 String contextMenuItemTagOpenFrameInNewWindow()
162 {
163     notImplemented();
164     return String();
165 }
166
167 String contextMenuItemTagCopy()
168 {
169     notImplemented();
170     return String();
171 }
172
173 String contextMenuItemTagGoBack()
174 {
175     notImplemented();
176     return String();
177 }
178
179 String contextMenuItemTagGoForward()
180 {
181     notImplemented();
182     return String();
183 }
184
185 String contextMenuItemTagStop()
186 {
187     notImplemented();
188     return String();
189 }
190
191 String contextMenuItemTagReload()
192 {
193     notImplemented();
194     return String();
195 }
196
197 String contextMenuItemTagCut()
198 {
199     notImplemented();
200     return String();
201 }
202
203 String contextMenuItemTagPaste()
204 {
205     notImplemented();
206     return String();
207 }
208
209 String contextMenuItemTagNoGuessesFound()
210 {
211     notImplemented();
212     return String();
213 }
214
215 String contextMenuItemTagIgnoreSpelling()
216 {
217     notImplemented();
218     return String();
219 }
220
221 String contextMenuItemTagLearnSpelling()
222 {
223     notImplemented();
224     return String();
225 }
226
227 String contextMenuItemTagSearchWeb()
228 {
229     notImplemented();
230     return String();
231 }
232
233 String contextMenuItemTagLookUpInDictionary()
234 {
235     notImplemented();
236     return String();
237 }
238
239 String contextMenuItemTagOpenLink()
240 {
241     notImplemented();
242     return String();
243 }
244
245 String contextMenuItemTagIgnoreGrammar()
246 {
247     notImplemented();
248     return String();
249 }
250
251 String contextMenuItemTagSpellingMenu()
252 {
253     notImplemented();
254     return String();
255 }
256
257 String contextMenuItemTagShowSpellingPanel(bool show)
258 {
259     notImplemented();
260     return String();
261 }
262
263 String contextMenuItemTagCheckSpelling()
264 {
265     notImplemented();
266     return String();
267 }
268
269 String contextMenuItemTagCheckSpellingWhileTyping()
270 {
271     notImplemented();
272     return String();
273 }
274
275 String contextMenuItemTagCheckGrammarWithSpelling()
276 {
277     notImplemented();
278     return String();
279 }
280
281 String contextMenuItemTagFontMenu()
282 {
283     notImplemented();
284     return String();
285 }
286
287 String contextMenuItemTagBold()
288 {
289     notImplemented();
290     return String();
291 }
292
293 String contextMenuItemTagItalic()
294 {
295     notImplemented();
296     return String();
297 }
298
299 String contextMenuItemTagUnderline()
300 {
301     notImplemented();
302     return String();
303 }
304
305 String contextMenuItemTagOutline()
306 {
307     notImplemented();
308     return String();
309 }
310
311 String contextMenuItemTagWritingDirectionMenu()
312 {
313     notImplemented();
314     return String();
315 }
316
317 String contextMenuItemTagTextDirectionMenu()
318 {
319     notImplemented();
320     return String();
321 }
322
323 String contextMenuItemTagDefaultDirection()
324 {
325     notImplemented();
326     return String();
327 }
328
329 String contextMenuItemTagLeftToRight()
330 {
331     notImplemented();
332     return String();
333 }
334
335 String contextMenuItemTagRightToLeft()
336 {
337     notImplemented();
338     return String();
339 }
340
341 String imageTitle(const String& filename, const IntSize& size)
342 {
343     notImplemented();
344     return String();
345 }
346
347 String mediaElementLoadingStateText()
348 {
349     notImplemented();
350     return String();
351 }
352
353 String mediaElementLiveBroadcastStateText()
354 {
355     notImplemented();
356     return String();
357 }
358
359 String localizedMediaControlElementString(const String& controlName)
360 {
361     notImplemented();
362     return String();
363 }
364
365 String localizedMediaControlElementHelpText(const String& controlName)
366 {
367     notImplemented();
368     return String();
369 }
370
371 String localizedMediaTimeDescription(const String& controlName)
372 {
373     notImplemented();
374     return String();
375 }
376
377 String searchableIndexIntroduction()
378 {
379     notImplemented();
380     return String();
381 }
382
383 String resetButtonDefaultLabel()
384 {
385     return *(PlatformBridge::globalLocalizedName(
386             PlatformBridge::ResetLabel));
387 }
388
389 String submitButtonDefaultLabel()
390 {
391     return *(PlatformBridge::globalLocalizedName(
392             PlatformBridge::SubmitLabel));
393 }
394
395 String inputElementAltText()
396 {
397     notImplemented();
398     return String();
399 }
400
401 String validationMessageValueMissingText()
402 {
403     notImplemented();
404     return String();
405 }
406
407 String validationMessageTypeMismatchText()
408 {
409     notImplemented();
410     return String();
411 }
412
413 String validationMessagePatternMismatchText()
414 {
415     notImplemented();
416     return String();
417 }
418
419 String validationMessageTooLongText()
420 {
421     notImplemented();
422     return String();
423 }
424
425 String validationMessageRangeUnderflowText()
426 {
427     notImplemented();
428     return String();
429 }
430
431 String validationMessageRangeOverflowText()
432 {
433     notImplemented();
434     return String();
435 }
436
437 String validationMessageStepMismatchText()
438 {
439     notImplemented();
440     return String();
441 }
442
443 String missingPluginText()
444 {
445     return String("Missing Plug-in");
446 }
447
448 String crashedPluginText()
449 {
450     return String("Plug-in Failure");
451 }
452
453 } // namespace WebCore