Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Issue 4678006: Add form validation message strings.... (Closed)

Created:
10 years, 1 month ago by tkent
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add form validation message strings. * webkit/glue/ - Add overloads of queryLocalizedString() functions They will be added to WebKit::WebKitClient later. - Add implementations for WebLocalizedString::Validation* - Add message strings The English strings are different from WebKit's to avoid the brusque WebKit's strings. Port some messages from Mozilla. * webkit/tools/test_shell/ and webkit/support/ Hook queryLocalizedString() functions in order to return messages same as WebKit in layout test. BUG=28264 TEST=LayoutTests/fast/forms/validationMessage.html Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67382

Patch Set 1 : '' #

Total comments: 26

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -7 lines) Patch
M webkit/glue/webkit_strings.grd View 1 1 chunk +87 lines, -0 lines 0 comments Download
M webkit/glue/webkitclient_impl.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/glue/webkitclient_impl.cc View 1 2 chunks +51 lines, -7 lines 0 comments Download
M webkit/support/test_webkit_client.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/support/test_webkit_client.cc View 1 1 chunk +52 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.cc View 1 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
tkent
Hi, My English messages should be not good. Would you give me advice on them ...
10 years, 1 month ago (2010-11-15 08:07:00 UTC) #1
tony
Brian, who would be a good person to provide English strings for these error messages? ...
10 years, 1 month ago (2010-11-16 18:11:41 UTC) #2
tkent
Thank you for reviewing. I'll update the patch. On 2010/11/16 18:11:41, tony wrote: > Brian, ...
10 years, 1 month ago (2010-11-17 00:43:38 UTC) #3
tony
On 2010/11/17 00:43:38, Kent Tamura wrote: > Yes, Opera and Firefox 4.0b7 already have translations ...
10 years, 1 month ago (2010-11-17 00:47:34 UTC) #4
tkent
On 2010/11/17 00:47:34, tony wrote: > I would just copy the Firefox strings (I think ...
10 years, 1 month ago (2010-11-17 01:07:27 UTC) #5
tkent
What should we do for the license header of webkit_strings.grd if we copy the Firefox ...
10 years, 1 month ago (2010-11-17 02:21:20 UTC) #6
tony
On 2010/11/17 02:21:20, Kent Tamura wrote: > What should we do for the license header ...
10 years, 1 month ago (2010-11-17 16:27:17 UTC) #7
tkent
http://codereview.chromium.org/4678006/diff/7001/webkit/glue/webkit_strings.grd File webkit/glue/webkit_strings.grd (right): http://codereview.chromium.org/4678006/diff/7001/webkit/glue/webkit_strings.grd#newcode300 webkit/glue/webkit_strings.grd:300: <message name="IDS_FORM_VALIDATION_VALUE_MISSING" desc="Heading or short sentence shown when a ...
10 years, 1 month ago (2010-11-22 10:19:05 UTC) #8
tony
LGTM!
10 years, 1 month ago (2010-11-22 17:47:34 UTC) #9
tkent
Darin, I'd like to change WebKitClient::queryLocalizedString(). This Chromium change is a preparation for it. 1. ...
10 years, 1 month ago (2010-11-23 14:48:27 UTC) #10
darin (slow to review)
On Tue, Nov 23, 2010 at 6:48 AM, <tkent@chromium.org> wrote: > Darin, > I'd like ...
10 years, 1 month ago (2010-11-23 16:53:41 UTC) #11
tkent
10 years, 1 month ago (2010-11-25 04:50:28 UTC) #12
On 2010/11/23 16:53:41, darin wrote:
> OK.  I presume that the WebString parameters are intended as substitution
> parameters
> to the localized string, right?

Right.

> How about giving them more self-documenting names, or add a comment
> explaining
> what they are.

I see.  I'll add a comment.

Powered by Google App Engine
This is Rietveld 408576698