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