mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Update translation
This commit is contained in:
parent
b397259aa9
commit
f643d84844
@ -1088,6 +1088,12 @@ To use an API key, go to "Options -> Settings -> Auto-translate" to enter
|
||||
<XRequiresAnApiKey>"{0}" requires an API key.</XRequiresAnApiKey>
|
||||
<ReadMore>Read more?</ReadMore>
|
||||
<Formality>Formality</Formality>
|
||||
<TranslateCurrentLine>Translate only current line</TranslateCurrentLine>
|
||||
<ReTranslateCurrentLine>Re-translate current line</ReTranslateCurrentLine>
|
||||
<MergeSplitStrategy>Split/merge handling</MergeSplitStrategy>
|
||||
<Delay>Delay between server calls</Delay>
|
||||
<MaxBytes>Maximum bytes in each server call</MaxBytes>
|
||||
<PromptX>Prompt for {0}</PromptX>
|
||||
</GoogleTranslate>
|
||||
<GoogleOrMicrosoftTranslate>
|
||||
<Title>Google vs Microsoft translate</Title>
|
||||
|
@ -2869,6 +2869,24 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
case "GoogleTranslate/Formality":
|
||||
language.GoogleTranslate.Formality = reader.Value;
|
||||
break;
|
||||
case "GoogleTranslate/TranslateCurrentLine":
|
||||
language.GoogleTranslate.TranslateCurrentLine = reader.Value;
|
||||
break;
|
||||
case "GoogleTranslate/ReTranslateCurrentLine":
|
||||
language.GoogleTranslate.ReTranslateCurrentLine = reader.Value;
|
||||
break;
|
||||
case "GoogleTranslate/MergeSplitStrategy":
|
||||
language.GoogleTranslate.MergeSplitStrategy = reader.Value;
|
||||
break;
|
||||
case "GoogleTranslate/Delay":
|
||||
language.GoogleTranslate.Delay = reader.Value;
|
||||
break;
|
||||
case "GoogleTranslate/MaxBytes":
|
||||
language.GoogleTranslate.MaxBytes = reader.Value;
|
||||
break;
|
||||
case "GoogleTranslate/PromptX":
|
||||
language.GoogleTranslate.PromptX = reader.Value;
|
||||
break;
|
||||
case "GoogleOrMicrosoftTranslate/Title":
|
||||
language.GoogleOrMicrosoftTranslate.Title = reader.Value;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user