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