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

Side by Side Diff: ui/login/account_picker/md_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
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="md_user_pod_template.css"> 3 <link rel="stylesheet" href="md_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 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 8 <link rel="import" href="chrome://resources/cr_elements/icons.html">
9 9
10 <iron-iconset-svg name="user-pod" size="24"> 10 <iron-iconset-svg name="user-pod" size="24">
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 <paper-icon-button class="action-box-button" disabled 51 <paper-icon-button class="action-box-button" disabled
52 icon="user-pod:dropdown"> 52 icon="user-pod:dropdown">
53 </paper-icon-button> 53 </paper-icon-button>
54 <iron-icon icon="cr:more-vert" class="action-box-icon"></iron-icon> 54 <iron-icon icon="cr:more-vert" class="action-box-icon"></iron-icon>
55 </div> 55 </div>
56 <div class="action-box-menu"> 56 <div class="action-box-menu">
57 <div class="action-box-menu-title"> 57 <div class="action-box-menu-title">
58 <span class="action-box-menu-title-name"></span> 58 <span class="action-box-menu-title-name"></span>
59 <span class="action-box-menu-title-email"></span> 59 <span class="action-box-menu-title-email"></span>
60 </div> 60 </div>
61 <div class="action-box-menu-remove" 61 <div class="action-box-menu-remove">
62 i18n-content="removeUserWarningButtonTitle"> 62 $i18n{removeUserWarningButtonTitle}
63 </div> 63 </div>
64 <div class="action-box-remove-user-warning" hidden> 64 <div class="action-box-remove-user-warning" hidden>
65 <div class="action-box-remove-user-warning-text"></div> 65 <div class="action-box-remove-user-warning-text"></div>
66 <table class="action-box-remove-user-warning-table-nonsync 66 <table class="action-box-remove-user-warning-table-nonsync
67 non-sync has-stats"> 67 non-sync has-stats">
68 <tbody> 68 <tbody>
69 <tr> 69 <tr>
70 <td i18n-content="removeUserWarningTextHistory"></td> 70 <td>$i18n{removeUserWarningTextHistory}</td>
71 <td class="action-box-remove-user-warning-history 71 <td class="action-box-remove-user-warning-history
72 action-box-remove-user-warning-table-numbers" 72 action-box-remove-user-warning-table-numbers">
73 i18n-content="removeUserWarningTextCalculating"></td> 73 $i18n{removeUserWarningTextCalculating}
74 </td>
74 </tr> 75 </tr>
75 <tr> 76 <tr>
76 <td i18n-content="removeUserWarningTextPasswords"></td> 77 <td>$i18n{removeUserWarningTextPasswords}</td>
77 <td class="action-box-remove-user-warning-passwords 78 <td class="action-box-remove-user-warning-passwords
78 action-box-remove-user-warning-table-numbers" 79 action-box-remove-user-warning-table-numbers">
79 i18n-content="removeUserWarningTextCalculating"></td> 80 $i18n{removeUserWarningTextCalculating}
81 </td>
80 </tr> 82 </tr>
81 <tr> 83 <tr>
82 <td i18n-content="removeUserWarningTextBookmarks"></td> 84 <td>$i18n{removeUserWarningTextBookmarks}</td>
83 <td class="action-box-remove-user-warning-bookmarks 85 <td class="action-box-remove-user-warning-bookmarks
84 action-box-remove-user-warning-table-numbers" 86 action-box-remove-user-warning-table-numbers">
85 i18n-content="removeUserWarningTextCalculating"></td> 87 $i18n{removeUserWarningTextCalculating}
88 </td>
86 </tr> 89 </tr>
87 <tr> 90 <tr>
88 <td i18n-content="removeUserWarningTextSettings"></td> 91 <td>$i18n{removeUserWarningTextSettings}</td>
89 <td class="action-box-remove-user-warning-settings 92 <td class="action-box-remove-user-warning-settings
90 action-box-remove-user-warning-table-numbers" 93 action-box-remove-user-warning-table-numbers">
91 i18n-content="removeUserWarningTextCalculating"></td> 94 $i18n{removeUserWarningTextCalculating}
95 </td>
92 </tr> 96 </tr>
93 </tbody> 97 </tbody>
94 </table> 98 </table>
95 <div class="action-box-remove-legacy-supervised-user-warning-text" 99 <div class="action-box-remove-legacy-supervised-user-warning-text">
96 i18n-content="removeLegacySupervisedUserWarningText"></div> 100 $i18n{removeLegacySupervisedUserWarningText}
97 <div class="action-box-remove-non-owner-user-warning-text" 101 </div>
98 i18n-content="removeNonOwnerUserWarningText"></div> 102 <div class="action-box-remove-non-owner-user-warning-text">
103 $i18n{removeNonOwnerUserWarningText}
104 </div>
99 <!-- paper-button is imported inside user_manager.html --> 105 <!-- paper-button is imported inside user_manager.html -->
100 <paper-button class="remove-warning-button" 106 <paper-button class="remove-warning-button">
101 i18n-content="removeUserWarningButtonTitle"></paper-button> 107 $i18n{removeUserWarningButtonTitle}
108 </paper-button>
102 </div> 109 </div>
103 </div> 110 </div>
104 </div> 111 </div>
105 <div class="auth-container"> 112 <div class="auth-container">
106 <!-- Password Authentication --> 113 <!-- Password Authentication -->
107 <div class="custom-icon-container" hidden></div> 114 <div class="custom-icon-container" hidden></div>
108 <if expr="chromeos"> 115 <if expr="chromeos">
109 <div class="fingerprint-icon-container" hidden 116 <div class="fingerprint-icon-container" hidden
110 i18n-values="aria-label:fingerprintIconMessage"> 117 aria-label="$i18n{fingerprintIconMessage}">
111 <div class="custom-icon fingerprint-icon-image"></div> 118 <div class="custom-icon fingerprint-icon-image"></div>
112 </div> 119 </div>
113 </if> 120 </if>
114 <div class="password-entry-container"> 121 <div class="password-entry-container">
115 <div class="password-container"> 122 <div class="password-container">
116 <input type="password" class="password" 123 <input type="password" class="password"
117 i18n-values="placeholder:passwordHint"> 124 placeholder="$i18n{passwordHint}">
118 </div> 125 </div>
119 <if expr="chromeos"> 126 <if expr="chromeos">
120 <div class="capslock-hint-container"> 127 <div class="capslock-hint-container">
121 <img class="capslock-hint" 128 <img class="capslock-hint"
122 src="chrome://theme/IDR_LOGIN_PASSWORD_CAPS_LOCK" alt> 129 src="chrome://theme/IDR_LOGIN_PASSWORD_CAPS_LOCK" alt>
123 </div> 130 </div>
124 <paper-icon-button class="submit-button" disabled 131 <paper-icon-button class="submit-button" disabled
125 aria-label="$i18n{submitButtonAccessibleName}" 132 aria-label="$i18n{submitButtonAccessibleName}"
126 icon="user-pod:arrow-forward" tabindex="-1"> 133 icon="user-pod:arrow-forward" tabindex="-1">
127 </paper-icon-button> 134 </paper-icon-button>
128 </if> 135 </if>
129 </div> 136 </div>
130 <!-- User Click Authentication --> 137 <!-- User Click Authentication -->
131 <div class="password-label"></div> 138 <div class="password-label"></div>
132 <div class="signin-transition-container"> 139 <div class="signin-transition-container">
133 <span class="signing-in-label" i18n-content="signingIn"></span> 140 <span class="signing-in-label">$i18n{signingIn}</span>
134 <span class="animated-ellipsis-component0">.</span> 141 <span class="animated-ellipsis-component0">.</span>
135 <span class="animated-ellipsis-component1">.</span> 142 <span class="animated-ellipsis-component1">.</span>
136 <span class="animated-ellipsis-component2">.</span> 143 <span class="animated-ellipsis-component2">.</span>
137 </div> 144 </div>
138 <div class="reauth-hint-container"> 145 <div class="reauth-hint-container">
139 <span class="reauth-warning"></span> 146 <span class="reauth-warning"></span>
140 <span class="reauth-name-hint"></span> 147 <span class="reauth-name-hint"></span>
141 </div> 148 </div>
142 <div class="launch-app-button-container" hidden> 149 <div class="launch-app-button-container" hidden>
143 <button class="launch-app-button" i18n-content="launchAppButton"> 150 <button class="launch-app-button">$i18n{launchAppButton}</button>
144 </button>
145 </div> 151 </div>
146 <div id="input-line"> 152 <div id="input-line">
147 <svg> 153 <svg>
148 <line x1="0" y1="0" x2="204" y2="0"> 154 <line x1="0" y1="0" x2="204" y2="0">
149 </svg> 155 </svg>
150 </div> 156 </div>
151 </div> 157 </div>
152 </div> 158 </div>
153 <div class="user-image-gradient-area"> 159 <div class="user-image-gradient-area">
154 </div> 160 </div>
155 <div class="user-type-icon-area" hidden> 161 <div class="user-type-icon-area" hidden>
156 <div class="custom-appearance user-type-icon-image"></div> 162 <div class="custom-appearance user-type-icon-image"></div>
157 </div> 163 </div>
158 <div class="user-type-bubble"> 164 <div class="user-type-bubble">
159 <div class="user-type-bubble-header"> 165 <div class="user-type-bubble-header">
160 <span class="mp-policy-title" 166 <span class="mp-policy-title">
161 i18n-content="multiProfilesRestrictedPolicyTitle"></span> 167 $i18n{multiProfilesRestrictedPolicyTitle}
168 </span>
162 </div> 169 </div>
163 <div class="user-type-bubble-body"> 170 <div class="user-type-bubble-body">
164 <span class="mp-policy-not-allowed-msg" 171 <span class="mp-policy-not-allowed-msg" hidden>
165 i18n-content="multiProfilesNotAllowedPolicyMsg" hidden></span> 172 $i18n{multiProfilesNotAllowedPolicyMsg}
166 <span class="mp-policy-primary-only-msg" 173 </span>
167 i18n-content="multiProfilesPrimaryOnlyPolicyMsg" hidden></span> 174 <span class="mp-policy-primary-only-msg" hidden>
168 <span class="mp-owner-primary-only-msg" 175 $i18n{multiProfilesPrimaryOnlyPolicyMsg}
169 i18n-content="multiProfilesOwnerPrimaryOnlyMsg" hidden></span> 176 </span>
177 <span class="mp-owner-primary-only-msg" hidden>
178 $i18n{multiProfilesOwnerPrimaryOnlyMsg}
179 </span>
170 </div> 180 </div>
171 </div> 181 </div>
172 </div> 182 </div>
173 <div class="small-pod" hidden> 183 <div class="small-pod" hidden>
174 <div class="small-user-image-container"> 184 <div class="small-user-image-container">
175 <img class="small-pod-image" alt> 185 <img class="small-pod-image" alt>
176 </div> 186 </div>
177 <div class="small-pod-name"></div> 187 <div class="small-pod-name"></div>
178 </div> 188 </div>
179 </div> 189 </div>
180 190
181 <!-- Extra elements that are appended to above "user-pod-template" for public 191 <!-- Extra elements that are appended to above "user-pod-template" for public
182 account user pod. Note that only the children of the template div are 192 account user pod. Note that only the children of the template div are
183 appended. --> 193 appended. -->
184 <div id="public-account-user-pod-extras-template" hidden> 194 <div id="public-account-user-pod-extras-template" hidden>
185 <div class="expanded-pane"> 195 <div class="expanded-pane">
186 <div class="expanded-pane-contents"> 196 <div class="expanded-pane-contents">
187 <div class="side-container"> 197 <div class="side-container">
188 <div class="expanded-pane-name"></div> 198 <div class="expanded-pane-name"></div>
189 <div class="expanded-pane-container"> 199 <div class="expanded-pane-container">
190 <div class="expanded-pane-learn-more-container"> 200 <div class="expanded-pane-learn-more-container">
191 <div class="expanded-pane-learn-more"></div> 201 <div class="expanded-pane-learn-more"></div>
192 </div> 202 </div>
193 <div class="info"></div> 203 <div class="info"></div>
194 <div class="monitoring-container"> 204 <div class="monitoring-container">
195 <span class="monitoring-warning" 205 <span class="monitoring-warning">
196 i18n-content="publicAccountMonitoringWarning"></span> 206 $i18n{publicAccountMonitoringWarning}
197 <a class="monitoring-learn-more" href="#" role="button" 207 </span>
198 i18n-content="publicAccountLearnMore"></a> 208 <a class="monitoring-learn-more" href="#" role="button">
209 $i18n{publicAccountLearnMore}
210 </a>
199 </div> 211 </div>
200 <div class="reminder" i18n-content="publicAccountReminder"></div> 212 <div class="reminder">$i18n{publicAccountReminder}</div>
201 <div class="language-and-input-section"> 213 <div class="language-and-input-section">
202 <div class="select-with-label"> 214 <div class="select-with-label">
203 <label class="language-select-label" 215 <label class="language-select-label">
204 i18n-content="publicSessionSelectLanguage"> 216 $i18n{publicSessionSelectLanguage}
205 </label> 217 </label>
206 <div class="select-container"> 218 <div class="select-container">
207 <select class="language-select"></select> 219 <select class="language-select"></select>
208 </div> 220 </div>
209 </div> 221 </div>
210 <div class="select-with-label"> 222 <div class="select-with-label">
211 <label class="keyboard-select-label" 223 <label class="keyboard-select-label">
212 i18n-content="publicSessionSelectKeyboard"> 224 $i18n{publicSessionSelectKeyboard}
213 </label> 225 </label>
214 <div class="select-container"> 226 <div class="select-container">
215 <select class="keyboard-select"></select> 227 <select class="keyboard-select"></select>
216 </div> 228 </div>
217 </div> 229 </div>
218 </div> 230 </div>
219 </div> 231 </div>
220 </div> 232 </div>
221 <div class="horizontal-line"></div> 233 <div class="horizontal-line"></div>
222 <div class="bottom-container"> 234 <div class="bottom-container">
223 <paper-button raised class="enter-button" 235 <paper-button raised class="enter-button"
224 i18n-content="publicAccountEnter" 236 aria-label="$i18n{publicAccountEnterAccessibleName}">
225 i18n-values="aria-label:publicAccountEnterAccessibleName"> 237 $i18n{publicAccountEnter}
226 </paper-button> 238 </paper-button>
227 <div class="language-and-input-container"> 239 <div class="language-and-input-container">
228 <a class="language-and-input" href="#" role="button" 240 <a class="language-and-input" href="#" role="button">
229 i18n-content="publicSessionLanguageAndInput"></a> 241 $i18n{publicSessionLanguageAndInput}
242 </a>
230 </div> 243 </div>
231 </div> 244 </div>
232 </div> 245 </div>
233 </div> 246 </div>
234 </div> 247 </div>
OLDNEW
« no previous file with comments | « ui/login/account_picker/md_screen_account_picker.html ('k') | ui/login/account_picker/screen_account_picker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698