Skip to content

Commit

Permalink
Add translations to onboarding all set
Browse files Browse the repository at this point in the history
  • Loading branch information
wendevlin committed Sep 13, 2024
1 parent fc0cc92 commit f1603d8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 10 additions & 2 deletions src/onboarding/onboarding-integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,16 @@ class OnboardingIntegrations extends SubscribeMixin(LitElement) {
if (domains.length === 0) {
return html`
<div class="all-set-icon">🎉</div>
<h1>All set!</h1>
<p>Let’s start your private smart home adventure.</p>
<h1>
${this.onboardingLocalize(
"ui.panel.page-onboarding.integration.all_set"
)}
</h1>
<p>
${this.onboardingLocalize(
"ui.panel.page-onboarding.integration.lets_start"
)}
</p>
<div class="footer">
<mwc-button unelevated @click=${this._finish}>
${this.onboardingLocalize(
Expand Down
4 changes: 3 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7090,7 +7090,9 @@
"header": "We found compatible devices!",
"intro": "These are found on your local network. Some are already added, others may need extra configuration.",
"more_integrations": "+{count} more",
"finish": "Finish"
"finish": "Finish",
"all_set": "All set!",
"lets_start": "Let’s start your private smart home adventure."
},
"analytics": {
"header": "Help us help you",
Expand Down

0 comments on commit f1603d8

Please sign in to comment.