mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 09:27:21 +00:00
17 lines
586 B
C#
17 lines
586 B
C#
using AIStudio.Tools.PowerPoint;
|
|||
|
|
|
||
|
|
namespace AIStudio.Assistants.SlideBuilder;
|
||
|
|
|
||
|
|
internal static class TemplateSlideUseExtensions
|
||
|
|
{
|
||
|
|
private static string TB(string fallbackEN) => Tools.PluginSystem.I18N.I.T(fallbackEN, typeof(TemplateSlideUseExtensions).Namespace, nameof(TemplateSlideUseExtensions));
|
||
|
|
|
||
|
|
public static string Name(this TemplateSlideUse use) => use switch
|
||
|
|
{
|
||
|
|
TemplateSlideUse.OMIT => TB("Leave out"),
|
||
|
|
TemplateSlideUse.KEEP => TB("Keep unchanged"),
|
||
|
|
TemplateSlideUse.EDIT => TB("Let the LLM edit it"),
|
||
|
|
|
||
|
|
_ => TB("Leave out"),
|
||
|
|
};
|
||
|
|
}
|