mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Fix name
This commit is contained in:
parent
e0ca28a1e4
commit
681035c82e
@ -2280,6 +2280,7 @@ can edit in same subtitle file (collaboration)</Information>
|
||||
<VideoPlayer>Video player</VideoPlayer>
|
||||
<WaveformAndSpectrogram>Waveform/spectrogram</WaveformAndSpectrogram>
|
||||
<Tools>Tools</Tools>
|
||||
<AutoTranslate>Auto-translate</AutoTranslate>
|
||||
<WordLists>Word lists</WordLists>
|
||||
<SsaStyle>ASS/SSA Style</SsaStyle>
|
||||
<Network>Network</Network>
|
||||
|
@ -101,7 +101,7 @@ namespace Nikse.SubtitleEdit.Core.AutoTranslate
|
||||
var culture = cultures.FirstOrDefault(p=>p.TwoLetterISOLanguageName == code);
|
||||
if (culture != null)
|
||||
{
|
||||
result.Add(new TranslationPair(culture.Name, code));
|
||||
result.Add(new TranslationPair(culture.EnglishName, code));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -30,8 +30,6 @@ namespace Nikse.SubtitleEdit.Forms.Translate
|
||||
private Process _processNllbApi;
|
||||
private Process _processLibreTranslate;
|
||||
|
||||
|
||||
|
||||
public AutoTranslate(Subtitle subtitle, Subtitle selectedLines, string title, Encoding encoding)
|
||||
{
|
||||
UiUtil.PreInitialize(this);
|
||||
|
@ -6127,6 +6127,9 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
case "Settings/Tools":
|
||||
language.Settings.Tools = reader.Value;
|
||||
break;
|
||||
case "Settings/AutoTranslate":
|
||||
language.Settings.AutoTranslate = reader.Value;
|
||||
break;
|
||||
case "Settings/WordLists":
|
||||
language.Settings.WordLists = reader.Value;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user