diff --git a/redist/Help/Azure_OpenAI_Translate_Plug-in_About_box.htm b/redist/Help/Azure_OpenAI_Translate_Plug-in_About_box.htm index a92bdc13..ccaa1288 100644 --- a/redist/Help/Azure_OpenAI_Translate_Plug-in_About_box.htm +++ b/redist/Help/Azure_OpenAI_Translate_Plug-in_About_box.htm @@ -27,16 +27,16 @@ Bob Eaton Bob Eaton - 96 - 6496 + 97 + 6497 2022-07-14T21:18:00Z - 2024-03-08T16:38:00Z + 2024-03-09T15:34:00Z 6 - 1242 - 7082 + 1250 + 7127 59 16 - 8308 + 8361 16.00 @@ -1508,7 +1508,7 @@ @list l0 {mso-list-id:-126; mso-list-type:simple; - mso-list-template-ids:1455221358;} + mso-list-template-ids:-1692365750;} @list l0:level1 {mso-level-number-format:bullet; mso-level-style-link:"List Bullet 3"; @@ -1521,7 +1521,7 @@ @list l1 {mso-list-id:-125; mso-list-type:simple; - mso-list-template-ids:-637639466;} + mso-list-template-ids:-17822820;} @list l1:level1 {mso-level-number-format:bullet; mso-level-style-link:"List Bullet 2"; @@ -1533,7 +1533,7 @@ @list l2 {mso-list-id:-119; mso-list-type:simple; - mso-list-template-ids:-439446012;} + mso-list-template-ids:321796332;} @list l2:level1 {mso-level-number-format:bullet; mso-level-style-link:"List Bullet"; @@ -1756,20 +1756,20 @@

Setup Tab

 

1)      -This text box is for entering the Source +This text box is for entering the Source language of the input text for the translation operation.

2)2)      This +style='mso-bookmark:_Ref133733171'>This text box is for entering the Target language the input text should be translated into.

@@ -2001,7 +2001,10 @@

Using Environment +Variables to Store Azure Open AI Credentials

+ +

When the translator is used in different client applications (e.g. Paratext, Word, or the Clipboard EncConverter), the settings (including the key mentioned above) are diff --git a/redist/Help/Vertex_AI_Translate_Plug-in_About_box.htm b/redist/Help/Vertex_AI_Translate_Plug-in_About_box.htm index e968ee47..93122bb9 100644 --- a/redist/Help/Vertex_AI_Translate_Plug-in_About_box.htm +++ b/redist/Help/Vertex_AI_Translate_Plug-in_About_box.htm @@ -27,16 +27,16 @@ Bob Eaton Bob Eaton - 128 - 6545 + 130 + 6546 2022-07-14T21:18:00Z - 2024-03-08T16:49:00Z + 2024-03-09T15:36:00Z 6 - 1330 - 7583 + 1340 + 7641 63 17 - 8896 + 8964 16.00 @@ -51,7 +51,6 @@ Print 150 - Clean false @@ -1484,9 +1483,6 @@ span.userinterface00 {mso-style-name:userinterface0; mso-style-unhide:no;} -span.GramE - {mso-style-name:""; - mso-gram-e:yes;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; @@ -1512,7 +1508,7 @@ @list l0 {mso-list-id:-126; mso-list-type:simple; - mso-list-template-ids:-1392103656;} + mso-list-template-ids:698908028;} @list l0:level1 {mso-level-number-format:bullet; mso-level-style-link:"List Bullet 3"; @@ -1525,7 +1521,7 @@ @list l1 {mso-list-id:-125; mso-list-type:simple; - mso-list-template-ids:-351100530;} + mso-list-template-ids:131136226;} @list l1:level1 {mso-level-number-format:bullet; mso-level-style-link:"List Bullet 2"; @@ -1537,7 +1533,7 @@ @list l2 {mso-list-id:-119; mso-list-type:simple; - mso-list-template-ids:-332359486;} + mso-list-template-ids:917922746;} @list l2:level1 {mso-level-number-format:bullet; mso-level-style-link:"List Bullet"; @@ -1780,14 +1776,14 @@

Setup Tab for help.

2)2)      This text box is for entering the Location -Id of your Vertex AI resource. See This text box is for entering the Location Id +of your Vertex AI resource. See Google Cloud help @@ -1798,7 +1794,7 @@

Setup Tab style='font:7.0pt "Times New Roman"'>      This text box is for entering the Publisher of your Vertex AI resource. (e.g. for a chat-bison AI resource, the publisher is google.

+class=MsoSubtleEmphasis>google.

4)Setup Tab

You can override this formatted System Prompt to get any arbitrary results you want by using the -prefix: “UseSystemPrompt: ”

+prefix: “UseSystemPrompt: ”

For example, to see if it -meets the needs of your application, you could start with the simple System +tab-stops:.5in'>For example, to see if +it meets the needs of your application, you could start with the simple System Prompt:

Setup Tab

Note that if you begin -this field with the string, “UseSystemPrompt: ”, -then the Source and Target language boxes will be ignored.

+this field with the string, “UseSystemPrompt: ”, then the Source +and Target language boxes will be ignored.

Finally, you should @@ -2016,8 +2012,8 @@

