mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
Removed: Blank lines + White spaces
This commit is contained in:
parent
5272c26148
commit
a5a6d472b9
@ -11,7 +11,6 @@ using System.Xml;
|
||||
|
||||
namespace Nikse.SubtitleEdit.Forms
|
||||
{
|
||||
|
||||
public sealed partial class GoogleTranslate : PositionAndSizeForm
|
||||
{
|
||||
private Subtitle _subtitle;
|
||||
@ -317,7 +316,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
public static string TranslateTextViaApi(string input, string languagePair)
|
||||
{
|
||||
// string googleApiKey = "ABQIAAAA4j5cWwa3lDH0RkZceh7PjBTDmNAghl5kWSyuukQ0wtoJG8nFBxRPlalq-gAvbeCXMCkmrysqjXV1Gw";
|
||||
//string googleApiKey = "ABQIAAAA4j5cWwa3lDH0RkZceh7PjBTDmNAghl5kWSyuukQ0wtoJG8nFBxRPlalq-gAvbeCXMCkmrysqjXV1Gw";
|
||||
string googleApiKey = Configuration.Settings.Tools.GoogleApiKey;
|
||||
|
||||
input = input.Replace(Environment.NewLine, NewlineString);
|
||||
|
@ -132,7 +132,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (installed.Text.TrimEnd('.') == node.SelectSingleNode("Name").InnerText.TrimEnd('.') &&
|
||||
installed.SubItems[2].Text.Replace(",", ".") != node.SelectSingleNode("Version").InnerText.Replace(",", "."))
|
||||
{
|
||||
// item.BackColor = Color.LightGreen;
|
||||
//item.BackColor = Color.LightGreen;
|
||||
installed.BackColor = Color.LightPink;
|
||||
installed.SubItems[1].Text = _language.UpdateAvailable + " " + installed.SubItems[1].Text;
|
||||
buttonUpdateAll.Visible = true;
|
||||
|
Loading…
Reference in New Issue
Block a user