Commit 58e4c193 authored by Becca Hughes's avatar Becca Hughes Committed by Commit Bot

Revert "Use proper localization mechanism for throbber-notice element."

This reverts commit c50865f6.

Reason for revert: Suspected failure for Chrome OS browser_tests:

BUG=1029957

Original change's description:
> Use proper localization mechanism for throbber-notice element.
> 
> Bug: 955194
> Change-Id: Ib6ac3fcbe446c047bd846a0c775210fda7763b9d
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1953626
> Reviewed-by: Roman Aleksandrov <raleksandrov@google.com>
> Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#723023}

TBR=antrim@chromium.org,rsorokin@chromium.org,raleksandrov@google.com

Change-Id: I65c1717fe30d0aee33801d31971ee516099f7de5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 955194
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958709Reviewed-by: default avatarBecca Hughes <beccahughes@chromium.org>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723063}
parent 4369df31
......@@ -70,7 +70,7 @@
</gaia-card>
</neon-animatable>
<neon-animatable class="fit">
<throbber-notice class="fit" text-key="gaiaLoading">
<throbber-notice class="fit" i18n-values="text:gaiaLoading">
</throbber-notice>
</neon-animatable>
</neon-animated-pages>
......
......@@ -35,8 +35,7 @@
<oobe-dialog id="loading" role="dialog" no-header no-footer-padding
hidden="[[isStepHidden_(step_, 'loading')]]">
<div slot="footer" class="flex layout vertical center center-justified">
<!--TODO(crbug.com/955194): use proper localization key -->
<throbber-notice text-key="gaiaLoading">
<throbber-notice text="Please wait">
</throbber-notice>
</div>
</oobe-dialog>
......
......@@ -19,7 +19,8 @@
<template is="dom-if" if="[[isMigratingMinimal_(uiState)]]">
<oobe-dialog id="minimal-migration-dialog" tabindex="0" has-buttons>
<div slot="footer" class="layout vertical">
<throbber-notice text-key="gaiaLoading"></throbber-notice>
<throbber-notice
text="[[i18nDynamic(locale,'gaiaLoading')]]"></throbber-notice>
</div>
</oobe-dialog>
</template>
......
......@@ -96,7 +96,7 @@
</gaia-card>
</neon-animatable>
<neon-animatable class="fit">
<throbber-notice class="fit" text-key="gaiaLoading">
<throbber-notice class="fit" i18n-values="text:gaiaLoading">
</throbber-notice>
</neon-animatable>
</neon-animated-pages>
......
......@@ -119,7 +119,7 @@
<div class="multidevice-help-overlay-webview-loading
layout horizontal center-center"
hidden$="[[!isWebviewLoading_]]">
<throbber-notice text-key="gaiaLoading"></throbber-notice>
<throbber-notice i18n-values="text:gaiaLoading"></throbber-notice>
</div>
<webview id="multideviceHelpOverlayWebview"
hidden$="[[isWebviewLoading_]]"
......
......@@ -49,7 +49,8 @@
</div>
<div slot="footer" class="flex layout center-justified vertical">
<div hidden="[[!isLoading_(uiState)]]">
<throbber-notice text-key="termsOfServiceLoading">
<throbber-notice id="termsOfServiceLoadingThrobber"
text="[[i18nDynamic(locale, termsOfServiceLoading)]]">
</throbber-notice>
</div>
<webview id="termsOfServiceFrame" hidden="[[isLoading_(uiState)]]"
......
......@@ -77,7 +77,7 @@
</gaia-card>
</neon-animatable>
<neon-animatable class="fit">
<throbber-notice text-key="gaiaLoading" class="fit">
<throbber-notice i18n-values="text:gaiaLoading" class="fit">
</throbber-notice>
</neon-animatable>
</neon-animated-pages>
......
......@@ -79,7 +79,7 @@
</oobe-dialog>
<div id="gaia-loading" class="step-loading gaia-dialog"
hidden="[[!isStep_(step_, 'loading', 'gaia-loading')]]">
<throbber-notice text-key="gaiaLoading"></throbber-notice>
<throbber-notice i18n-values="text:gaiaLoading"></throbber-notice>
</div>
<notification-card id="gaia-whitelist-error" type="fail" class="gaia-dialog"
hidden="[[!isStep_(step_, 'whitelist-error')]]"
......
......@@ -8,7 +8,7 @@
<oobe-dialog id="recommend-apps-loading" role="dialog" no-header
no-footer-padding>
<div slot="footer" class="flex layout vertical center center-justified">
<throbber-notice text-key="recommendAppsLoading">
<throbber-notice i18n-values="text:recommendAppsLoading">
</throbber-notice>
</div>
</oobe-dialog>
......
......@@ -9,7 +9,7 @@
<oobe-dialog id="sync-loading" role="dialog" no-header no-footer-padding
hidden>
<div slot="footer" class="flex layout vertical center center-justified">
<throbber-notice text-key="gaiaLoading">
<throbber-notice i18n-values="text:gaiaLoading">
</throbber-notice>
</div>
</oobe-dialog>
......
......@@ -16,7 +16,7 @@ paper-spinner-lite {
width: 38px;
}
#comment {
@apply --oobe-default-font;
#spinner-comment {
color: #747474;
font-size: 13px;
}
......@@ -11,6 +11,6 @@
<link rel="stylesheet" href="throbber_notice.css">
<template>
<paper-spinner-lite dir="ltr" active></paper-spinner-lite>
<div id="comment"><span>[[i18nDynamic(locale, textKey)]]</span></div>
<div id="spinner-comment"><span>[[text]]</span></div>
</template>
</dom-module>
......@@ -5,7 +5,5 @@
Polymer({
is: 'throbber-notice',
behaviors: [OobeI18nBehavior],
properties: {textKey: String}
properties: {text: String}
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment