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

Unified Diff: webkit/glue/webkit_strings.grd

Issue 4678006: Add form validation message strings.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/webkitclient_impl.h » ('j') | webkit/glue/webkitclient_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webkit_strings.grd
===================================================================
--- webkit/glue/webkit_strings.grd (revision 66099)
+++ webkit/glue/webkit_strings.grd (working copy)
@@ -297,6 +297,37 @@
1024 (Medium Grade)
</message>
+ <message name="IDS_FORM_VALIDATION_VALUE_MISSING" desc="Heading or short sentence shown when a form control in a web page requires a value, but a user don't specify any value.">
tony 2010/11/16 18:11:41 "but the user didn't specify"
tkent 2010/11/22 10:19:06 Done.
+ Need to specify a value.
tony 2010/11/16 18:11:41 Your text sounds fine, but it's a bit wordy. Mayb
+ </message>
+ <message name="IDS_FORM_VALIDATION_TYPE_MISMATCH" desc="Heading or short sentence shown when a form control in a web page requires specific type such as email address or URL, but the specified value does not comform to the type.">
+ The value does not conform to the field type.
tony 2010/11/16 18:11:41 Is it possible for this error message to be specif
tkent 2010/11/22 10:19:06 This message is for types which have no specific l
+ </message>
+ <message name="IDS_FORM_VALIDATION_TYPE_MISMATCH_EMAIL" desc="Heading or short sentence shown when there is an email field in a form and a user specified a value which doesn't look like an e-mail address.">
+ Please specify an e-mail address like foo@example.org.
tony 2010/11/16 18:11:41 Invalid e-mail address.
+ </message>
+ <message name="IDS_FORM_VALIDATION_TYPE_MISMATCH_MULTIPLE_EMAIL" desc="Heading or short sentence shown there is a field which accepts multiple e-mail addresses and a user specified a value which is not a comma-separated e-mail addresses.">
+ Please specify comma-separated e-mail addresses.
tony 2010/11/16 18:11:41 Comma separated list of e-mail addresses required.
tkent 2010/11/22 10:19:06 One email address is allowed. I updated this mess
+ </message>
+ <message name="IDS_FORM_VALIDATION_TYPE_MISMATCH_URL" desc="Heading or short sentence shown when there is a URL field in a form and a user specified a value which doesn't look like a URL.">
+ Please specify a URL such as http://www.example.com/foo .
tony 2010/11/16 18:11:41 Does this type of form field require http or https
tkent 2010/11/22 10:19:06 The value needs to start with the URL scheme like
+ </message>
+ <message name="IDS_FORM_VALIDATION_PATTERN_MISMATCH" desc="Heading or short sentence shown when a form control value needs to satisfy a pattern specified by the page author, but a user specified unmatched value.">
+ The value does not match to a character restriction for this field.
tony 2010/11/16 18:11:41 The value does not match the character restriction
+ </message>
+ <message name="IDS_FORM_VALIDATION_TOO_LONG" desc="Heading or short sentence shown when a form control in a web page needs to be shoter than a length specified by the page author, but a user specified long value.">
+ The length of the value is <ph name="CURRENT_LENGTH">$1<ex>101</ex></ph> characters. It shoud be shorter than <ph name="MAX_CHARACTERS">$2<ex>100</ex></ph> characters.
tony 2010/11/16 18:11:41 Text is $1 characters too long.
+ </message>
+ <message name="IDS_FORM_VALIDATION_RANGE_UNDERFLOW" desc="Heading or short sentence shown when a form control value in a web page needs to be larger than or equal to a minimum value specified by the page author, but a user specified a too small value.">
+ Please specify a value equal to or greater than <ph name="MINIMUM">$1<ex>0</ex></ph>.
tony 2010/11/16 18:11:41 Value must be greater than or equal to $1.
tkent 2010/11/22 10:19:06 Done.
+ </message>
+ <message name="IDS_FORM_VALIDATION_RANGE_OVERFLOW" desc="Heading or short sentence shown when a form control value in a web page needs to be smaller than or equal to a maximum value specified by the page author, but a user specified a too large value.">
+ Please specify a value equal to or smaller than <ph name="MAXIMUM">$1<ex>100</ex></ph>.
tony 2010/11/16 18:11:41 Value must be less than or equal to $1.
tkent 2010/11/22 10:19:06 Done.
+ </message>
+ <message name="IDS_FORM_VALIDATION_STEP_MISMATCH" desc="Heading or short sentence shown when a form control value in a web page should be aligned to a step value specified by the page author, but a user speficified non-aligned value. e.g. A number type field, minimum value is 0, and step value is 4. If A user-specified value is not a multiple of 4, this warning message is shown.">
+ The value should be a multiple of <ph name="STEP_VALUE">$2<ex>4</ex></ph>, based on <ph name="BASE_VALUE">$1<ex>0</ex></ph>.
tony 2010/11/16 18:11:41 This is also really confusing. Maybe just "Invali
tkent 2010/11/22 10:19:06 Done.
+ </message>
+
<message name="IDS_DEFAULT_PLUGIN_GET_PLUGIN_MSG" desc="Message displayed by the default plugin in its main window">
<ph name="PLUGIN">$1<ex>Realplayer</ex></ph> plug-in is not installed
</message>
« no previous file with comments | « no previous file | webkit/glue/webkitclient_impl.h » ('j') | webkit/glue/webkitclient_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698