Changeset 115116 in webkit


Ignore:
Timestamp:
Apr 24, 2012 2:58:42 PM (12 years ago)
Author:
tkent@chromium.org
Message:

[Chromium] Implement WebCore::dateFormat{DayInMonth,Month,Year}Text()
https://bugs.webkit.org/show_bug.cgi?id=84683

Reviewed by Dimitri Glazkov.

  • public/platform/WebLocalizedString.h:

Add DateFormat{DayInMonth,Month,Year}Label

  • src/LocalizedStrings.cpp:

(WebCore::dateFormatYearText): Implemented.
(WebCore::dateFormatMonthText): ditto.
(WebCore::dateFormatDayInMonthText): ditto.

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

Legend:

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

    r115109 r115116  
     12012-04-24  Kent Tamura  <tkent@chromium.org>
     2
     3        [Chromium] Implement WebCore::dateFormat{DayInMonth,Month,Year}Text()
     4        https://bugs.webkit.org/show_bug.cgi?id=84683
     5
     6        Reviewed by Dimitri Glazkov.
     7
     8        * public/platform/WebLocalizedString.h:
     9        Add DateFormat{DayInMonth,Month,Year}Label
     10        * src/LocalizedStrings.cpp:
     11        (WebCore::dateFormatYearText): Implemented.
     12        (WebCore::dateFormatMonthText): ditto.
     13        (WebCore::dateFormatDayInMonthText): ditto.
     14
    1152012-04-24  Tommy Widenflycht  <tommyw@google.com>
    216
  • trunk/Source/WebKit/chromium/public/platform/WebLocalizedString.h

    r113280 r115116  
    4949        CalendarClear,
    5050        CalendarToday,
     51        DateFormatDayInMonthLabel,
     52        DateFormatMonthLabel,
     53        DateFormatYearLabel,
    5154        DetailsLabel,
    5255        FileButtonChooseFileLabel,
  • trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp

    r114999 r115116  
    410410String dateFormatYearText()
    411411{
    412     // FXIME: Implement.
    413     return String();
     412    return query(WebLocalizedString::DateFormatYearLabel);
    414413}
    415414
    416415String dateFormatMonthText()
    417416{
    418     // FXIME: Implement.
    419     return String();
     417    return query(WebLocalizedString::DateFormatMonthLabel);
    420418}
    421419
    422420String dateFormatDayInMonthText()
    423421{
    424     // FXIME: Implement.
    425     return String();
     422    return query(WebLocalizedString::DateFormatDayInMonthLabel);
    426423}
    427424#endif
Note: See TracChangeset for help on using the changeset viewer.