Changeset 129728 in webkit
- Timestamp:
- Sep 26, 2012 10:47:00 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/Platform/ChangeLog
r129672 r129728 1 2012-09-26 Yoshifumi Inoue <yosin@chromium.org> 2 3 [Forms] Adding localization texts for multiple fields date/time input UI 4 https://bugs.webkit.org/show_bug.cgi?id=97633 5 6 Reviewed by Kent Tamura. 7 8 This patch adds localized string enum fields for getting localized 9 strings used in multiple fields date/time input UI. 10 11 * chromium/public/WebLocalizedString.h: Added PlaceholderForDayOfMonthField, 12 PlaceholderForMonthField, PlaceholderForYearField, MonthFormatInLDML, 13 and WeekFormatInLDML. 14 1 15 2012-09-26 Sheriff Bot <webkit.review.bot@gmail.com> 2 16 -
trunk/Source/Platform/chromium/public/WebLocalizedString.h
r129125 r129728 70 70 KeygenMenuMediumGradeKeySize, 71 71 MissingPluginText, 72 MonthFormatInLDML, 72 73 MultipleFileUploadText, 73 74 OtherColorLabel, 74 75 OtherDateLabel, 76 PlaceholderForDayOfMonthField, 77 PlaceholderForMonthField, 78 PlaceholderForYearField, 75 79 ResetButtonDefaultLabel, 76 80 SearchableIndexIntroduction, … … 94 98 ValidationValueMissingForRadio, 95 99 ValidationValueMissingForSelect, 100 WeekFormatInLDML, 96 101 }; 97 102 }; -
trunk/Source/WebCore/ChangeLog
r129727 r129728 1 2012-09-26 Yoshifumi Inoue <yosin@chromium.org> 2 3 [Forms] Adding localization texts for multiple fields date/time input UI 4 https://bugs.webkit.org/show_bug.cgi?id=97633 5 6 Reviewed by Kent Tamura. 7 8 This patch adds function declarations for getting localized strings 9 used in multiple fields date/time input UI inside ENABLE_INPUT_MULTIPLE_FIELDS_UI. 10 11 New functions are: 12 - placeholderForDayOfMonthField() 13 It returns localized placeholder text, e.g. "dd", for date field 14 used in multiple fields "date", "datetime", and "datetime-local" 15 input UI instead "--". 16 17 - placeholderForfMonthField() 18 It returns localized placeholder text, e.g. "mm", for month field 19 used in multiple fields "date", "datetime", and "datetime-local" 20 input UI instead "--". 21 22 - placeholderForYearField() 23 It returns localized placeholder text, e.g. "yyyy", for year field 24 used in multiple fields "date", "datetime", and "datetime-local" 25 input UI instead "----". 26 27 - monthFormatInLDML() 28 It returns month and year format in LDML, Unicode technical 29 standard 35, Locale Data Markup Language, e.g. "MM-yyyyy" for 30 "month" input type. 31 32 - monthFormatInLDML() 33 It returns week and year format in LDML, e.g. "WW-yyyyy" for 34 "week" input type. 35 36 No new tests. This patch doesn't change behavior. 37 38 * platform/LocalizedStrings.h: 39 (WebCore): Added declarations of placeholderForDayOfMonthField(), placeholderForMonthField(), 40 placeholderForYearField(), monthFormatInLDML() and weekFormatInLDML(). 41 1 42 2012-09-26 Huang Dongsung <luxtella@company100.net> 2 43 -
trunk/Source/WebCore/platform/LocalizedStrings.h
r129612 r129728 177 177 String AXWeekOfYearFieldText(); 178 178 String AXYearFieldText(); 179 180 // placeholderForDayOfMonthField() returns localized placeholder text, e.g. 181 // "dd", for date field used in multiple fields "date", "datetime", and 182 // "datetime-local" input UI instead "--". 183 String placeholderForDayOfMonthField(); 184 185 // placeholderForfMonthField() returns localized placeholder text, e.g. 186 // "mm", for month field used in multiple fields "date", "datetime", and 187 // "datetime-local" input UI instead "--". 188 String placeholderForMonthField(); 189 190 // placeholderForYearField() returns localized placeholder text, e.g. 191 // "yyyy", for year field used in multiple fields "date", "datetime", and 192 // "datetime-local" input UI instead "----". 193 String placeholderForYearField(); 194 195 // monthFormatInLDML() returns month and year format in LDML, Unicode 196 // technical standard 35, Locale Data Markup Language, e.g. "MM-yyyyy" 197 // for "month" input type. 198 String monthFormatInLDML(); 199 200 // monthFormatInLDML() returns week and year format in LDML, Unicode 201 // technical standard 35, Locale Data Markup Language, e.g. "WW-yyyyy" 202 // for "week" input type. 203 String weekFormatInLDML(); 179 204 #endif 180 205 -
trunk/Source/WebKit/chromium/ChangeLog
r129697 r129728 1 2012-09-26 Yoshifumi Inoue <yosin@chromium.org> 2 3 [Forms] Adding localization texts for multiple fields date/time input UI 4 https://bugs.webkit.org/show_bug.cgi?id=97633 5 6 Reviewed by Kent Tamura. 7 8 This patch adds functions for getting localized strings used in 9 multiple fields date/time input UI inside ENABLE_INPUT_MULTIPLE_FIELDS_UI. 10 11 These functions will be used by DateInputType, DateTimeInputType, 12 DateTimeLocalInputType, MonthInputTypee, and WeekInputType. 13 14 * src/LocalizedStrings.cpp: 15 (WebCore::placeholderForDayOfMonthField): Added. 16 (WebCore::placeholderForMonthField): Added. 17 (WebCore::placeholderForYearField): Added. 18 (WebCore::monthFormatInLDML): Added. 19 (WebCore::weekFormatInLDML): Added. 20 1 21 2012-09-26 Sheriff Bot <webkit.review.bot@gmail.com> 2 22 -
trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp
r129612 r129728 253 253 return query(WebLocalizedString::AXYearFieldText); 254 254 } 255 256 String placeholderForDayOfMonthField() 257 { 258 return query(WebLocalizedString::PlaceholderForDayOfMonthField); 259 } 260 261 String placeholderForMonthField() 262 { 263 return query(WebLocalizedString::PlaceholderForMonthField); 264 } 265 266 String placeholderForYearField() 267 { 268 return query(WebLocalizedString::PlaceholderForYearField); 269 } 270 271 String monthFormatInLDML() 272 { 273 return query(WebLocalizedString::MonthFormatInLDML); 274 } 275 276 String weekFormatInLDML() 277 { 278 return query(WebLocalizedString::WeekFormatInLDML); 279 } 280 255 281 #endif 256 282
Note: See TracChangeset
for help on using the changeset viewer.