mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-12 21:33:47 +00:00
Added more text content to the I18N system (#446)
This commit is contained in:
1 parent
cfc2103b43
commit
7a08baf99b
43 files changed
+3356
-354
No files matched your search
@@ -1,18 +1,22 @@
|
||||
using AIStudio.Tools.PluginSystem;
|
||||
|
||||
namespace AIStudio.Tools;
|
||||
|
||||
public static class ConfidenceSchemesExtensions
|
||||
{
|
||||
private static string TB(string fallbackEN) => I18N.I.T(fallbackEN, typeof(ConfidenceSchemesExtensions).Namespace, nameof(ConfidenceSchemesExtensions));
|
||||
|
||||
public static string GetListDescription(this ConfidenceSchemes scheme) => scheme switch
|
||||
{
|
||||
ConfidenceSchemes.TRUST_ALL => "Trust all LLM providers",
|
||||
ConfidenceSchemes.TRUST_USA_EUROPE => "Trust LLM providers from the USA and Europe",
|
||||
ConfidenceSchemes.TRUST_USA => "Trust LLM providers from the USA",
|
||||
ConfidenceSchemes.TRUST_EUROPE => "Trust LLM providers from Europe",
|
||||
ConfidenceSchemes.TRUST_ASIA => "Trust LLM providers from Asia",
|
||||
ConfidenceSchemes.LOCAL_TRUST_ONLY => "Trust only local LLM providers",
|
||||
ConfidenceSchemes.TRUST_ALL => TB("Trust all LLM providers"),
|
||||
ConfidenceSchemes.TRUST_USA_EUROPE => TB("Trust LLM providers from the USA and Europe"),
|
||||
ConfidenceSchemes.TRUST_USA => TB("Trust LLM providers from the USA"),
|
||||
ConfidenceSchemes.TRUST_EUROPE => TB("Trust LLM providers from Europe"),
|
||||
ConfidenceSchemes.TRUST_ASIA => TB("Trust LLM providers from Asia"),
|
||||
ConfidenceSchemes.LOCAL_TRUST_ONLY => TB("Trust only local LLM providers"),
|
||||
|
||||
ConfidenceSchemes.CUSTOM => "Configure your own confidence scheme",
|
||||
ConfidenceSchemes.CUSTOM => TB("Configure your own confidence scheme"),
|
||||
|
||||
_ => "Unknown confidence scheme"
|
||||
_ => TB("Unknown confidence scheme"),
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user