Home | History | Annotate | Download | only in wx
      1 /*
      2  * Copyright (C) 2007 Kevin Ollivier
      3  * All rights reserved.
      4  *
      5  * Redistribution and use in source and binary forms, with or without
      6  * modification, are permitted provided that the following conditions
      7  * are met:
      8  * 1. Redistributions of source code must retain the above copyright
      9  *    notice, this list of conditions and the following disclaimer.
     10  * 2. Redistributions in binary form must reproduce the above copyright
     11  *    notice, this list of conditions and the following disclaimer in the
     12  *    documentation and/or other materials provided with the distribution.
     13  *
     14  * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
     15  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     16  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     17  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
     18  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     19  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     20  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
     21  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
     22  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     23  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     24  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     25  */
     26 
     27 #include "config.h"
     28 #include "LocalizedStrings.h"
     29 
     30 #include "NotImplemented.h"
     31 #include "PlatformString.h"
     32 
     33 namespace WebCore {
     34 
     35 String submitButtonDefaultLabel()
     36 {
     37     return String("Submit");
     38 }
     39 
     40 String inputElementAltText()
     41 {
     42     return String();
     43 }
     44 
     45 String resetButtonDefaultLabel()
     46 {
     47     return String("Reset");
     48 }
     49 
     50 String defaultLanguage()
     51 {
     52     return String("en");
     53 }
     54 
     55 String searchableIndexIntroduction()
     56 {
     57     return String("Searchable Index");
     58 }
     59 
     60 String fileButtonChooseFileLabel()
     61 {
     62     return String("Choose File");
     63 }
     64 
     65 String fileButtonNoFileSelectedLabel()
     66 {
     67     return String("No file selected");
     68 }
     69 
     70 String contextMenuItemTagOpenLinkInNewWindow()
     71 {
     72     return String("Open Link in New Window");
     73 }
     74 
     75 String contextMenuItemTagDownloadLinkToDisk()
     76 {
     77     return String("Download Link to Disk");
     78 }
     79 
     80 String contextMenuItemTagCopyLinkToClipboard()
     81 {
     82     return String("Copy Link to Clipboard");
     83 }
     84 
     85 String contextMenuItemTagOpenImageInNewWindow()
     86 {
     87     return String("Open Image in New Window");
     88 }
     89 
     90 String contextMenuItemTagDownloadImageToDisk()
     91 {
     92     return String("Download Image to Disk");
     93 }
     94 
     95 String contextMenuItemTagCopyImageToClipboard()
     96 {
     97     return String("Copy Image to Clipboard");
     98 }
     99 
    100 String contextMenuItemTagOpenFrameInNewWindow()
    101 {
    102     return String("Open Frame in New Window");
    103 }
    104 
    105 String contextMenuItemTagCopy()
    106 {
    107     return String("Copy");
    108 }
    109 
    110 String contextMenuItemTagGoBack()
    111 {
    112     return String("Go Back");
    113 }
    114 
    115 String contextMenuItemTagGoForward()
    116 {
    117     return String("Go Forward");
    118 }
    119 
    120 String contextMenuItemTagStop()
    121 {
    122     return String("Stop");
    123 }
    124 
    125 String contextMenuItemTagReload()
    126 {
    127     return String("Reload");
    128 }
    129 
    130 String contextMenuItemTagCut()
    131 {
    132     return String("Cut");
    133 }
    134 
    135 String contextMenuItemTagPaste()
    136 {
    137     return String("Paste");
    138 }
    139 
    140 String contextMenuItemTagNoGuessesFound()
    141 {
    142     return String("No Guesses Found");
    143 }
    144 
    145 String contextMenuItemTagIgnoreSpelling()
    146 {
    147     return String("Ignore Spelling");
    148 }
    149 
    150 String contextMenuItemTagLearnSpelling()
    151 {
    152     return String("Learn Spelling");
    153 }
    154 
    155 String contextMenuItemTagSearchWeb()
    156 {
    157     return String("Search Web");
    158 }
    159 
    160 String contextMenuItemTagLookUpInDictionary()
    161 {
    162     return String("Look Up in Dictionary");
    163 }
    164 
    165 String contextMenuItemTagOpenLink()
    166 {
    167     return String("Open Link");
    168 }
    169 
    170 String contextMenuItemTagIgnoreGrammar()
    171 {
    172     return String("Ignore Grammar");
    173 }
    174 
    175 String contextMenuItemTagSpellingMenu()
    176 {
    177     return String("Spelling");
    178 }
    179 
    180 String contextMenuItemTagShowSpellingPanel(bool show)
    181 {
    182     return String("Show Spelling Panel");
    183 }
    184 
    185 String contextMenuItemTagCheckSpelling()
    186 {
    187     return String("Check Spelling");
    188 }
    189 
    190 String contextMenuItemTagCheckSpellingWhileTyping()
    191 {
    192     return String("Check Spelling While Typing");
    193 }
    194 
    195 String contextMenuItemTagCheckGrammarWithSpelling()
    196 {
    197     return String("Check Grammar with Spelling");
    198 }
    199 
    200 String contextMenuItemTagFontMenu()
    201 {
    202     return String("Font");
    203 }
    204 
    205 String contextMenuItemTagBold()
    206 {
    207     return String("Bold");
    208 }
    209 
    210 String contextMenuItemTagItalic()
    211 {
    212     return String("Italic");
    213 }
    214 
    215 String contextMenuItemTagUnderline()
    216 {
    217     return String("Underline");
    218 }
    219 
    220 String contextMenuItemTagOutline()
    221 {
    222     return String("Outline");
    223 }
    224 
    225 String contextMenuItemTagWritingDirectionMenu()
    226 {
    227     return String("Writing Direction");
    228 }
    229 
    230 String contextMenuItemTagTextDirectionMenu()
    231 {
    232     return String("Text Direction");
    233 }
    234 
    235 String contextMenuItemTagDefaultDirection()
    236 {
    237     return String("Default Direction");
    238 }
    239 
    240 String contextMenuItemTagLeftToRight()
    241 {
    242     return String("Left to Right");
    243 }
    244 
    245 String contextMenuItemTagRightToLeft()
    246 {
    247     return String("Right to Left");
    248 }
    249 
    250 String searchMenuNoRecentSearchesText()
    251 {
    252     return String("No recent searches");
    253 }
    254 
    255 String searchMenuRecentSearchesText()
    256 {
    257     return String("Recent searches");
    258 }
    259 
    260 String searchMenuClearRecentSearchesText()
    261 {
    262     return String("Clear recent searches");
    263 }
    264 
    265 String contextMenuItemTagInspectElement()
    266 {
    267     return String("Inspect Element");
    268 }
    269 
    270 String multipleFileUploadText(unsigned numberOfFiles)
    271 {
    272     // FIXME: If this file gets localized, this should really be localized as one string with a wildcard for the number.
    273     return String::number(numberOfFiles) + String(" files");
    274 }
    275 
    276 String unknownFileSizeText()
    277 {
    278     return String("Unknown");
    279 }
    280 
    281 String imageTitle(const String& filename, const IntSize& size)
    282 {
    283     return String();
    284 }
    285 
    286 // accessibility related strings
    287 String AXButtonActionVerb()
    288 {
    289     return String();
    290 }
    291 
    292 String AXRadioButtonActionVerb()
    293 {
    294     return String();
    295 }
    296 
    297 String AXTextFieldActionVerb()
    298 {
    299     return String();
    300 }
    301 
    302 String AXCheckedCheckBoxActionVerb()
    303 {
    304     return String();
    305 }
    306 
    307 String AXUncheckedCheckBoxActionVerb()
    308 {
    309     return String();
    310 }
    311 
    312 String AXLinkActionVerb()
    313 {
    314     return String();
    315 }
    316 
    317 String AXDefinitionListTermText()
    318 {
    319     return String();
    320 }
    321 
    322 String AXDefinitionListDefinitionText()
    323 {
    324     return String();
    325 }
    326 
    327 String AXMenuListPopupActionVerb()
    328 {
    329     return String();
    330 }
    331 
    332 String AXMenuListActionVerb()
    333 {
    334     return String();
    335 }
    336 
    337 String validationMessageValueMissingText()
    338 {
    339     notImplemented();
    340     return String();
    341 }
    342 
    343 String validationMessageTypeMismatchText()
    344 {
    345     notImplemented();
    346     return String();
    347 }
    348 
    349 String validationMessagePatternMismatchText()
    350 {
    351     notImplemented();
    352     return String();
    353 }
    354 
    355 String validationMessageTooLongText()
    356 {
    357     notImplemented();
    358     return String();
    359 }
    360 
    361 String validationMessageRangeUnderflowText()
    362 {
    363     notImplemented();
    364     return String();
    365 }
    366 
    367 String validationMessageRangeOverflowText()
    368 {
    369     notImplemented();
    370     return String();
    371 }
    372 
    373 String validationMessageStepMismatchText()
    374 {
    375     notImplemented();
    376     return String();
    377 }
    378 
    379 } // namespace WebCore
    380