• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
defaultLanguage()51 String defaultLanguage()
52 {
53     return "en";
54 }
55 
searchableIndexIntroduction()56 String searchableIndexIntroduction()
57 {
58     return "Searchable Index";
59 }
60 
fileButtonChooseFileLabel()61 String fileButtonChooseFileLabel()
62 {
63     return "Choose File";
64 }
65 
fileButtonNoFileSelectedLabel()66 String fileButtonNoFileSelectedLabel()
67 {
68     return "No file selected";
69 }
70 
contextMenuItemTagOpenLinkInNewWindow()71 String contextMenuItemTagOpenLinkInNewWindow()
72 {
73     return "Open in new tab";
74 }
75 
contextMenuItemTagDownloadLinkToDisk()76 String contextMenuItemTagDownloadLinkToDisk()
77 {
78     return "Download link to disk";
79 }
80 
contextMenuItemTagCopyLinkToClipboard()81 String contextMenuItemTagCopyLinkToClipboard()
82 {
83     return "Copy link to clipboard";
84 }
85 
contextMenuItemTagOpenImageInNewWindow()86 String contextMenuItemTagOpenImageInNewWindow()
87 {
88     return "Open image in new window";
89 }
90 
contextMenuItemTagDownloadImageToDisk()91 String contextMenuItemTagDownloadImageToDisk()
92 {
93     return "Download image to disk";
94 }
95 
contextMenuItemTagCopyImageToClipboard()96 String contextMenuItemTagCopyImageToClipboard()
97 {
98     return "Copy image to clipboard";
99 }
100 
contextMenuItemTagOpenFrameInNewWindow()101 String contextMenuItemTagOpenFrameInNewWindow()
102 {
103     return "Open frame in new window";
104 }
105 
contextMenuItemTagCopy()106 String contextMenuItemTagCopy()
107 {
108     return "Copy";
109 }
110 
contextMenuItemTagGoBack()111 String contextMenuItemTagGoBack()
112 {
113     return "Go back";
114 }
115 
contextMenuItemTagGoForward()116 String contextMenuItemTagGoForward()
117 {
118     return "Go forward";
119 }
120 
contextMenuItemTagStop()121 String contextMenuItemTagStop()
122 {
123     return "Stop";
124 }
125 
contextMenuItemTagReload()126 String contextMenuItemTagReload()
127 {
128     return "Reload";
129 }
130 
contextMenuItemTagCut()131 String contextMenuItemTagCut()
132 {
133     return "Cut";
134 }
135 
contextMenuItemTagPaste()136 String contextMenuItemTagPaste()
137 {
138     return "Paste";
139 }
140 
contextMenuItemTagNoGuessesFound()141 String contextMenuItemTagNoGuessesFound()
142 {
143     return "No guesses found";
144 }
145 
contextMenuItemTagIgnoreSpelling()146 String contextMenuItemTagIgnoreSpelling()
147 {
148     return "Ignore spelling";
149 }
150 
contextMenuItemTagLearnSpelling()151 String contextMenuItemTagLearnSpelling()
152 {
153     return "Learn spelling";
154 }
155 
contextMenuItemTagSearchWeb()156 String contextMenuItemTagSearchWeb()
157 {
158     return "Search web";
159 }
160 
contextMenuItemTagLookUpInDictionary()161 String contextMenuItemTagLookUpInDictionary()
162 {
163     return "Lookup in dictionary";
164 }
165 
contextMenuItemTagOpenLink()166 String contextMenuItemTagOpenLink()
167 {
168     return "Open link";
169 }
170 
contextMenuItemTagIgnoreGrammar()171 String contextMenuItemTagIgnoreGrammar()
172 {
173     return "Ignore grammar";
174 }
175 
contextMenuItemTagSpellingMenu()176 String contextMenuItemTagSpellingMenu()
177 {
178     return "Spelling menu";
179 }
180 
contextMenuItemTagShowSpellingPanel(bool show)181 String contextMenuItemTagShowSpellingPanel(bool show)
182 {
183     return "Show spelling panel";
184 }
185 
contextMenuItemTagCheckSpelling()186 String contextMenuItemTagCheckSpelling()
187 {
188     return "Check spelling";
189 }
190 
contextMenuItemTagCheckSpellingWhileTyping()191 String contextMenuItemTagCheckSpellingWhileTyping()
192 {
193     return "Check spelling while typing";
194 }
195 
contextMenuItemTagCheckGrammarWithSpelling()196 String contextMenuItemTagCheckGrammarWithSpelling()
197 {
198     return "Check for grammar with spelling";
199 }
200 
contextMenuItemTagFontMenu()201 String contextMenuItemTagFontMenu()
202 {
203     return "Font menu";
204 }
205 
contextMenuItemTagBold()206 String contextMenuItemTagBold()
207 {
208     return "Bold";
209 }
210 
contextMenuItemTagItalic()211 String contextMenuItemTagItalic()
212 {
213     return "Italic";
214 }
215 
contextMenuItemTagUnderline()216 String contextMenuItemTagUnderline()
217 {
218     return "Underline";
219 }
220 
contextMenuItemTagOutline()221 String contextMenuItemTagOutline()
222 {
223     return "Outline";
224 }
225 
contextMenuItemTagWritingDirectionMenu()226 String contextMenuItemTagWritingDirectionMenu()
227 {
228     return "Writing direction menu";
229 }
230 
contextMenuItemTagDefaultDirection()231 String contextMenuItemTagDefaultDirection()
232 {
233     return "Default direction";
234 }
235 
contextMenuItemTagLeftToRight()236 String contextMenuItemTagLeftToRight()
237 {
238     return "Left to right";
239 }
240 
contextMenuItemTagRightToLeft()241 String contextMenuItemTagRightToLeft()
242 {
243     return "Right to left";
244 }
245 
contextMenuItemTagInspectElement()246 String contextMenuItemTagInspectElement()
247 {
248     return "Inspect";
249 }
250 
searchMenuNoRecentSearchesText()251 String searchMenuNoRecentSearchesText()
252 {
253     return "No recent text searches";
254 }
255 
searchMenuRecentSearchesText()256 String searchMenuRecentSearchesText()
257 {
258     return "Recent text searches";
259 }
260 
searchMenuClearRecentSearchesText()261 String searchMenuClearRecentSearchesText()
262 {
263     return "Clear recent text searches";
264 }
265 
unknownFileSizeText()266 String unknownFileSizeText()
267 {
268     return "Unknown";
269 }
270 
AXWebAreaText()271 String AXWebAreaText()
272 {
273     return String();
274 }
275 
AXLinkText()276 String AXLinkText()
277 {
278     return String();
279 }
280 
AXListMarkerText()281 String AXListMarkerText()
282 {
283     return String();
284 }
285 
AXImageMapText()286 String AXImageMapText()
287 {
288     return String();
289 }
290 
AXHeadingText()291 String AXHeadingText()
292 {
293     return String();
294 }
295 
AXMenuListPopupActionVerb()296 String AXMenuListPopupActionVerb()
297 {
298     return String();
299 }
300 
AXMenuListActionVerb()301 String AXMenuListActionVerb()
302 {
303     return String();
304 }
305 
imageTitle(const String & filename,const IntSize & size)306 String imageTitle(const String& filename, const IntSize& size)
307 {
308     return String(filename);
309 }
310 
contextMenuItemTagTextDirectionMenu()311 String contextMenuItemTagTextDirectionMenu()
312 {
313     return String();
314 }
315 
AXButtonActionVerb()316 String AXButtonActionVerb()
317 {
318     return String();
319 }
320 
AXTextFieldActionVerb()321 String AXTextFieldActionVerb()
322 {
323     return String();
324 }
325 
AXRadioButtonActionVerb()326 String AXRadioButtonActionVerb()
327 {
328     return String();
329 }
330 
AXCheckedCheckBoxActionVerb()331 String AXCheckedCheckBoxActionVerb()
332 {
333     return String();
334 }
335 
AXUncheckedCheckBoxActionVerb()336 String AXUncheckedCheckBoxActionVerb()
337 {
338     return String();
339 }
340 
AXLinkActionVerb()341 String AXLinkActionVerb()
342 {
343     return String();
344 }
345 
AXDefinitionListTermText()346 String AXDefinitionListTermText()
347 {
348     return String();
349 }
350 
AXDefinitionListDefinitionText()351 String AXDefinitionListDefinitionText()
352 {
353     return String();
354 }
355 
validationMessageValueMissingText()356 String validationMessageValueMissingText()
357 {
358     notImplemented();
359     return String();
360 }
361 
validationMessageTypeMismatchText()362 String validationMessageTypeMismatchText()
363 {
364     notImplemented();
365     return String();
366 }
367 
validationMessagePatternMismatchText()368 String validationMessagePatternMismatchText()
369 {
370     notImplemented();
371     return String();
372 }
373 
validationMessageTooLongText()374 String validationMessageTooLongText()
375 {
376     notImplemented();
377     return String();
378 }
379 
validationMessageRangeUnderflowText()380 String validationMessageRangeUnderflowText()
381 {
382     notImplemented();
383     return String();
384 }
385 
validationMessageRangeOverflowText()386 String validationMessageRangeOverflowText()
387 {
388     notImplemented();
389     return String();
390 }
391 
validationMessageStepMismatchText()392 String validationMessageStepMismatchText()
393 {
394     notImplemented();
395     return String();
396 }
397 
398 } // namespace WebCore
399 
400