Skip to content

Commit 2f45d7e

Browse files
authored
CONTMS-134 Create build for Amadeus (#41)
1 parent 3fa9562 commit 2f45d7e

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Intento.MT.Plugin.PropertiesForm/IntentoMTFormOptions.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ public string ApiKey
7777
/// </summary>
7878
public string AuthDelegatedCredentialId { get; set; }
7979

80+
/// <summary>
81+
/// Url to console
82+
/// </summary>
83+
public string ConsoleUrl { get; set; }
84+
8085
public enum StateModeEnum
8186
{
8287
unknown = 0,

Intento.MT.Plugin.PropertiesForm/WinForms/IntentoFormOptonsMain.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,13 @@ Func<string, string, ProxySettings, IntentoAiTextTranslate> fabric
104104
this.fabric = fabric;
105105

106106
InitializeComponent();
107-
LocalizeContent();
108-
107+
LocalizeContent();
108+
109+
if (!string.IsNullOrWhiteSpace(options.ConsoleUrl))
110+
{
111+
linkLabel1.Tag = options.ConsoleUrl;
112+
linkLabel1.Text = options.ConsoleUrl;
113+
}
109114

110115
buttonHelp.Visible = options.сallHelpAction != null;
111116

0 commit comments

Comments
 (0)