From 4c8c308967a7613cd41e6f0006644bfa2f69b0fc Mon Sep 17 00:00:00 2001 From: niksedk Date: Sun, 7 Jul 2013 22:51:49 +0000 Subject: [PATCH] =?UTF-8?q?Updated=20Brazilian=20Portuguese=20translation?= =?UTF-8?q?=20-=20thx=20Igor=20R=C3=BCckert=20:)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1916 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- src/Changelog.txt | 5 ++- src/Languages/pt-BR.xml | 33 +++++++++++++++++-- .../AdvancedSubStationAlpha.cs | 2 ++ src/Logic/SubtitleFormats/MicroDvd.cs | 3 +- src/Logic/SubtitleFormats/SubRip.cs | 1 + src/Logic/SubtitleFormats/SubStationAlpha.cs | 2 ++ 6 files changed, 42 insertions(+), 4 deletions(-) diff --git a/src/Changelog.txt b/src/Changelog.txt index 337b28e42..b3ee346d6 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -8,10 +8,14 @@ * IMPROVED: * Updated Portuguese language file - thx moob * Updated Basque langauge file - thx Xabier Aramendi + * Updated Dutch language file - thx Herman + * Updated Czech language file - thx Trottel + * Updated Brazilian Portuguese translation - thx Igor Rückert * Added 'regular expression' option to ocr_replace_list - thx paconaranjo * Waveform generator - pauses video before starting - thx fox * Export to Blu-ray settings now saved - thx Minh * Do not load plugins + subtitle formats when opening a sub - thx Orr + * Fixed slow loading of regular expressions in "Multiple replace" - thx TeDDy * FIXED: * Fixed crash/bugs in MicroDvd format - thx klm * Fixed annoying crash when loading a subtitle from 'source view' @@ -21,7 +25,6 @@ * Fixed baseline horizontal alignment in Export to Blu-ray sup - thx THXTEX * Fixed multi line color tags when outputting DCinema - thx lillian * Fixed 'line-breaks' in csv formats - * Fixed slow loading of regular expressions in "Multiple replace" - thx TeDDy 3.3.6 (15th June 2013) diff --git a/src/Languages/pt-BR.xml b/src/Languages/pt-BR.xml index 347f3ff4e..113ddfaad 100644 --- a/src/Languages/pt-BR.xml +++ b/src/Languages/pt-BR.xml @@ -362,8 +362,7 @@ E-mail: mailto:nikse.dk@gmail.com Gerar tempo como texto - - + Escolha o arquivo de vídeo do qual extrair informações de data/hora Iniciar de Formato data/tempo Exemplo @@ -551,6 +550,16 @@ E-mail: mailto:nikse.dk@gmail.com Ir para legenda número {0} não é um número válido + + Importar alterações de cena + Abrir arquivo de texto... + Opções de importação + Arquivos de texto + Códigos de tempo + Quadros + Segundos + Milisegundos + Importar texto simples Abrir arquivo de texto... @@ -675,6 +684,7 @@ E-mail: mailto:nikse.dk@gmail.com Fazer nova tradução a partir da legenda atual Conversão em lote... Gerar tempo como texto... + Conversor de medidas... Dividir legenda... Anexar legenda... Juntar legendas... @@ -684,6 +694,8 @@ E-mail: mailto:nikse.dk@gmail.com Abrir arquivo de vídeo... Selecione a faixa de áudio Fechar arquivo de vídeo + Importar alterações de cena... + Remover alterações de cena Mostrar/ocultar vídeo Mostrar/ocultar forma de onda Mostrar/ocultar forma de onda e espectrograma @@ -1096,12 +1108,29 @@ Deseja continuar? Antes de juntar legendas Legendas juntadas Log de status + {0} alterações de cena importadas Selecionar legenda a partir do arquivo Matroska Foi encontrada mais do que uma legenda - por favor, escolha uma Faixa {0} - {1} - idioma: {2} - tipo: {3} + + Conversor de medidas + Converter de + Converter para + Copiar para área de transferência + Celsius + Fahrenheit + Milhas + Quilômetros + Metros + Jardas + Pés + Polegadas + Libras + Quilos + Mesclar linhas com o mesmo texto diff --git a/src/Logic/SubtitleFormats/AdvancedSubStationAlpha.cs b/src/Logic/SubtitleFormats/AdvancedSubStationAlpha.cs index a68139748..5f84ff912 100644 --- a/src/Logic/SubtitleFormats/AdvancedSubStationAlpha.cs +++ b/src/Logic/SubtitleFormats/AdvancedSubStationAlpha.cs @@ -74,6 +74,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats } LoadSubtitle(subtitle, lines, fileName); + Errors = null; if (subtitle.Paragraphs.Count > _errorCount) { if (!string.IsNullOrEmpty(subtitle.Header)) @@ -629,6 +630,7 @@ Format: Layer, Start, End, Style, Actor, MarginL, MarginR, MarginV, Effect, Text public override void LoadSubtitle(Subtitle subtitle, List lines, string fileName) { _errorCount = 0; + Errors = null; bool eventsStarted = false; bool fontsStarted = false; bool graphicsStarted = false; diff --git a/src/Logic/SubtitleFormats/MicroDvd.cs b/src/Logic/SubtitleFormats/MicroDvd.cs index b653d74ca..8183fb4c6 100644 --- a/src/Logic/SubtitleFormats/MicroDvd.cs +++ b/src/Logic/SubtitleFormats/MicroDvd.cs @@ -49,7 +49,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats } } } - + Errors = null; return trimmedLines.Count > errors; } @@ -279,6 +279,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats { _errorCount = 0; _errors = new StringBuilder(); + Errors = null; _lineNumber = 0; foreach (string line in lines) diff --git a/src/Logic/SubtitleFormats/SubRip.cs b/src/Logic/SubtitleFormats/SubRip.cs index d7bfcbea9..ea0465740 100644 --- a/src/Logic/SubtitleFormats/SubRip.cs +++ b/src/Logic/SubtitleFormats/SubRip.cs @@ -46,6 +46,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats var subtitle = new Subtitle(); LoadSubtitle(subtitle, lines, fileName); + Errors = null; return subtitle.Paragraphs.Count > _errorCount; } diff --git a/src/Logic/SubtitleFormats/SubStationAlpha.cs b/src/Logic/SubtitleFormats/SubStationAlpha.cs index 22de02b8f..ded47ca11 100644 --- a/src/Logic/SubtitleFormats/SubStationAlpha.cs +++ b/src/Logic/SubtitleFormats/SubStationAlpha.cs @@ -30,6 +30,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats { var subtitle = new Subtitle(); LoadSubtitle(subtitle, lines, fileName); + Errors = null; return subtitle.Paragraphs.Count > _errorCount; } @@ -356,6 +357,7 @@ Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text public override void LoadSubtitle(Subtitle subtitle, List lines, string fileName) { _errorCount = 0; + Errors = null; bool eventsStarted = false; subtitle.Paragraphs.Clear(); string[] format = "Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text".Split(',');