From 08909159ec4a0d6ae7d04ac7a99c135246798541 Mon Sep 17 00:00:00 2001 From: Vishnu Ravi Date: Thu, 4 Apr 2024 15:15:53 -0400 Subject: [PATCH] Adds missing label --- HealthGPT/Onboarding/LLMSourceSelection.swift | 2 +- HealthGPT/Supporting Files/Localizable.xcstrings | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/HealthGPT/Onboarding/LLMSourceSelection.swift b/HealthGPT/Onboarding/LLMSourceSelection.swift index 6a25b56..878b2ca 100644 --- a/HealthGPT/Onboarding/LLMSourceSelection.swift +++ b/HealthGPT/Onboarding/LLMSourceSelection.swift @@ -41,7 +41,7 @@ struct LLMSourceSelection: View { } private var sourceSelector: some View { - Picker("", selection: $llmSource) { + Picker("LLM_SOURCE_PICKER_LABEL", selection: $llmSource) { ForEach(LLMSource.allCases) { source in Text(source.localizedDescription) .tag(source) diff --git a/HealthGPT/Supporting Files/Localizable.xcstrings b/HealthGPT/Supporting Files/Localizable.xcstrings index 0683629..e7c8c15 100644 --- a/HealthGPT/Supporting Files/Localizable.xcstrings +++ b/HealthGPT/Supporting Files/Localizable.xcstrings @@ -1,9 +1,6 @@ { "sourceLanguage" : "en", "strings" : { - "" : { - - }, "API_KEY_SUBTITLE" : { "extractionState" : "manual", "localizations" : { @@ -222,6 +219,16 @@ } } }, + "LLM_SOURCE_PICKER_LABEL" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Choose an LLM source" + } + } + } + }, "LLM_SOURCE_SELECTION_BUTTON" : { "localizations" : { "en" : {