Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe s/iron-flex-layout.html"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> |
| 7 | 7 |
| 8 <!-- | 8 <!-- |
| 9 OOBE Welcome screen | 9 OOBE Welcome screen |
| 10 --> | 10 --> |
| 11 <dom-module name="oobe-welcome-dialog"> | 11 <dom-module name="oobe-welcome-dialog"> |
| 12 <template> | 12 <template> |
| 13 <link rel="stylesheet" href="oobe_dialog_host.css"> | 13 <link rel="stylesheet" href="oobe_dialog_host.css"> |
| 14 <link rel="stylesheet" href="oobe_welcome_dialog.css"> | 14 <link rel="stylesheet" href="oobe_welcome_dialog.css"> |
| 15 <div class="layout horizontal flex"> | 15 <div class="layout horizontal flex"> |
| 16 <div class="vertical-margin"></div> | 16 <div class="vertical-margin"></div> |
| 17 <div class="welcome-content flex layout vertical center"> | 17 <div class="welcome-content flex layout vertical center"> |
| 18 <h1 id="title">$i18n{networkScreenGreeting}</h1> | 18 <h1 id="title" i18n-content="networkScreenGreeting"></h1> |
| 19 <!-- TODO(alemate): Display images depending on screen ppi. --> | 19 <!-- TODO(alemate): Display images depending on screen ppi. --> |
| 20 <img id="welcomeIllustration" src="images/welcome_illustration_2x.png"> | 20 <img id="welcomeIllustration" src="images/welcome_illustration_2x.png"> |
| 21 <div hidden="[[!debuggingLinkVisible]]"> | 21 <div hidden="[[!debuggingLinkVisible]]"> |
| 22 <a href="#" on-tap="onDebuggingLinkClicked_"> | 22 <a href="#" on-tap="onDebuggingLinkClicked_"> |
| 23 $i18n{debuggingFeaturesLink} | 23 $i18n{debuggingFeaturesLink} |
|
stevenjb
2017/02/15 00:15:18
$i18n{}
dschuyler
2017/02/15 01:13:53
Done.
| |
| 24 </a> | 24 </a> |
| 25 </div> | 25 </div> |
| 26 <div class="flex"></div> | 26 <div class="flex"></div> |
| 27 <div id="buttons" class="layout horizontal center"> | 27 <div id="buttons" class="layout horizontal center"> |
| 28 <oobe-welcome-secondary-button icon="icons:language" | 28 <oobe-welcome-secondary-button icon="icons:language" |
| 29 on-tap="onLanguageClicked_" | 29 on-tap="onLanguageClicked_" |
| 30 aria-label="[[formatMessage_('languageButtonLabel', | 30 aria-label="[[formatMessage_('languageButtonLabel', |
| 31 currentLanguage)]]"> | 31 currentLanguage)]]"> |
| 32 <div>[[currentLanguage]]</div> | 32 <div>[[currentLanguage]]</div> |
| 33 </oobe-welcome-secondary-button> | 33 </oobe-welcome-secondary-button> |
| 34 <oobe-welcome-secondary-button icon="icons:accessibility" | 34 <oobe-welcome-secondary-button icon="icons:accessibility" |
| 35 on-tap="onAccessibilityClicked_"> | 35 on-tap="onAccessibilityClicked_"> |
| 36 <div>$i18n{accessibilityLink}</div> | 36 <div i18n-content="accessibilityLink"></div> |
| 37 </oobe-welcome-secondary-button> | 37 </oobe-welcome-secondary-button> |
| 38 <oobe-welcome-secondary-button icon="oobe-welcome-64:timezone" | 38 <oobe-welcome-secondary-button icon="oobe-welcome-64:timezone" |
| 39 on-tap="onTimezoneClicked_" hidden="[[!timezoneButtonVisible]]"> | 39 on-tap="onTimezoneClicked_" hidden="[[!timezoneButtonVisible]]"> |
| 40 <div>$i18n{timezoneButtonText}</div> | 40 <div i18n-content="timezoneButtonText"></div> |
| 41 </oobe-welcome-secondary-button> | 41 </oobe-welcome-secondary-button> |
| 42 <div class="flex"></div> | 42 <div class="flex"></div> |
| 43 <oobe-text-button inverse on-tap="onNextClicked_"> | 43 <oobe-text-button inverse on-tap="onNextClicked_"> |
| 44 <div>$i18n{welcomeNextButtonText}</div> | 44 <div i18n-content="welcomeNextButtonText"></div> |
| 45 </oobe-text-button> | 45 </oobe-text-button> |
| 46 </div> | 46 </div> |
| 47 <div id="bottom-margin"></div> | 47 <div id="bottom-margin"></div> |
| 48 </div> | 48 </div> |
| 49 <div class="vertical-margin"></div> | 49 <div class="vertical-margin"></div> |
| 50 </div> | 50 </div> |
| 51 </template> | 51 </template> |
| 52 </dom-module> | 52 </dom-module> |
| OLD | NEW |