mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
parent
6fa8220e0e
commit
ecafda8394
@ -89,6 +89,18 @@ namespace Nikse.SubtitleEdit.Forms.Translate
|
||||
|
||||
private void buttonOk_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (nikseTextBoxPrompt.Text.Contains('{'))
|
||||
{
|
||||
MessageBox.Show("Character not allowed: {");
|
||||
return;
|
||||
}
|
||||
|
||||
if (nikseTextBoxPrompt.Text.Contains('}'))
|
||||
{
|
||||
MessageBox.Show("Character not allowed: }");
|
||||
return;
|
||||
}
|
||||
|
||||
Configuration.Settings.Tools.AutoTranslateDelaySeconds = (int)nikseUpDownDelay.Value;
|
||||
Configuration.Settings.Tools.AutoTranslateMaxBytes = (int)nikseUpDownMaxBytes.Value;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user