Working on help

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1434 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2012-10-22 14:22:28 +00:00
parent cb09fc3cac
commit abbd9509e1
9 changed files with 36 additions and 6 deletions

View File

@ -1,6 +1,6 @@
Subtitle Edit Changelog
3.3 Beta 1 (17th September 2012)
3.3 Beta 2 (21st October 2012)
* NEW:
* Added column commands to list view context menu - thx Seungki
* Edit -> Reverse RTL start/end (fix punctuations)
@ -66,6 +66,7 @@ Subtitle Edit Changelog
* Fixed possible crash when clicking on "Open" file
* Fixed frame rate calculated too high - thx Saulius
* Fixed missing last line in a couple of subtitle formats
* Minor fixes for "Change casing" + "Split long lines" - thx Marcio
3.2.8 (3rd June 2012)

View File

@ -40,6 +40,11 @@ namespace Nikse.SubtitleEdit.Forms
{
if (e.KeyCode == Keys.Escape)
DialogResult = DialogResult.Cancel;
else if (e.KeyCode == Keys.F1)
{
Utilities.ShowHelp(null);
e.SuppressKeyPress = true;
}
}
private void RichTextBoxAbout1LinkClicked(object sender, LinkClickedEventArgs e)

View File

@ -40,7 +40,14 @@ namespace Nikse.SubtitleEdit.Forms
private void ChangeSpeedInPercent_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
DialogResult = DialogResult.Cancel;
}
else if (e.KeyCode == Keys.F1)
{
Utilities.ShowHelp("#sync");
e.SuppressKeyPress = true;
}
}
public Subtitle AdjustAllParagraphs(Subtitle subtitle)

View File

@ -1281,7 +1281,7 @@ namespace Nikse.SubtitleEdit.Forms
}
else if (e.KeyCode == Keys.F1)
{
Utilities.ShowHelp(string.Empty);
Utilities.ShowHelp("#export");
e.SuppressKeyPress = true;
}
}

View File

@ -95,7 +95,14 @@ namespace Nikse.SubtitleEdit.Forms
private void FormGetDictionaries_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
DialogResult = DialogResult.Cancel;
}
else if (e.KeyCode == Keys.F1)
{
Utilities.ShowHelp("#spellcheck");
e.SuppressKeyPress = true;
}
}
private void LinkLabel3LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

View File

@ -183,7 +183,7 @@ namespace Nikse.SubtitleEdit.Forms
if (versionInfo.Length >= 3 && versionInfo[2] != "0")
_title += "." + versionInfo[2];
}
return _title + " ßeta 1";
return _title + " ßeta 2";
}
}
@ -12185,9 +12185,11 @@ namespace Nikse.SubtitleEdit.Forms
void TimerAutoSaveTick(object sender, EventArgs e)
{
string currentText = _subtitle.ToText(GetCurrentSubtitleFormat());
if (_textAutoSave != null && _subtitle.Paragraphs.Count > 0)
if (_subtitle != null && _subtitle.Paragraphs.Count > 0)
{
if (currentText != _textAutoSave && currentText.Trim().Length > 0)
if (_textAutoSave == null)
_textAutoSave = _changeSubtitleToString;
if (!string.IsNullOrEmpty(_textAutoSave) && currentText.Trim() != _textAutoSave.Trim() && currentText.Trim().Length > 0)
{
if (!Directory.Exists(Configuration.AutoBackupFolder))
{

View File

@ -244,7 +244,14 @@ namespace Nikse.SubtitleEdit.Forms
private void PluginsGet_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Escape)
{
DialogResult = DialogResult.Cancel;
}
else if (e.KeyCode == Keys.F1)
{
Utilities.ShowHelp("#plugins");
e.SuppressKeyPress = true;
}
}
private void buttonRemove_Click(object sender, EventArgs e)

View File

@ -24,6 +24,7 @@ namespace Nikse.SubtitleEdit.Forms
listViewBackups.Columns[0].Text = l.DateAndTime;
listViewBackups.Columns[1].Text = l.FileName;
listViewBackups.Columns[2].Text = l.Extension;
labelInfo.Text = l.Information;
buttonOK.Text = Configuration.Settings.Language.General.OK;
buttonCancel.Text = Configuration.Settings.Language.General.Cancel;

View File

@ -1331,7 +1331,7 @@ can edit in same subtitle file (collaboration)",
RestoreAutoBackup = new LanguageStructure.RestoreAutoBackup
{
Title = "Restore auto backup",
Information = "Open auto saved backup",
Information = "Open auto-saved backup",
DateAndTime = "Date and time",
FileName = "File name",
Extension = "Extension",