1 /*
2 * Copyright (C) 2009 Company 100, 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 "LocalizedStrings.h"
28
29 #include "NotImplemented.h"
30 #include "PlatformString.h"
31
32 namespace WebCore {
33
submitButtonDefaultLabel()34 String submitButtonDefaultLabel()
35 {
36 return "Submit";
37 }
38
inputElementAltText()39 String inputElementAltText()
40 {
41 return String();
42 }
43
resetButtonDefaultLabel()44 String resetButtonDefaultLabel()
45 {
46 return "Reset";
47 }
48
defaultDetailsSummaryText()49 String defaultDetailsSummaryText()
50 {
51 return "Details";
52 }
53
searchableIndexIntroduction()54 String searchableIndexIntroduction()
55 {
56 return "Searchable Index";
57 }
58
fileButtonChooseFileLabel()59 String fileButtonChooseFileLabel()
60 {
61 return "Choose File";
62 }
63
fileButtonNoFileSelectedLabel()64 String fileButtonNoFileSelectedLabel()
65 {
66 return "No file selected";
67 }
68
contextMenuItemTagOpenLinkInNewWindow()69 String contextMenuItemTagOpenLinkInNewWindow()
70 {
71 return "Open in new tab";
72 }
73
contextMenuItemTagDownloadLinkToDisk()74 String contextMenuItemTagDownloadLinkToDisk()
75 {
76 return "Download link to disk";
77 }
78
contextMenuItemTagCopyLinkToClipboard()79 String contextMenuItemTagCopyLinkToClipboard()
80 {
81 return "Copy link to clipboard";
82 }
83
contextMenuItemTagOpenImageInNewWindow()84 String contextMenuItemTagOpenImageInNewWindow()
85 {
86 return "Open image in new window";
87 }
88
contextMenuItemTagDownloadImageToDisk()89 String contextMenuItemTagDownloadImageToDisk()
90 {
91 return "Download image to disk";
92 }
93
contextMenuItemTagCopyImageToClipboard()94 String contextMenuItemTagCopyImageToClipboard()
95 {
96 return "Copy image to clipboard";
97 }
98
contextMenuItemTagOpenVideoInNewWindow()99 String contextMenuItemTagOpenVideoInNewWindow()
100 {
101 return "Open video in new window";
102 }
103
contextMenuItemTagOpenAudioInNewWindow()104 String contextMenuItemTagOpenAudioInNewWindow()
105 {
106 return "Open audio in new window";
107 }
108
contextMenuItemTagCopyVideoLinkToClipboard()109 String contextMenuItemTagCopyVideoLinkToClipboard()
110 {
111 return "Copy Video link location";
112 }
113
contextMenuItemTagCopyAudioLinkToClipboard()114 String contextMenuItemTagCopyAudioLinkToClipboard()
115 {
116 return "Copy audio link location";
117 }
118
contextMenuItemTagToggleMediaControls()119 String contextMenuItemTagToggleMediaControls()
120 {
121 return "Toggle media controls";
122 }
123
contextMenuItemTagToggleMediaLoop()124 String contextMenuItemTagToggleMediaLoop()
125 {
126 return "Toggle media loop playback";
127 }
128
contextMenuItemTagEnterVideoFullscreen()129 String contextMenuItemTagEnterVideoFullscreen()
130 {
131 return "Switch video to fullscreen";
132 }
133
contextMenuItemTagMediaPlay()134 String contextMenuItemTagMediaPlay()
135 {
136 return "Play";
137 }
138
contextMenuItemTagMediaPause()139 String contextMenuItemTagMediaPause()
140 {
141 return "Pause";
142 }
143
contextMenuItemTagMediaMute()144 String contextMenuItemTagMediaMute()
145 {
146 return "Mute";
147 }
148
contextMenuItemTagOpenFrameInNewWindow()149 String contextMenuItemTagOpenFrameInNewWindow()
150 {
151 return "Open frame in new window";
152 }
153
contextMenuItemTagCopy()154 String contextMenuItemTagCopy()
155 {
156 return "Copy";
157 }
158
contextMenuItemTagGoBack()159 String contextMenuItemTagGoBack()
160 {
161 return "Go back";
162 }
163
contextMenuItemTagGoForward()164 String contextMenuItemTagGoForward()
165 {
166 return "Go forward";
167 }
168
contextMenuItemTagStop()169 String contextMenuItemTagStop()
170 {
171 return "Stop";
172 }
173
contextMenuItemTagReload()174 String contextMenuItemTagReload()
175 {
176 return "Reload";
177 }
178
contextMenuItemTagCut()179 String contextMenuItemTagCut()
180 {
181 return "Cut";
182 }
183
contextMenuItemTagPaste()184 String contextMenuItemTagPaste()
185 {
186 return "Paste";
187 }
188
contextMenuItemTagNoGuessesFound()189 String contextMenuItemTagNoGuessesFound()
190 {
191 return "No guesses found";
192 }
193
contextMenuItemTagIgnoreSpelling()194 String contextMenuItemTagIgnoreSpelling()
195 {
196 return "Ignore spelling";
197 }
198
contextMenuItemTagLearnSpelling()199 String contextMenuItemTagLearnSpelling()
200 {
201 return "Learn spelling";
202 }
203
contextMenuItemTagSearchWeb()204 String contextMenuItemTagSearchWeb()
205 {
206 return "Search web";
207 }
208
contextMenuItemTagLookUpInDictionary(const String &)209 String contextMenuItemTagLookUpInDictionary(const String&)
210 {
211 return "Lookup in dictionary";
212 }
213
contextMenuItemTagOpenLink()214 String contextMenuItemTagOpenLink()
215 {
216 return "Open link";
217 }
218
contextMenuItemTagIgnoreGrammar()219 String contextMenuItemTagIgnoreGrammar()
220 {
221 return "Ignore grammar";
222 }
223
contextMenuItemTagSpellingMenu()224 String contextMenuItemTagSpellingMenu()
225 {
226 return "Spelling menu";
227 }
228
contextMenuItemTagShowSpellingPanel(bool show)229 String contextMenuItemTagShowSpellingPanel(bool show)
230 {
231 return "Show spelling panel";
232 }
233
contextMenuItemTagCheckSpelling()234 String contextMenuItemTagCheckSpelling()
235 {
236 return "Check spelling";
237 }
238
contextMenuItemTagCheckSpellingWhileTyping()239 String contextMenuItemTagCheckSpellingWhileTyping()
240 {
241 return "Check spelling while typing";
242 }
243
contextMenuItemTagCheckGrammarWithSpelling()244 String contextMenuItemTagCheckGrammarWithSpelling()
245 {
246 return "Check for grammar with spelling";
247 }
248
contextMenuItemTagFontMenu()249 String contextMenuItemTagFontMenu()
250 {
251 return "Font menu";
252 }
253
contextMenuItemTagBold()254 String contextMenuItemTagBold()
255 {
256 return "Bold";
257 }
258
contextMenuItemTagItalic()259 String contextMenuItemTagItalic()
260 {
261 return "Italic";
262 }
263
contextMenuItemTagUnderline()264 String contextMenuItemTagUnderline()
265 {
266 return "Underline";
267 }
268
contextMenuItemTagOutline()269 String contextMenuItemTagOutline()
270 {
271 return "Outline";
272 }
273
contextMenuItemTagWritingDirectionMenu()274 String contextMenuItemTagWritingDirectionMenu()
275 {
276 return "Writing direction menu";
277 }
278
contextMenuItemTagDefaultDirection()279 String contextMenuItemTagDefaultDirection()
280 {
281 return "Default direction";
282 }
283
contextMenuItemTagLeftToRight()284 String contextMenuItemTagLeftToRight()
285 {
286 return "Left to right";
287 }
288
contextMenuItemTagRightToLeft()289 String contextMenuItemTagRightToLeft()
290 {
291 return "Right to left";
292 }
293
contextMenuItemTagInspectElement()294 String contextMenuItemTagInspectElement()
295 {
296 return "Inspect";
297 }
298
searchMenuNoRecentSearchesText()299 String searchMenuNoRecentSearchesText()
300 {
301 return "No recent text searches";
302 }
303
searchMenuRecentSearchesText()304 String searchMenuRecentSearchesText()
305 {
306 return "Recent text searches";
307 }
308
searchMenuClearRecentSearchesText()309 String searchMenuClearRecentSearchesText()
310 {
311 return "Clear recent text searches";
312 }
313
unknownFileSizeText()314 String unknownFileSizeText()
315 {
316 return "Unknown";
317 }
318
AXWebAreaText()319 String AXWebAreaText()
320 {
321 return String();
322 }
323
AXLinkText()324 String AXLinkText()
325 {
326 return String();
327 }
328
AXListMarkerText()329 String AXListMarkerText()
330 {
331 return String();
332 }
333
AXImageMapText()334 String AXImageMapText()
335 {
336 return String();
337 }
338
AXHeadingText()339 String AXHeadingText()
340 {
341 return String();
342 }
343
imageTitle(const String & filename,const IntSize & size)344 String imageTitle(const String& filename, const IntSize& size)
345 {
346 return String(filename);
347 }
348
contextMenuItemTagTextDirectionMenu()349 String contextMenuItemTagTextDirectionMenu()
350 {
351 return String();
352 }
353
AXButtonActionVerb()354 String AXButtonActionVerb()
355 {
356 return String();
357 }
358
AXTextFieldActionVerb()359 String AXTextFieldActionVerb()
360 {
361 return String();
362 }
363
AXRadioButtonActionVerb()364 String AXRadioButtonActionVerb()
365 {
366 return String();
367 }
368
AXCheckedCheckBoxActionVerb()369 String AXCheckedCheckBoxActionVerb()
370 {
371 return String();
372 }
373
AXUncheckedCheckBoxActionVerb()374 String AXUncheckedCheckBoxActionVerb()
375 {
376 return String();
377 }
378
AXLinkActionVerb()379 String AXLinkActionVerb()
380 {
381 return String();
382 }
383
AXMenuListPopupActionVerb()384 String AXMenuListPopupActionVerb()
385 {
386 return String();
387 }
388
AXMenuListActionVerb()389 String AXMenuListActionVerb()
390 {
391 return String();
392 }
393
AXDefinitionListTermText()394 String AXDefinitionListTermText()
395 {
396 return String();
397 }
398
AXDefinitionListDefinitionText()399 String AXDefinitionListDefinitionText()
400 {
401 return String();
402 }
403
validationMessageValueMissingText()404 String validationMessageValueMissingText()
405 {
406 notImplemented();
407 return String();
408 }
409
validationMessageValueMissingForCheckboxText()410 String validationMessageValueMissingForCheckboxText()
411 {
412 notImplemented();
413 return validationMessageValueMissingText();
414 }
415
validationMessageValueMissingForFileText()416 String validationMessageValueMissingForFileText()
417 {
418 notImplemented();
419 return validationMessageValueMissingText();
420 }
421
validationMessageValueMissingForMultipleFileText()422 String validationMessageValueMissingForMultipleFileText()
423 {
424 notImplemented();
425 return validationMessageValueMissingText();
426 }
427
validationMessageValueMissingForRadioText()428 String validationMessageValueMissingForRadioText()
429 {
430 notImplemented();
431 return validationMessageValueMissingText();
432 }
433
validationMessageValueMissingForSelectText()434 String validationMessageValueMissingForSelectText()
435 {
436 notImplemented();
437 return validationMessageValueMissingText();
438 }
439
validationMessageTypeMismatchText()440 String validationMessageTypeMismatchText()
441 {
442 notImplemented();
443 return String();
444 }
445
validationMessageTypeMismatchForEmailText()446 String validationMessageTypeMismatchForEmailText()
447 {
448 notImplemented();
449 return validationMessageTypeMismatchText();
450 }
451
validationMessageTypeMismatchForMultipleEmailText()452 String validationMessageTypeMismatchForMultipleEmailText()
453 {
454 notImplemented();
455 return validationMessageTypeMismatchText();
456 }
457
validationMessageTypeMismatchForURLText()458 String validationMessageTypeMismatchForURLText()
459 {
460 notImplemented();
461 return validationMessageTypeMismatchText();
462 }
463
validationMessagePatternMismatchText()464 String validationMessagePatternMismatchText()
465 {
466 notImplemented();
467 return String();
468 }
469
validationMessageTooLongText(int,int)470 String validationMessageTooLongText(int, int)
471 {
472 notImplemented();
473 return String();
474 }
475
validationMessageRangeUnderflowText(const String &)476 String validationMessageRangeUnderflowText(const String&)
477 {
478 notImplemented();
479 return String();
480 }
481
validationMessageRangeOverflowText(const String &)482 String validationMessageRangeOverflowText(const String&)
483 {
484 notImplemented();
485 return String();
486 }
487
validationMessageStepMismatchText(const String &,const String &)488 String validationMessageStepMismatchText(const String&, const String&)
489 {
490 notImplemented();
491 return String();
492 }
493
missingPluginText()494 String missingPluginText()
495 {
496 return "Missing Plug-in";
497 }
498
crashedPluginText()499 String crashedPluginText()
500 {
501 return "Plug-in Crashed";
502 }
503
504 } // namespace WebCore
505
506