Skip to content

Commit

Permalink
2023.03.05-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kannagi authored and Kannagi committed Mar 5, 2023
1 parent 15f7ca9 commit 7235133
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion languages/en-US/yt-dlp-gui.lang
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion languages/zh-TW/yt-dlp-gui.lang
Expand Up @@ -58,7 +58,7 @@ Main:
Aria2: Aria2
Aria2Enabled: 啟用
AutoDownload: 自動下載
AutoDownloadClipboard: 當剪貼簿檢測到影片
AutoDownloadAnalysed: 在分析之後
LimitRate: 速度限制
LimitRateHelper: 50K or 4.2M
# Label
Expand Down
2 changes: 1 addition & 1 deletion yt-dlp-gui/Models/Lang.cs
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions yt-dlp-gui/ViewModels/Main.cs
Expand Up @@ -172,7 +172,7 @@ public class ViewData :INotifyPropertyChanged {
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;
Expand Down Expand Up @@ -368,7 +368,7 @@ public class GUIConfig :IYamlConfig, INotifyPropertyChanged {
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;
Expand Down
2 changes: 1 addition & 1 deletion yt-dlp-gui/Views/Main.xaml
Expand Up @@ -609,7 +609,7 @@
</StackPanel>
<!--Automatically download-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ -->
<TextBlock Grid.Row="3" Text="{Binding Source={x:Static app:App.Lang}, Path=Main.AutoDownload}" Margin="0,5,0,5" HorizontalAlignment="Center"/>
<CheckBox Grid.Row="3" Content="{Binding Source={x:Static app:App.Lang}, Path=Main.AutoDownloadClipboard}" IsChecked="{Binding AutoDownloadClipboard}" Margin="149,3,-1,3" Grid.ColumnSpan="3"/>
<CheckBox Grid.Row="3" Content="{Binding Source={x:Static app:App.Lang}, Path=Main.AutoDownloadAnalysed}" IsChecked="{Binding AutoDownloadAnalysed}" Margin="149,3,-1,3" Grid.ColumnSpan="3"/>
</Grid>
</TabItem>
</TabControl>
Expand Down
2 changes: 1 addition & 1 deletion yt-dlp-gui/Views/Main.xaml.cs
Expand Up @@ -217,7 +217,7 @@ public partial class Main :Window {
GetInfo();
Data.IsAnalyze = false;
if (Data.AutoDownloadClipboard) {
if (Data.AutoDownloadAnalysed) {
Download_Start();
}
});
Expand Down

0 comments on commit 7235133

Please sign in to comment.