From 3a9ae7a9c093c7311975e210f494b82d0368df98 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 22 Jun 2014 17:58:23 +0300 Subject: [PATCH] Run tabspace. --- src/Forms/Main.cs | 2 +- src/Languages/pt-PT.xml | 6 +++--- src/Logic/Forms/CheckForUpdatesHelper.cs | 10 +++++----- src/Logic/Language.cs | 4 ++-- src/Logic/LanguageStructure.cs | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Forms/Main.cs b/src/Forms/Main.cs index 2397516a6..c1548997a 100644 --- a/src/Forms/Main.cs +++ b/src/Forms/Main.cs @@ -19456,7 +19456,7 @@ namespace Nikse.SubtitleEdit.Forms _timerCheckForUpdates.Stop(); } catch - { + { } var form = new CheckForUpdates(this); diff --git a/src/Languages/pt-PT.xml b/src/Languages/pt-PT.xml index 67d739428..09a552617 100644 --- a/src/Languages/pt-PT.xml +++ b/src/Languages/pt-PT.xml @@ -202,7 +202,7 @@ Email: mailto:nikse.dk@gmail.com Está a usar a última versão do Subtitle Edit :) Nova versão disponível! Ir para a página de transferência - + Escolher a faixa de áudio @@ -830,7 +830,7 @@ Email: mailto:nikse.dk@gmail.com Abandonar sessão - Verificar se há atualizações... + Verificar se há atualizações... Ajuda &Ajuda &Sobre @@ -1485,7 +1485,7 @@ editar o mesmo ficheiro de legenda (colaboração) Mecanismo de vídeo DirectShow quartz.dll na pasta system32 - quartz.dll na pasta SysWOW64 + quartz.dll na pasta SysWOW64 Gerado pelo DirectX Microsoft.DirectX.AudioVideoPlayback - Código .NET gerado pelo DirectX MPlayer diff --git a/src/Logic/Forms/CheckForUpdatesHelper.cs b/src/Logic/Forms/CheckForUpdatesHelper.cs index f3df086a2..56e045a18 100644 --- a/src/Logic/Forms/CheckForUpdatesHelper.cs +++ b/src/Logic/Forms/CheckForUpdatesHelper.cs @@ -18,9 +18,9 @@ namespace Nikse.SubtitleEdit.Logic.Forms private int _successCount; public string Error { get; set; } - public bool Done - { - get + public bool Done + { + get { return _successCount == 1; } @@ -150,7 +150,7 @@ namespace Nikse.SubtitleEdit.Logic.Forms public void CheckForUpdates() { - // load github release json + // load github release json //StartDownloadString(ReleasesUrl, "application/json", new AsyncCallback(FinishWebRequestReleases)); // load change log @@ -183,7 +183,7 @@ namespace Nikse.SubtitleEdit.Logic.Forms catch { return false; - } + } } diff --git a/src/Logic/Language.cs b/src/Logic/Language.cs index ea215aeee..41030a130 100644 --- a/src/Logic/Language.cs +++ b/src/Logic/Language.cs @@ -26,7 +26,7 @@ namespace Nikse.SubtitleEdit.Logic public LanguageStructure.ChangeCasingNames ChangeCasingNames; public LanguageStructure.ChangeFrameRate ChangeFrameRate; public LanguageStructure.ChangeSpeedInPercent ChangeSpeedInPercent; - public LanguageStructure.CheckForUpdates CheckForUpdates; + public LanguageStructure.CheckForUpdates CheckForUpdates; public LanguageStructure.ChooseAudioTrack ChooseAudioTrack; public LanguageStructure.ChooseEncoding ChooseEncoding; public LanguageStructure.ChooseLanguage ChooseLanguage; @@ -339,7 +339,7 @@ namespace Nikse.SubtitleEdit.Logic CheckingForUpdatesNewVersion = "New version available!", InstallUpdate = "Go to download page", NoUpdates = "Don't update", - }; + }; ChooseAudioTrack = new LanguageStructure.ChooseAudioTrack { diff --git a/src/Logic/LanguageStructure.cs b/src/Logic/LanguageStructure.cs index 958a91e37..300f1ff34 100644 --- a/src/Logic/LanguageStructure.cs +++ b/src/Logic/LanguageStructure.cs @@ -1179,7 +1179,7 @@ public class HelpMenu { - public string CheckForUpdates { get; set; } + public string CheckForUpdates { get; set; } public string Title { get; set; } public string Help { get; set; } public string About { get; set; } @@ -1647,7 +1647,7 @@ public string AutoBackupEveryMinute { get; set; } public string AutoBackupEveryFiveMinutes { get; set; } public string AutoBackupEveryFifteenMinutes { get; set; } - public string CheckForUpdates { get; set; } + public string CheckForUpdates { get; set; } public string AllowEditOfOriginalSubtitle { get; set; } public string PromptDeleteLines { get; set; } public string TimeCodeMode { get; set; }