From ae0b67dce67de632fb59ceed0f879c4f523b6ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Carr=C3=A8re?= Date: Wed, 25 Dec 2024 13:22:26 +0100 Subject: [PATCH] moved some string consts to TooltipLabels --- LM-Kit-Maestro/UI/{TooltipLabels.cs => Localization.cs} | 6 +++++- LM-Kit-Maestro/UI/Pages/ModelsPage.xaml | 8 +++++--- 2 files changed, 10 insertions(+), 4 deletions(-) rename LM-Kit-Maestro/UI/{TooltipLabels.cs => Localization.cs} (78%) diff --git a/LM-Kit-Maestro/UI/TooltipLabels.cs b/LM-Kit-Maestro/UI/Localization.cs similarity index 78% rename from LM-Kit-Maestro/UI/TooltipLabels.cs rename to LM-Kit-Maestro/UI/Localization.cs index 1c28cda..9d847ef 100644 --- a/LM-Kit-Maestro/UI/TooltipLabels.cs +++ b/LM-Kit-Maestro/UI/Localization.cs @@ -1,7 +1,8 @@ namespace LMKit.Maestro.UI { - internal static class TooltipLabels + internal static class TooltipLabels //todo: rename to Locales. { + //todo: Implement support for multiple languages, including translation management and locale detection. public const string RegenerateResponse = "Regenerate response"; public const string PreviousGeneratedResponse = "Previous generated response"; public const string NextGeneratedResponse = "Next generated response"; @@ -27,5 +28,8 @@ internal static class TooltipLabels public const string ChatModelOptimized = "This model is optimized for conversational tasks"; public const string MathModelOptimized = "This model is optimized for solving mathematical problems"; public const string DeleteLocalModel = "Delete the model file from local storage"; + public const string DisplaySlowPerformingModels = "Display slow-performing models"; + public const string NoModelYetAvailable = "It looks like you don't have any model yet."; + public const string ModelFilesWillAppearHere = "Model files added to your model folder will appear here."; } } \ No newline at end of file diff --git a/LM-Kit-Maestro/UI/Pages/ModelsPage.xaml b/LM-Kit-Maestro/UI/Pages/ModelsPage.xaml index 9c69b69..5f34f21 100644 --- a/LM-Kit-Maestro/UI/Pages/ModelsPage.xaml +++ b/LM-Kit-Maestro/UI/Pages/ModelsPage.xaml @@ -438,7 +438,7 @@ VerticalOptions="Center" HorizontalOptions="Start" />