From 72351333b4fc796cd885ef37145be6f71bb86de9 Mon Sep 17 00:00:00 2001 From: Kannagi Date: Sun, 5 Mar 2023 18:35:00 +0800 Subject: [PATCH] 2023.03.05-2 --- languages/en-US/yt-dlp-gui.lang | 2 +- languages/zh-TW/yt-dlp-gui.lang | 2 +- yt-dlp-gui/Models/Lang.cs | 2 +- yt-dlp-gui/ViewModels/Main.cs | 4 ++-- yt-dlp-gui/Views/Main.xaml | 2 +- yt-dlp-gui/Views/Main.xaml.cs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/languages/en-US/yt-dlp-gui.lang b/languages/en-US/yt-dlp-gui.lang index 1ebf542..272a368 100644 --- a/languages/en-US/yt-dlp-gui.lang +++ b/languages/en-US/yt-dlp-gui.lang @@ -58,7 +58,7 @@ Main: Aria2: Aria2 Aria2Enabled: Enabled AutoDownload: Automatically download - AutoDownloadClipboard: Upon clipboard detection + AutoDownloadAnalysed: After analysed LimitRate: Limit Rate LimitRateHelper: 50K or 4.2M # Label diff --git a/languages/zh-TW/yt-dlp-gui.lang b/languages/zh-TW/yt-dlp-gui.lang index a0c683c..4e3d7e5 100644 --- a/languages/zh-TW/yt-dlp-gui.lang +++ b/languages/zh-TW/yt-dlp-gui.lang @@ -58,7 +58,7 @@ Main: Aria2: Aria2 Aria2Enabled: 啟用 AutoDownload: 自動下載 - AutoDownloadClipboard: 當剪貼簿檢測到影片 + AutoDownloadAnalysed: 在分析之後 LimitRate: 速度限制 LimitRateHelper: 50K or 4.2M # Label diff --git a/yt-dlp-gui/Models/Lang.cs b/yt-dlp-gui/Models/Lang.cs index 5661545..c458c72 100644 --- a/yt-dlp-gui/Models/Lang.cs +++ b/yt-dlp-gui/Models/Lang.cs @@ -72,7 +72,7 @@ public class LangMain :INotifyPropertyChanged { public string Aria2 { get; set; } = "Aria2"; public string Aria2Enabled { get; set; } = "Enabled"; public string AutoDownload { get; set; } = "Automatically download"; - public string AutoDownloadClipboard { get; set; } = "Upon clipboard detection"; + public string AutoDownloadAnalysed { get; set; } = "After analysed"; //Label public string Live { get; set; } = "LIVE"; diff --git a/yt-dlp-gui/ViewModels/Main.cs b/yt-dlp-gui/ViewModels/Main.cs index 5b57716..9c6308e 100644 --- a/yt-dlp-gui/ViewModels/Main.cs +++ b/yt-dlp-gui/ViewModels/Main.cs @@ -172,7 +172,7 @@ public void CheckExtension() { public bool IsAbouted { get; set; } = false; public bool IsMonitor { get; set; } = false; public bool AlwaysOnTop { get; set; } = false; - public bool AutoDownloadClipboard { get; set; } = false; + public bool AutoDownloadAnalysed { get; set; } = false; public bool RememberWindowStatePosition { get; set; } = false; public bool RememberWindowStateSize { get; set; } = false; public double Top { get; set; } = 0; @@ -368,7 +368,7 @@ private void Config_PropertyChanged(object? sender, PropertyChangedEventArgs e) public bool IsMonitor { get; set; } = false; [Description("Configuration File")] public string ConfigurationFile { get; set; } = string.Empty; [Description("Aria2 Settings")] public bool UseAria2 { get; set; } = false; - [Description("Automatically download Upon clipboard detection")] public bool AutoDownloadClipboard { get; set; } = false; + [Description("Automatically download Upon clipboard detection")] public bool AutoDownloadAnalysed { get; set; } = false; [Description("Automatically download Upon clipboard detection")] public string LimitRate { get; set; } = string.Empty; [Description("Paths")] public string PathYTDLP { get; set; } = string.Empty; diff --git a/yt-dlp-gui/Views/Main.xaml b/yt-dlp-gui/Views/Main.xaml index 43ebb10..ae7ef05 100644 --- a/yt-dlp-gui/Views/Main.xaml +++ b/yt-dlp-gui/Views/Main.xaml @@ -609,7 +609,7 @@ - + diff --git a/yt-dlp-gui/Views/Main.xaml.cs b/yt-dlp-gui/Views/Main.xaml.cs index e8eda3d..25114b7 100644 --- a/yt-dlp-gui/Views/Main.xaml.cs +++ b/yt-dlp-gui/Views/Main.xaml.cs @@ -217,7 +217,7 @@ private void Analyze_Start() { GetInfo(); Data.IsAnalyze = false; - if (Data.AutoDownloadClipboard) { + if (Data.AutoDownloadAnalysed) { Download_Start(); } });