Title: [135860] trunk/Source
Revision
135860
Author
[email protected]
Date
2012-11-27 07:06:14 -0800 (Tue, 27 Nov 2012)

Log Message

Add WebLocalizedString for validation type badinput
https://bugs.webkit.org/show_bug.cgi?id=103381

Reviewed by Kent Tamura.

Source/Platform:

Adding WebLocalizedString enums for validation type badinput text.

* chromium/public/WebLocalizedString.h:

Source/WebKit/chromium:

* src/LocalizedStrings.cpp:
(WebCore::validationMessageBadInputForNumberText): Using the newly added WebLocalizedString enum.
(WebCore::validationMessageBadInputForDateTimeText): Ditto.

Modified Paths

Diff

Modified: trunk/Source/Platform/ChangeLog (135859 => 135860)


--- trunk/Source/Platform/ChangeLog	2012-11-27 14:56:51 UTC (rev 135859)
+++ trunk/Source/Platform/ChangeLog	2012-11-27 15:06:14 UTC (rev 135860)
@@ -1,3 +1,14 @@
+2012-11-27  Keishi Hattori  <[email protected]>
+
+        Add WebLocalizedString for validation type badinput
+        https://bugs.webkit.org/show_bug.cgi?id=103381
+
+        Reviewed by Kent Tamura.
+
+        Adding WebLocalizedString enums for validation type badinput text.
+
+        * chromium/public/WebLocalizedString.h:
+
 2012-11-26  James Robinson  <[email protected]>
 
         [chromium] Remove deprecated and unused WebGraphicsContext3D compositor binding calls

Modified: trunk/Source/Platform/chromium/public/WebLocalizedString.h (135859 => 135860)


--- trunk/Source/Platform/chromium/public/WebLocalizedString.h	2012-11-27 14:56:51 UTC (rev 135859)
+++ trunk/Source/Platform/chromium/public/WebLocalizedString.h	2012-11-27 15:06:14 UTC (rev 135860)
@@ -86,6 +86,8 @@
         SubmitButtonDefaultLabel,
         ThisMonthButtonLabel,
         ThisWeekButtonLabel,
+        ValidationBadInputForNumber,
+        ValidationBadInputForDateTime,
         ValidationPatternMismatch,
         ValidationRangeOverflow,
         ValidationRangeUnderflow,

Modified: trunk/Source/WebKit/chromium/ChangeLog (135859 => 135860)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-11-27 14:56:51 UTC (rev 135859)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-11-27 15:06:14 UTC (rev 135860)
@@ -1,3 +1,14 @@
+2012-11-27  Keishi Hattori  <[email protected]>
+
+        Add WebLocalizedString for validation type badinput
+        https://bugs.webkit.org/show_bug.cgi?id=103381
+
+        Reviewed by Kent Tamura.
+
+        * src/LocalizedStrings.cpp:
+        (WebCore::validationMessageBadInputForNumberText): Using the newly added WebLocalizedString enum.
+        (WebCore::validationMessageBadInputForDateTimeText): Ditto.
+
 2012-11-27  Alec Flett  <[email protected]>
 
         IndexedDB: stub out IDBDatabaseBackendInterface::createTransaction

Modified: trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp (135859 => 135860)


--- trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp	2012-11-27 14:56:51 UTC (rev 135859)
+++ trunk/Source/WebKit/chromium/src/LocalizedStrings.cpp	2012-11-27 15:06:14 UTC (rev 135860)
@@ -506,15 +506,13 @@
 
 String validationMessageBadInputForNumberText()
 {
-    notImplemented();
-    return String("Bad number");
+    return query(WebLocalizedString::ValidationBadInputForNumber);
 }
 
 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
 String validationMessageBadInputForDateTimeText()
 {
-    notImplemented();
-    return String("Bad date");
+    return query(WebLocalizedString::ValidationBadInputForDateTime);
 }
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to