From a36d625f34a6a1ffaa2f2811311358a85f074554 Mon Sep 17 00:00:00 2001 From: Vishnu Ravi Date: Thu, 4 Apr 2024 07:27:27 -0400 Subject: [PATCH] Fix string --- HealthGPT/Onboarding/LLMLocalDownload.swift | 2 +- HealthGPT/Supporting Files/Localizable.xcstrings | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/HealthGPT/Onboarding/LLMLocalDownload.swift b/HealthGPT/Onboarding/LLMLocalDownload.swift index 08c2b1e..80a8a7b 100644 --- a/HealthGPT/Onboarding/LLMLocalDownload.swift +++ b/HealthGPT/Onboarding/LLMLocalDownload.swift @@ -16,7 +16,7 @@ struct LLMLocalDownload: View { var body: some View { LLMLocalDownloadView( - downloadDescription: "The Llama2 7B model will be downloaded for local execution.", + downloadDescription: "LLAMA2_DOWNLOAD_DESCRIPTION", llmDownloadUrl: LLMLocalDownloadManager.LLMUrlDefaults.llama2ChatModelUrl, llmStorageUrl: .cachesDirectory.appending(path: "llm.gguf") ) { diff --git a/HealthGPT/Supporting Files/Localizable.xcstrings b/HealthGPT/Supporting Files/Localizable.xcstrings index e3c0325..2a59712 100644 --- a/HealthGPT/Supporting Files/Localizable.xcstrings +++ b/HealthGPT/Supporting Files/Localizable.xcstrings @@ -209,6 +209,16 @@ } } }, + "LLAMA2_DOWNLOAD_DESCRIPTION" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "The Llama2 7B model will be downloaded." + } + } + } + }, "LOADING_CHAT_VIEW" : { "localizations" : { "en" : { @@ -415,9 +425,6 @@ } } } - }, - "The Llama2 7B model will be downloaded for local execution." : { - }, "WELCOME_AREA1_DESCRIPTION" : { "extractionState" : "manual",