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

Side by Side Diff: ui/login/account_picker/user_pod_template.html

Issue 2918743002: [i18n] login UI i18n-content and values to $i18n{} (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « ui/login/account_picker/screen_account_picker.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <dom-module id="user-pod-template-shared-styles"> 1 <dom-module id="user-pod-template-shared-styles">
2 <template> 2 <template>
3 <link rel="stylesheet" href="user_pod_template.css"> 3 <link rel="stylesheet" href="user_pod_template.css">
4 </template> 4 </template>
5 </dom-module> 5 </dom-module>
6 6
7 <style is="custom-style" include="user-pod-template-shared-styles"></style> 7 <style is="custom-style" include="user-pod-template-shared-styles"></style>
8 8
9 <iron-iconset-svg name="user-pod" size="24"> 9 <iron-iconset-svg name="user-pod" size="24">
10 <svg> 10 <svg>
11 <defs> 11 <defs>
12 <!-- 12 <!--
13 Inlined from Polymer's iron-icons to avoid importing everything. 13 Inlined from Polymer's iron-icons to avoid importing everything.
14 See http://goo.gl/Y1OdAq for instructions on adding additional icons. 14 See http://goo.gl/Y1OdAq for instructions on adding additional icons.
15 --> 15 -->
16 <g id="arrow-forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5 .59L12 20l8-8z"/></g> 16 <g id="arrow-forward"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5 .59L12 20l8-8z"/></g>
17 <g id="close"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></g> 17 <g id="close"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></g>
18 </defs> 18 </defs>
19 </svg> 19 </svg>
20 </iron-iconset-svg> 20 </iron-iconset-svg>
21 21
22 <div id="user-pod-template" class="pod disabled" hidden> 22 <div id="user-pod-template" class="pod disabled" hidden>
23 <div class="user-image-pane"> 23 <div class="user-image-pane">
24 <div class="user-image-container"> 24 <div class="user-image-container">
25 <img class="user-image" alt> 25 <img class="user-image" alt>
26 </div> 26 </div>
27 <div class="signed-in-indicator" i18n-content="signedIn"></div> 27 <div class="signed-in-indicator">$i18n{signedIn}</div>
28 <div class="indicator-container"> 28 <div class="indicator-container">
29 <div class="indicator legacy-supervised-indicator"></div> 29 <div class="indicator legacy-supervised-indicator"></div>
30 <div class="indicator child-indicator"></div> 30 <div class="indicator child-indicator"></div>
31 <div class="indicator locked-indicator"></div> 31 <div class="indicator locked-indicator"></div>
32 </div> 32 </div>
33 </div> 33 </div>
34 <if expr="chromeos"> 34 <if expr="chromeos">
35 <div class="pin-container pin-disabled pin-tag"> 35 <div class="pin-container pin-disabled pin-tag">
36 <pin-keyboard enable-password hide-input></pin-keyboard> 36 <pin-keyboard enable-password hide-input></pin-keyboard>
37 </div> 37 </div>
38 </if> 38 </if>
39 <div class="main-pane"> 39 <div class="main-pane">
40 <div class="name-container"> 40 <div class="name-container">
41 <div class="learn-more-container"> 41 <div class="learn-more-container">
42 <div class="learn-more"></div> 42 <div class="learn-more"></div>
43 </div> 43 </div>
44 <div class="name"></div> 44 <div class="name"></div>
45 </div> 45 </div>
46 <div class="auth-container"> 46 <div class="auth-container">
47 <!-- Password Authentication --> 47 <!-- Password Authentication -->
48 <div class="custom-icon-container" hidden></div> 48 <div class="custom-icon-container" hidden></div>
49 <if expr="chromeos"> 49 <if expr="chromeos">
50 <div class="fingerprint-icon-container" hidden 50 <div class="fingerprint-icon-container" hidden
51 i18n-values="aria-label:fingerprintIconMessage"> 51 aria-label="$i18n{fingerprintIconMessage}">
52 <div class="custom-icon fingerprint-icon-image"></div> 52 <div class="custom-icon fingerprint-icon-image"></div>
53 </div> 53 </div>
54 </if> 54 </if>
55 <div class="password-entry-container"> 55 <div class="password-entry-container">
56 <div class="password-container"> 56 <div class="password-container">
57 <input type="password" class="password" 57 <input type="password" class="password"
58 i18n-values="placeholder:passwordHint"> 58 placeholder="$i18n{passwordHint}">
59 </div> 59 </div>
60 <if expr="chromeos"> 60 <if expr="chromeos">
61 <div class="capslock-hint-container"> 61 <div class="capslock-hint-container">
62 <img class="capslock-hint" 62 <img class="capslock-hint"
63 src="chrome://theme/IDR_LOGIN_PASSWORD_CAPS_LOCK" alt> 63 src="chrome://theme/IDR_LOGIN_PASSWORD_CAPS_LOCK" alt>
64 </div> 64 </div>
65 <paper-icon-button class="submit-button" disabled 65 <paper-icon-button class="submit-button" disabled
66 aria-label="$i18n{submitButtonAccessibleName}" 66 aria-label="$i18n{submitButtonAccessibleName}"
67 icon="user-pod:arrow-forward" tabindex="-1"> 67 icon="user-pod:arrow-forward" tabindex="-1">
68 </paper-icon-button> 68 </paper-icon-button>
69 </if> 69 </if>
70 </div> 70 </div>
71 <!-- User Click Authentication --> 71 <!-- User Click Authentication -->
72 <div class="password-label"></div> 72 <div class="password-label"></div>
73 <div class="signin-transition-container"> 73 <div class="signin-transition-container">
74 <span class="signing-in-label" i18n-content="signingIn"></span> 74 <span class="signing-in-label">$i18n{signingIn}</span>
75 <span class="animated-ellipsis-component0">.</span> 75 <span class="animated-ellipsis-component0">.</span>
76 <span class="animated-ellipsis-component1">.</span> 76 <span class="animated-ellipsis-component1">.</span>
77 <span class="animated-ellipsis-component2">.</span> 77 <span class="animated-ellipsis-component2">.</span>
78 </div> 78 </div>
79 <div class="reauth-hint-container"> 79 <div class="reauth-hint-container">
80 <span class="reauth-warning"></span> 80 <span class="reauth-warning"></span>
81 <span class="reauth-name-hint"></span> 81 <span class="reauth-name-hint"></span>
82 </div> 82 </div>
83 <div class="launch-app-button-container" hidden> 83 <div class="launch-app-button-container" hidden>
84 <button class="launch-app-button" i18n-content="launchAppButton"> 84 <button class="launch-app-button">$i18n{launchAppButton}</button>
85 </button>
86 </div> 85 </div>
87 </div> 86 </div>
88 </div> 87 </div>
89 <div class="action-box-area"> 88 <div class="action-box-area">
90 <div class="custom-appearance action-box-button"></div> 89 <div class="custom-appearance action-box-button"></div>
91 <!-- iron-icon is imported inside user_manager.html --> 90 <!-- iron-icon is imported inside user_manager.html -->
92 <iron-icon icon="cr:more-vert" class="action-box-icon"></iron-icon> 91 <iron-icon icon="cr:more-vert" class="action-box-icon"></iron-icon>
93 </div> 92 </div>
94 <div class="user-image-gradient-area"> 93 <div class="user-image-gradient-area">
95 </div> 94 </div>
96 <div class="user-type-icon-area" hidden> 95 <div class="user-type-icon-area" hidden>
97 <div class="custom-appearance user-type-icon-image"></div> 96 <div class="custom-appearance user-type-icon-image"></div>
98 </div> 97 </div>
99 <div class="action-box-menu"> 98 <div class="action-box-menu">
100 <div class="action-box-menu-title"> 99 <div class="action-box-menu-title">
101 <span class="action-box-menu-title-name"></span> 100 <span class="action-box-menu-title-name"></span>
102 <span class="action-box-menu-title-email"></span> 101 <span class="action-box-menu-title-email"></span>
103 </div> 102 </div>
104 <div class="action-box-menu-remove"> 103 <div class="action-box-menu-remove">
105 <span class="action-box-menu-remove-command"/> 104 <span class="action-box-menu-remove-command"/>
106 </div> 105 </div>
107 <div class="action-box-remove-user-warning" hidden> 106 <div class="action-box-remove-user-warning" hidden>
108 <div class="action-box-remove-user-warning-text"></div> 107 <div class="action-box-remove-user-warning-text"></div>
109 <table class="action-box-remove-user-warning-table-nonsync 108 <table class="action-box-remove-user-warning-table-nonsync
110 non-sync has-stats"> 109 non-sync has-stats">
111 <tbody> 110 <tbody>
112 <tr> 111 <tr>
113 <td i18n-content="removeUserWarningTextHistory"></td> 112 <td>$i18n{removeUserWarningTextHistory}</td>
114 <td class="action-box-remove-user-warning-history 113 <td class="action-box-remove-user-warning-history
115 action-box-remove-user-warning-table-numbers" 114 action-box-remove-user-warning-table-numbers">
116 i18n-content="removeUserWarningTextCalculating"></td> 115 $i18n{removeUserWarningTextCalculating}
116 </td>
117 </tr> 117 </tr>
118 <tr> 118 <tr>
119 <td i18n-content="removeUserWarningTextPasswords"></td> 119 <td>$i18n{removeUserWarningTextPasswords}</td>
120 <td class="action-box-remove-user-warning-passwords 120 <td class="action-box-remove-user-warning-passwords
121 action-box-remove-user-warning-table-numbers" 121 action-box-remove-user-warning-table-numbers">
122 i18n-content="removeUserWarningTextCalculating"></td> 122 $i18n{removeUserWarningTextCalculating}
123 </td>
123 </tr> 124 </tr>
124 <tr> 125 <tr>
125 <td i18n-content="removeUserWarningTextBookmarks"></td> 126 <td>$i18n{removeUserWarningTextBookmarks}</td>
126 <td class="action-box-remove-user-warning-bookmarks 127 <td class="action-box-remove-user-warning-bookmarks
127 action-box-remove-user-warning-table-numbers" 128 action-box-remove-user-warning-table-numbers">
128 i18n-content="removeUserWarningTextCalculating"></td> 129 $i18n{removeUserWarningTextCalculating}
130 </td>
129 </tr> 131 </tr>
130 <tr> 132 <tr>
131 <td i18n-content="removeUserWarningTextSettings"></td> 133 <td>$i18n{removeUserWarningTextSettings}</td>
132 <td class="action-box-remove-user-warning-settings 134 <td class="action-box-remove-user-warning-settings
133 action-box-remove-user-warning-table-numbers" 135 action-box-remove-user-warning-table-numbers">
134 i18n-content="removeUserWarningTextCalculating"></td> 136 $i18n{removeUserWarningTextCalculating}
137 </td>
135 </tr> 138 </tr>
136 </tbody> 139 </tbody>
137 </table> 140 </table>
138 <div class="action-box-remove-legacy-supervised-user-warning-text" 141 <div class="action-box-remove-legacy-supervised-user-warning-text">
139 i18n-content="removeLegacySupervisedUserWarningText"></div> 142 $i18n{removeLegacySupervisedUserWarningText}
140 <div class="action-box-remove-non-owner-user-warning-text" 143 </div>
141 i18n-content="removeNonOwnerUserWarningText"></div> 144 <div class="action-box-remove-non-owner-user-warning-text">
145 $i18n{removeNonOwnerUserWarningText}
146 </div>
142 <!-- paper-button is imported inside user_manager.html --> 147 <!-- paper-button is imported inside user_manager.html -->
143 <paper-button class="remove-warning-button" 148 <paper-button class="remove-warning-button">
144 i18n-content="removeUserWarningButtonTitle"></paper-button> 149 $i18n{removeUserWarningButtonTitle}
150 </paper-button>
145 </div> 151 </div>
146 </div> 152 </div>
147 <div class="user-type-bubble"> 153 <div class="user-type-bubble">
148 <div class="user-type-bubble-header"> 154 <div class="user-type-bubble-header">
149 <span class="mp-policy-title" 155 <span class="mp-policy-title">
150 i18n-content="multiProfilesRestrictedPolicyTitle"></span> 156 $i18n{multiProfilesRestrictedPolicyTitle}
157 </span>
151 </div> 158 </div>
152 <div class="user-type-bubble-body"> 159 <div class="user-type-bubble-body">
153 <span class="mp-policy-not-allowed-msg" 160 <span class="mp-policy-not-allowed-msg" hidden>
154 i18n-content="multiProfilesNotAllowedPolicyMsg" hidden></span> 161 $i18n{multiProfilesNotAllowedPolicyMsg}
155 <span class="mp-policy-primary-only-msg" 162 </span>
156 i18n-content="multiProfilesPrimaryOnlyPolicyMsg" hidden></span> 163 <span class="mp-policy-primary-only-msg" hidden>
157 <span class="mp-owner-primary-only-msg" 164 $i18n{multiProfilesPrimaryOnlyPolicyMsg}
158 i18n-content="multiProfilesOwnerPrimaryOnlyMsg" hidden></span> 165 </span>
166 <span class="mp-owner-primary-only-msg" hidden>
167 $i18n{multiProfilesOwnerPrimaryOnlyMsg}
168 </span>
159 </div> 169 </div>
160 </div> 170 </div>
161 </div> 171 </div>
162 172
163 <!-- Extra elements that are appended to above "user-pod-template" for public 173 <!-- Extra elements that are appended to above "user-pod-template" for public
164 account user pod. Note that only the children of the template div are 174 account user pod. Note that only the children of the template div are
165 appended. --> 175 appended. -->
166 <div id="public-account-user-pod-extras-template" hidden> 176 <div id="public-account-user-pod-extras-template" hidden>
167 <div class="expanded-pane"> 177 <div class="expanded-pane">
168 <div class="expanded-pane-contents"> 178 <div class="expanded-pane-contents">
169 <div class="side-container"> 179 <div class="side-container">
170 <div class="expanded-pane-name"></div> 180 <div class="expanded-pane-name"></div>
171 <div class="expanded-pane-container"> 181 <div class="expanded-pane-container">
172 <div class="expanded-pane-learn-more-container"> 182 <div class="expanded-pane-learn-more-container">
173 <div class="expanded-pane-learn-more"></div> 183 <div class="expanded-pane-learn-more"></div>
174 </div> 184 </div>
175 <div class="info"></div> 185 <div class="info"></div>
176 <div class="monitoring-container"> 186 <div class="monitoring-container">
177 <span class="monitoring-warning" 187 <span class="monitoring-warning">
178 i18n-content="publicAccountMonitoringWarning"></span> 188 $i18n{publicAccountMonitoringWarning}
179 <a class="monitoring-learn-more" href="#" role="button" 189 </span>
180 i18n-content="publicAccountLearnMore"></a> 190 <a class="monitoring-learn-more" href="#" role="button">
191 $i18n{publicAccountLearnMore}
192 </a>
181 </div> 193 </div>
182 <div class="reminder" i18n-content="publicAccountReminder"></div> 194 <div class="reminder">$i18n{publicAccountReminder}</div>
183 <div class="language-and-input-section"> 195 <div class="language-and-input-section">
184 <div class="select-with-label"> 196 <div class="select-with-label">
185 <label class="language-select-label" 197 <label class="language-select-label">
186 i18n-content="publicSessionSelectLanguage"> 198 $i18n{publicSessionSelectLanguage}
187 </label> 199 </label>
188 <div class="select-container"> 200 <div class="select-container">
189 <select class="language-select"></select> 201 <select class="language-select"></select>
190 </div> 202 </div>
191 </div> 203 </div>
192 <div class="select-with-label"> 204 <div class="select-with-label">
193 <label class="keyboard-select-label" 205 <label class="keyboard-select-label">
194 i18n-content="publicSessionSelectKeyboard"> 206 $i18n{publicSessionSelectKeyboard}
195 </label> 207 </label>
196 <div class="select-container"> 208 <div class="select-container">
197 <select class="keyboard-select"></select> 209 <select class="keyboard-select"></select>
198 </div> 210 </div>
199 </div> 211 </div>
200 </div> 212 </div>
201 </div> 213 </div>
202 </div> 214 </div>
203 <div class="horizontal-line"></div> 215 <div class="horizontal-line"></div>
204 <div class="bottom-container"> 216 <div class="bottom-container">
205 <paper-button raised class="enter-button" 217 <paper-button raised class="enter-button"
206 i18n-content="publicAccountEnter" 218 aria-label="$i18n{publicAccountEnterAccessibleName}">
207 i18n-values="aria-label:publicAccountEnterAccessibleName"> 219 $i18n{publicAccountEnter}
208 </paper-button> 220 </paper-button>
209 <div class="language-and-input-container"> 221 <div class="language-and-input-container">
210 <a class="language-and-input" href="#" role="button" 222 <a class="language-and-input" href="#" role="button">
211 i18n-content="publicSessionLanguageAndInput"></a> 223 $i18n{publicSessionLanguageAndInput}
224 </a>
212 </div> 225 </div>
213 </div> 226 </div>
214 </div> 227 </div>
215 </div> 228 </div>
216 </div> 229 </div>
OLDNEW
« no previous file with comments | « ui/login/account_picker/screen_account_picker.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698