mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
commit
358400097f
@ -43,10 +43,9 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
var ci = new CultureInfo(languageString.Replace("_", "-"));
|
||||
var ci = new CultureInfo(languageString.Replace('_', '-'));
|
||||
_threeLetterIsoLanguageName = ci.ThreeLetterISOLanguageName;
|
||||
}
|
||||
catch (CultureNotFoundException exception)
|
||||
|
@ -71,7 +71,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
internal void Initialize(string hunspellName, string text)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(text))
|
||||
textBoxAddName.Text = text.Trim().TrimEnd('.').TrimEnd('!').TrimEnd('?');
|
||||
textBoxAddName.Text = text.Trim().TrimEnd('.', '!', '?');
|
||||
|
||||
comboBoxDictionaries.Items.Clear();
|
||||
foreach (string name in Utilities.GetDictionaryLanguages())
|
||||
|
@ -11,15 +11,15 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
comboBoxFrameRateFrom.Items.Add((23.976).ToString());
|
||||
comboBoxFrameRateFrom.Items.Add((24.0).ToString());
|
||||
comboBoxFrameRateFrom.Items.Add((25.0).ToString());
|
||||
comboBoxFrameRateFrom.Items.Add((29.97).ToString());
|
||||
comboBoxFrameRateFrom.Items.Add(23.976);
|
||||
comboBoxFrameRateFrom.Items.Add(24.0);
|
||||
comboBoxFrameRateFrom.Items.Add(25.0);
|
||||
comboBoxFrameRateFrom.Items.Add(29.97);
|
||||
|
||||
comboBoxFrameRateTo.Items.Add((23.976).ToString());
|
||||
comboBoxFrameRateTo.Items.Add((24.0).ToString());
|
||||
comboBoxFrameRateTo.Items.Add((25.0).ToString());
|
||||
comboBoxFrameRateTo.Items.Add((29.97).ToString());
|
||||
comboBoxFrameRateTo.Items.Add(23.976);
|
||||
comboBoxFrameRateTo.Items.Add(24.0);
|
||||
comboBoxFrameRateTo.Items.Add(25.0);
|
||||
comboBoxFrameRateTo.Items.Add(29.97);
|
||||
|
||||
LanguageStructure.ChangeFrameRate language = Configuration.Settings.Language.ChangeFrameRate;
|
||||
Text = language.Title;
|
||||
|
Loading…
Reference in New Issue
Block a user