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