@using AIStudio.Tools.ERIClient.DataModel @inherits MSGComponentBase @string.Format(T("Export the ERI v1 data source '{0}' as Lua code for a configuration plugin."), this.DataSource.Name) @if (this.NeedsSecret()) { @if (!this.HasConfiguredSecret) { @T("No secret is configured for this ERI data source. The export will contain a placeholder that you need to replace manually.") } else if (!this.CanEncryptSecret) { @T("No enterprise encryption secret is configured. The export will contain a placeholder that you need to replace manually.") } } @if (this.DataSource.AuthMethod is AuthMethod.USERNAME_PASSWORD) { @foreach (var mode in this.availableUsernamePasswordModes) { @this.GetUsernamePasswordModeText(mode) } } @T("Cancel") @T("Export")