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