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