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