+src="Vertex_AI_Translate_Plug-in_About_box_files/image006.jpg" v:shapes="_x0000_i1027">

Figure 5: -Environment Variable for Google Credentials

+Environment Variable for Google Cloud Credentials

 

@@ -2095,8 +2094,8 @@

Saving the

 

-

The Advanced Tab can be used to enter further, -optional information about this converter, which is also put into the The Advanced Tab can be used to enter further, optional +information about this converter, which is also put into the System Repository and can be used by various client applications. Click on this tab to display the following dialog box:

diff --git a/src/EcTranslators/GoogleTranslator/QueryForGoogleCredentials.Designer.cs b/src/EcTranslators/GoogleTranslator/QueryForGoogleCredentials.Designer.cs index 1c1dda8f..908b2ff5 100644 --- a/src/EcTranslators/GoogleTranslator/QueryForGoogleCredentials.Designer.cs +++ b/src/EcTranslators/GoogleTranslator/QueryForGoogleCredentials.Designer.cs @@ -61,7 +61,7 @@ private void InitializeComponent() this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(659, 368); + this.tableLayoutPanel1.Size = new System.Drawing.Size(658, 368); this.tableLayoutPanel1.TabIndex = 0; // // buttonOK @@ -103,7 +103,8 @@ private void InitializeComponent() this.textBoxTranslatorKey.Location = new System.Drawing.Point(211, 3); this.textBoxTranslatorKey.Multiline = true; this.textBoxTranslatorKey.Name = "textBoxTranslatorKey"; - this.textBoxTranslatorKey.Size = new System.Drawing.Size(445, 283); + this.textBoxTranslatorKey.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.textBoxTranslatorKey.Size = new System.Drawing.Size(444, 283); this.textBoxTranslatorKey.TabIndex = 2; // // linkLabelInstructions diff --git a/src/EcTranslators/VertexAi/QueryForGoogleCredentials.Designer.cs b/src/EcTranslators/VertexAi/QueryForGoogleCredentials.Designer.cs index d0e612ce..8c13745a 100644 --- a/src/EcTranslators/VertexAi/QueryForGoogleCredentials.Designer.cs +++ b/src/EcTranslators/VertexAi/QueryForGoogleCredentials.Designer.cs @@ -61,13 +61,13 @@ private void InitializeComponent() this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(659, 368); + this.tableLayoutPanel1.Size = new System.Drawing.Size(658, 368); this.tableLayoutPanel1.TabIndex = 0; // // buttonOK // this.buttonOK.Anchor = System.Windows.Forms.AnchorStyles.Right; - this.buttonOK.Location = new System.Drawing.Point(287, 342); + this.buttonOK.Location = new System.Drawing.Point(299, 342); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(75, 23); this.buttonOK.TabIndex = 6; @@ -79,7 +79,7 @@ private void InitializeComponent() // this.buttonCancel.Anchor = System.Windows.Forms.AnchorStyles.Left; this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.buttonCancel.Location = new System.Drawing.Point(368, 342); + this.buttonCancel.Location = new System.Drawing.Point(380, 342); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); this.buttonCancel.TabIndex = 7; @@ -92,7 +92,7 @@ private void InitializeComponent() this.labelTranslatorKey.AutoSize = true; this.labelTranslatorKey.Location = new System.Drawing.Point(3, 138); this.labelTranslatorKey.Name = "labelTranslatorKey"; - this.labelTranslatorKey.Size = new System.Drawing.Size(202, 13); + this.labelTranslatorKey.Size = new System.Drawing.Size(220, 13); this.labelTranslatorKey.TabIndex = 1; this.labelTranslatorKey.Text = "Enter Google Cloud/Vertex Credentials (json):"; // @@ -100,10 +100,11 @@ private void InitializeComponent() // this.tableLayoutPanel1.SetColumnSpan(this.textBoxTranslatorKey, 2); this.textBoxTranslatorKey.Dock = System.Windows.Forms.DockStyle.Fill; - this.textBoxTranslatorKey.Location = new System.Drawing.Point(211, 3); + this.textBoxTranslatorKey.Location = new System.Drawing.Point(229, 3); this.textBoxTranslatorKey.Multiline = true; this.textBoxTranslatorKey.Name = "textBoxTranslatorKey"; - this.textBoxTranslatorKey.Size = new System.Drawing.Size(445, 283); + this.textBoxTranslatorKey.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.textBoxTranslatorKey.Size = new System.Drawing.Size(426, 283); this.textBoxTranslatorKey.TabIndex = 2; // // linkLabelInstructions @@ -113,7 +114,7 @@ private void InitializeComponent() this.tableLayoutPanel1.SetColumnSpan(this.linkLabelInstructions, 3); this.linkLabelInstructions.Location = new System.Drawing.Point(3, 307); this.linkLabelInstructions.Name = "linkLabelInstructions"; - this.linkLabelInstructions.Size = new System.Drawing.Size(347, 13); + this.linkLabelInstructions.Size = new System.Drawing.Size(365, 13); this.linkLabelInstructions.TabIndex = 5; this.linkLabelInstructions.TabStop = true; this.linkLabelInstructions.Text = "see {0} for instructions on creating your own Google Cloud/Vertex Resource";