Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Make Advanced Settings Text Translatable #17220 #17221

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
zigad marked this conversation as resolved.
Show resolved Hide resolved
<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 @@ -156,6 +156,7 @@ brokerLabel = "Server"
description = "Verbinde evcc mit einem MQTT-Broker, um Daten mit anderen Systemen in deinem Netzwerk auszutauschen."
descriptionClientId = "Autor der Nachrichten. Wenn leer, wird `evcc-[rand]` verwendet."
descriptionTopic = "Leer lassen, um das Publizieren zu deaktivieren."
hideAdvancedSettings = "Erweiterte einstellungen ausblenden"
labelBroker = "Broker"
labelCaCert = "Serverzertifikat (CA)"
labelCheckInsecure = "Erlaube unsichere Verbindungen"
Expand All @@ -167,6 +168,7 @@ labelPassword = "Passwort"
labelTopic = "Thema"
labelUser = "Benutzer"
publishing = "Veröffentlichen"
showAdvancedSettings = "Erweiterte einstellungen anzeigen"
title = "MQTT"

[config.network]
Expand Down
2 changes: 2 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ authentication = "Authentication"
description = "Connect to an MQTT broker to exchange data with other systems on your network."
descriptionClientId = "Author of the messages. If empty `evcc-[rand]` is used."
descriptionTopic = "Leave empty to disable publishing."
hideAdvancedSettings = "Hide advanced settings"
labelBroker = "Broker"
labelCaCert = "Server certificate (CA)"
labelCheckInsecure = "Allow self-signed certificates"
Expand All @@ -166,6 +167,7 @@ labelPassword = "Password"
labelTopic = "Topic"
labelUser = "Username"
publishing = "Publishing"
showAdvancedSettings = "Show advanced settings"
title = "MQTT"

[config.network]
Expand Down