mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-15 05:50:24 +00:00
Collection of localization issues (#22615)
* Fix wrong use of 'zero' in ICU formatted string for condition headlines * Matter: Use setup code consistently * Matter: Share from Google Home dialog * Remove question format for settings toggles * Add translation for current add-on version:" in add-on details * Missing space * Localize integration name not localized in single_config_entry alert * Reword start into restart to indicate that the addon restarts when it crashes * Rephrase rename description * localize migrate script / automation * Fixup script translation
This commit is contained in:
@@ -681,8 +681,12 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
private async _duplicate() {
|
||||
const result = this._readOnly
|
||||
? await showConfirmationDialog(this, {
|
||||
title: "Migrate script?",
|
||||
text: "You can migrate this script, so it can be edited from the UI. After it is migrated and you have saved it, you will have to manually delete your old script from your configuration. Do you want to migrate this script?",
|
||||
title: this.hass.localize(
|
||||
"ui.panel.config.script.picker.migrate_script"
|
||||
),
|
||||
text: this.hass.localize(
|
||||
"ui.panel.config.script.picker.migrate_script_description"
|
||||
),
|
||||
})
|
||||
: await this.confirmUnsavedChanged();
|
||||
if (result) {
|
||||
|
||||
Reference in New Issue
Block a user