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

Side by Side Diff: chrome/browser/resources/settings/site_settings/add_site_dialog.html

Issue 2787053002: MD Settings: Change some instances of "Not valid" to "Not a valid web address". (Closed)
Patch Set: nit. Created 3 years, 8 months 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
2 <link rel="import" href="chrome://resources/html/polymer.html"> 2 <link rel="import" href="chrome://resources/html/polymer.html">
3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
7 <link rel="import" href="../i18n_setup.html"> 7 <link rel="import" href="../i18n_setup.html">
8 <link rel="import" href="../settings_shared_css.html"> 8 <link rel="import" href="../settings_shared_css.html">
9 <link rel="import" href="constants.html"> 9 <link rel="import" href="constants.html">
10 <link rel="import" href="site_settings_behavior.html"> 10 <link rel="import" href="site_settings_behavior.html">
11 11
12 <dom-module id="add-site-dialog"> 12 <dom-module id="add-site-dialog">
13 <template> 13 <template>
14 <style include="settings-shared"> 14 <style include="settings-shared">
15 #incognito { 15 #incognito {
16 margin-bottom: 2px; 16 margin-bottom: 2px;
17 margin-top: 15px; 17 margin-top: 15px;
18 } 18 }
19 </style> 19 </style>
20 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> 20 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}">
21 <div class="title">$i18n{addSiteTitle}</div> 21 <div class="title">$i18n{addSiteTitle}</div>
22 <div class="body"> 22 <div class="body">
23 <iron-a11y-keys id="keys" keys="enter" 23 <iron-a11y-keys id="keys" keys="enter"
24 on-keys-pressed="onSubmit_"></iron-a11y-keys> 24 on-keys-pressed="onSubmit_"></iron-a11y-keys>
25 <paper-input id="site" always-float-label label="$i18n{addSite}" 25 <paper-input id="site" always-float-label label="$i18n{addSite}"
26 placeholder="$i18n{addSiteExceptionPlaceholder}" 26 placeholder="$i18n{addSiteExceptionPlaceholder}"
27 value="{{site_}}" on-input="validate_" 27 value="{{site_}}" on-input="validate_"
28 error-message="$i18n{notValid}" autofocus></paper-input> 28 error-message="$i18n{notValidWebAddress}" autofocus></paper-input>
29 <paper-checkbox id="incognito"> 29 <paper-checkbox id="incognito">
30 $i18n{incognitoSiteOnly} 30 $i18n{incognitoSiteOnly}
31 </paper-checkbox> 31 </paper-checkbox>
32 </div> 32 </div>
33 <div class="button-container"> 33 <div class="button-container">
34 <paper-button class="cancel-button" on-tap="onCancelTap_"> 34 <paper-button class="cancel-button" on-tap="onCancelTap_">
35 $i18n{cancel} 35 $i18n{cancel}
36 </paper-button> 36 </paper-button>
37 <paper-button class="action-button" id="add" 37 <paper-button class="action-button" id="add"
38 on-tap="onSubmit_" disabled> 38 on-tap="onSubmit_" disabled>
39 $i18n{add} 39 $i18n{add}
40 </paper-button> 40 </paper-button>
41 </div> 41 </div>
42 </dialog> 42 </dialog>
43 </template> 43 </template>
44 <script src="add_site_dialog.js"></script> 44 <script src="add_site_dialog.js"></script>
45 </dom-module> 45 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698