Skip to content

Commit

Permalink
Fix: Make Advanced Settings Text Translatable evcc-io#17220
Browse files Browse the repository at this point in the history
This will close issue evcc-io#17220
  • Loading branch information
zigad committed Nov 12, 2024
1 parent 651b155 commit c365a53
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/components/Config/PropertyCollapsible.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
type="button"
@click="toggle"
>
<span v-if="open">Hide advanced settings</span>
<span v-else>Show advanced settings</span>
<span v-if="open">{{ $t("config.mqtt.hideAdvancedSettings") }}</span>
<span v-else>{{ $t("config.mqtt.showAdvancedSettings") }}</span>
<DropdownIcon class="icon" :class="{ iconUp: open }" />
</button>

Expand Down
2 changes: 2 additions & 0 deletions i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ labelTopic = "Thema"
labelUser = "Benutzer"
publishing = "Veröffentlichen"
title = "MQTT"
showAdvancedSettings = "Erweiterte einstellungen anzeigen"
hideAdvancedSettings = "Erweiterte einstellungen ausblenden"

[config.network]
descriptionHost = "Verwende den .local-Suffix, um mDNS zu aktivieren. Wird zur Erkennung der mobilen App und einiger OCPP-Wallboxen benötigt."
Expand Down
2 changes: 2 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ labelTopic = "Topic"
labelUser = "Username"
publishing = "Publishing"
title = "MQTT"
showAdvancedSettings = "Show advanced settings"
hideAdvancedSettings = "Hide advanced settings"

[config.network]
descriptionHost = "Use .local suffix to enable mDNS. Relevant for discovery of the mobile app and some OCPP chargers."
Expand Down

0 comments on commit c365a53

Please sign in to comment.