Changeset 113280 in webkit


Ignore:
Timestamp:
Apr 4, 2012 7:50:46 PM (12 years ago)
Author:
tkent@chromium.org
Message:

[Chromium] Calendar Picker: Add localization functions
https://bugs.webkit.org/show_bug.cgi?id=83235

Reviewed by Adam Barth.

Implement calendarTodayText() and calendarClearText(), which are
introduced in http://trac.webkit.org/changeset/113166

  • public/platform/WebLocalizedString.h:

Add CalendarClear and CalendarToday.

  • src/LocalizedStrings.cpp:

(WebCore::calendarTodayText): Added.
(WebCore::calendarClearText): Added.

Location:
trunk/Source/WebKit/chromium
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r113255 r113280  
     12012-04-04  Kent Tamura  <tkent@chromium.org>
     2
     3        [Chromium] Calendar Picker: Add localization functions
     4        https://bugs.webkit.org/show_bug.cgi?id=83235
     5
     6        Reviewed by Adam Barth.
     7
     8        Implement calendarTodayText() and calendarClearText(), which are
     9        introduced in http://trac.webkit.org/changeset/113166
     10
     11        * public/platform/WebLocalizedString.h:
     12        Add CalendarClear and CalendarToday.
     13        * src/LocalizedStrings.cpp:
     14        (WebCore::calendarTodayText): Added.
     15        (WebCore::calendarClearText): Added.
     16
    1172012-04-04  Mark Pilgrim  <pilgrim@chromium.org>
    218
  • trunk/Source/WebKit/chromium/public/platform/WebLocalizedString.h

    r111734 r113280  
    4747        AXUncheckedCheckBoxActionVerb,
    4848        AXWebAreaText,
     49        CalendarClear,
     50        CalendarToday,
    4951        DetailsLabel,
    5052        FileButtonChooseFileLabel,
  • trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp

    r111734 r113280  
    401401}
    402402
     403#if ENABLE(CALENDAR_PICKER)
     404String calendarTodayText()
     405{
     406    return query(WebLocalizedString::CalendarToday);
     407}
     408
     409String calendarClearText()
     410{
     411    return query(WebLocalizedString::CalendarClear);
     412}
     413#endif
     414
    403415} // namespace WebCore
Note: See TracChangeset for help on using the changeset viewer.