summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-02 19:52:18 +0000
committersr55 <[email protected]>2015-01-02 19:52:18 +0000
commitc919eaba0bdf52a41443e2845e445de9582c5de3 (patch)
tree59a839bda404094e6ed019ef01ea23cd12ac7493 /win/CS/HandBrake.ApplicationServices
parentdde5fd02d10e1a76dc8a600f6e2ad69c6a6f1e65 (diff)
WinGui: Make the Tabs in the logging window a bit larger and improve the initial message in the log window when there is no log. This should make it clearer to users what they must do to get a log.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6680 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Encode/EncodeBase.cs8
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs9
2 files changed, 11 insertions, 6 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Encode/EncodeBase.cs b/win/CS/HandBrake.ApplicationServices/Services/Encode/EncodeBase.cs
index a805a714b..6a09e5985 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Encode/EncodeBase.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Encode/EncodeBase.cs
@@ -92,10 +92,12 @@ namespace HandBrake.ApplicationServices.Services.Encode
{
get
{
- string noLog =
- "No log data available... Log data will show when you start an encode. \n\nOpen the log file directory to get previous log files.";
+ string noLog = "There is no log information to display." + Environment.NewLine + Environment.NewLine
+ + "This window will only display logging information after you have started an encode." + Environment.NewLine
+ + Environment.NewLine + "You can find previous log files in the log directory or by clicking the 'Open Log Directory' button above.";
+
return string.IsNullOrEmpty(this.logBuffer.ToString())
- ? this.header + noLog
+ ? noLog
: this.header + this.logBuffer.ToString();
}
}
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs b/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs
index 3a17e093a..3666ce869 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Scan/LibScan.cs
@@ -152,8 +152,11 @@ namespace HandBrake.ApplicationServices.Services.Scan
{
get
{
- string noLog = "No log data available... Log data will show here after you scan a source. \n\nOpen the log file directory to get previous log files.";
- return string.IsNullOrEmpty(this.logging.ToString()) ? this.header + noLog : this.header + this.logging.ToString();
+ string noLog = "There is no log information to display." + Environment.NewLine + Environment.NewLine
+ + "This window will only display logging information after you have scanned a source." + Environment.NewLine
+ + Environment.NewLine + "You can find previous log files in the log directory or by clicking the 'Open Log Directory' button above.";
+
+ return string.IsNullOrEmpty(this.logging.ToString()) ? noLog : this.header + this.logging.ToString();
}
}
@@ -282,7 +285,7 @@ namespace HandBrake.ApplicationServices.Services.Scan
{
Console.WriteLine(e);
}
-
+
return bitmapImage;
}