Skip to content

Commit

Permalink
Fix: Make Advanced Settings Text Translatable #17220 (#17221)
Browse files Browse the repository at this point in the history
  • Loading branch information
zigad authored Nov 12, 2024
1 parent 651b155 commit 31373f9
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.general.hideAdvancedSettings") }}</span>
<span v-else>{{ $t("config.general.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 @@ -89,12 +89,14 @@ optional = "optional"
cancel = "Abbrechen"
docsLink = "Siehe Dokumentation."
experimental = "Experimentell"
hideAdvancedSettings = "Erweiterte einstellungen ausblenden"
off = "aus"
on = "an"
password = "Passwort"
readFromFile = "Aus Datei lesen"
remove = "Entfernen"
save = "Speichern"
showAdvancedSettings = "Erweiterte einstellungen anzeigen"
telemetry = "Telemetrie"
title = "Titel"

Expand Down
2 changes: 2 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,14 @@ optional = "optional"
cancel = "Cancel"
docsLink = "See documentation."
experimental = "Experimental"
hideAdvancedSettings = "Hide advanced settings"
off = "off"
on = "on"
password = "Password"
readFromFile = "Read from file"
remove = "Remove"
save = "Save"
showAdvancedSettings = "Show advanced settings"
telemetry = "Telemetry"
title = "Title"

Expand Down

0 comments on commit 31373f9

Please sign in to comment.