Ticket #8956: LocalizedStringsHaiku.cpp

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