@inherits MSGComponentBase @this.IntroductionText @T("Plugins contain code that runs inside AI Studio. Install plugins only when you trust their source.") @this.Preview.Plugin.Name @this.Preview.Plugin.Description @T("Type"): @this.TypeLabel @T("Version"): @this.Preview.Plugin.Version @T("Authors"): @this.AuthorsLabel @if (!string.IsNullOrWhiteSpace(this.Preview.Plugin.SourceURL)) { @T("Source"): @this.Preview.Plugin.SourceURL } @if (!string.IsNullOrWhiteSpace(this.Preview.Plugin.SupportContact)) { @T("Support contact"): @this.Preview.Plugin.SupportContact } @if (!string.IsNullOrWhiteSpace(this.Preview.Plugin.DeprecationMessage)) { @string.Format(T("The authors marked this plugin as deprecated: {0}"), this.Preview.Plugin.DeprecationMessage) } @if (this.Preview.ExistingPlugin is { } existingPlugin) { @string.Format(T("This replaces the already installed plugin '{0}'. Version {1} gets replaced by version {2}."), existingPlugin.Name, existingPlugin.Version, this.Preview.Plugin.Version) } @T("Cancel") @(this.Preview.ReplacesExisting ? T("Replace plugin") : T("Install plugin"))