Title: [115116] trunk/Source/WebKit/chromium
Revision
115116
Author
[email protected]
Date
2012-04-24 14:58:42 -0700 (Tue, 24 Apr 2012)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (115115 => 115116)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-04-24 21:56:48 UTC (rev 115115)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-04-24 21:58:42 UTC (rev 115116)
@@ -1,3 +1,17 @@
+2012-04-24  Kent Tamura  <[email protected]>
+
+        [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.
+
 2012-04-24  Tommy Widenflycht  <[email protected]>
 
         MediaStream API: Create a new flag for PeerConnection

Modified: trunk/Source/WebKit/chromium/public/platform/WebLocalizedString.h (115115 => 115116)


--- trunk/Source/WebKit/chromium/public/platform/WebLocalizedString.h	2012-04-24 21:56:48 UTC (rev 115115)
+++ trunk/Source/WebKit/chromium/public/platform/WebLocalizedString.h	2012-04-24 21:58:42 UTC (rev 115116)
@@ -48,6 +48,9 @@
         AXWebAreaText,
         CalendarClear,
         CalendarToday,
+        DateFormatDayInMonthLabel,
+        DateFormatMonthLabel,
+        DateFormatYearLabel,
         DetailsLabel,
         FileButtonChooseFileLabel,
         FileButtonChooseMultipleFilesLabel,

Modified: trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp (115115 => 115116)


--- trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp	2012-04-24 21:56:48 UTC (rev 115115)
+++ trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp	2012-04-24 21:58:42 UTC (rev 115116)
@@ -409,20 +409,17 @@
 
 String dateFormatYearText()
 {
-    // FXIME: Implement.
-    return String();
+    return query(WebLocalizedString::DateFormatYearLabel);
 }
 
 String dateFormatMonthText()
 {
-    // FXIME: Implement.
-    return String();
+    return query(WebLocalizedString::DateFormatMonthLabel);
 }
 
 String dateFormatDayInMonthText()
 {
-    // FXIME: Implement.
-    return String();
+    return query(WebLocalizedString::DateFormatDayInMonthLabel);
 }
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to