2026-10-25 18:52:39 +01:00
|
|
|
namespace AIStudio.Tools.PowerPoint;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// What the user reads about an area of kinds of slides.
|
|
|
|
|
/// </summary>
|
|
|
|
|
internal static class LayoutPurposeAreaExtensions
|
|
|
|
|
{
|
|
|
|
|
private static string TB(string fallbackEN) => PluginSystem.I18N.I.T(fallbackEN, typeof(LayoutPurposeAreaExtensions).Namespace, nameof(LayoutPurposeAreaExtensions));
|
|
|
|
|
|
|
|
|
|
/// <param name="area">The area.</param>
|
2026-11-04 10:46:18 +01:00
|
|
|
extension(LayoutPurposeArea area)
|
2026-10-25 18:52:39 +01:00
|
|
|
{
|
2026-11-04 10:46:18 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// The name of the area, as the forms show it above its kinds of slides.
|
|
|
|
|
/// </summary>
|
2026-11-04 13:00:56 +01:00
|
|
|
public string Label => area switch
|
2026-11-04 10:46:18 +01:00
|
|
|
{
|
|
|
|
|
LayoutPurposeArea.FRAMING => TB("Structure and framing"),
|
|
|
|
|
LayoutPurposeArea.GENERAL => TB("General content"),
|
|
|
|
|
LayoutPurposeArea.TEACHING => TB("Teaching and workshops"),
|
|
|
|
|
LayoutPurposeArea.BUSINESS => TB("Business and projects"),
|
|
|
|
|
LayoutPurposeArea.SCIENCE => TB("Science and research"),
|
|
|
|
|
LayoutPurposeArea.MEDICINE => TB("Medicine"),
|
|
|
|
|
LayoutPurposeArea.LAW => TB("Law"),
|
2026-10-25 18:52:39 +01:00
|
|
|
|
2026-11-04 10:46:18 +01:00
|
|
|
_ => TB("Other kinds of slides"),
|
|
|
|
|
};
|
|
|
|
|
}
|
2026-10-25 18:52:39 +01:00
|
|
|
}
|