Enhance API key handling in settings and vocab services: Update key retrieval logic to improve validation and status reporting. Introduce new localization strings for key status messages in English, German, and Spanish. Update LanguageAssistantView to display key status dynamically, enhancing user feedback on API key management.

This commit is contained in:
Torsten Schulz (local)
2026-03-25 17:46:18 +01:00
parent 6d166e8bcc
commit 6cfd4eb8d9
6 changed files with 44 additions and 9 deletions

View File

@@ -169,7 +169,10 @@
"save": "Save",
"saved": "Settings saved.",
"saveError": "Could not save.",
"confirmClear": "Really delete the API key?"
"confirmClear": "Really delete the API key?",
"keyStatusStored": "API key stored.",
"keyStatusInvalid": "A stored API key exists, but it cannot be read. Please save it again.",
"keyStatusMissing": "No API key is currently stored."
},
"interests": {
"title": "Interests",
@@ -198,4 +201,4 @@
}
}
}
}
}