Fix config flow translations to match the actual steps - #10
Closed
jgsaez9 wants to merge 1 commit into
Closed
Conversation
The translation files were out of sync with the config/options flow, so several steps showed raw keys in the UI (e.g. the `menu` options appeared as `add_stt` / `add_conversation`, and the `main` / `add_stt` / `add_conversation` / `main_options` steps had no titles). Update en.json and de.json (and add strings.json as the source) to match the real step ids: config -> main, menu, add_stt, add_conversation; options -> main_options, stt_options, conversation_options. Add the missing `menu` menu_options labels and the `abort.already_configured` reason. No behaviour change; UI strings only. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The translation files are out of sync with the current config/options flow, so several steps show raw keys in the UI instead of readable text. Most visibly, the
menustep lists its options asadd_stt/add_conversation, and themain,add_stt,add_conversationandmain_optionssteps have no titles/descriptions.The flow defines these step ids:
main,menu(options:add_stt,add_conversation),add_stt,add_conversationmain_options,stt_options,conversation_optionsbut
translations/en.json/de.jsonstill referenced the olduser/stt/conversationsteps.Fix
translations/en.jsonandtranslations/de.jsonto match the real step ids.menu.menu_optionslabels (so the picker shows readable names).abort.already_configured.strings.jsonas the translation source.No behaviour change - UI strings only.