Removed: Blank lines + White spaces

This commit is contained in:
ivandrofly 2015-02-01 02:38:54 +00:00
parent 5272c26148
commit a5a6d472b9
2 changed files with 2 additions and 3 deletions

View File

@ -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);

View File

@ -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;