From fe7d69669de488b9400d3efce28ebe9ea98f9161 Mon Sep 17 00:00:00 2001 From: Belim Date: Sun, 20 Sep 2020 10:24:57 +0200 Subject: [PATCH] Add files via upload --- src/Privatezilla/MainWindow.cs | 16 ++++++++-------- src/Privatezilla/Properties/Resources.resx | 12 +++++++++++- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/Privatezilla/MainWindow.cs b/src/Privatezilla/MainWindow.cs index 8a53d47..abe5984 100644 --- a/src/Privatezilla/MainWindow.cs +++ b/src/Privatezilla/MainWindow.cs @@ -97,7 +97,7 @@ namespace Privatezilla public MainWindow() { // Uncomment lower line and add lang code to run localization test - // Thread.CurrentThread.CurrentUICulture = new CultureInfo("de"); + // Thread.CurrentThread.CurrentUICulture = new CultureInfo("es"); InitializeComponent(); @@ -214,7 +214,7 @@ namespace Privatezilla }); // Settings > Microsoft Edge - TreeNode edge = new TreeNode(Properties.Resources.rootSettingsDefender, new TreeNode[] { + TreeNode edge = new TreeNode(Properties.Resources.rootSettingsEdge, new TreeNode[] { new SettingNode(new Setting.Edge.DisableAutoFillCredits()), new SettingNode(new Setting.Edge.EdgeBackground()), new SettingNode(new Setting.Edge.DisableSync()), @@ -354,12 +354,12 @@ namespace Privatezilla if (shouldPerform) { - state.SubItems.Add(Properties.Resources.statusFailedConfigure); + state.SubItems.Add(Properties.Resources.statusFailedConfigure); // Not configured state.BackColor = Color.LavenderBlush; } else { - state.SubItems.Add(Properties.Resources.statusSuccessConfigure); + state.SubItems.Add(Properties.Resources.statusSuccessConfigure); // Configured state.BackColor = Color.Honeydew; } @@ -400,12 +400,12 @@ namespace Privatezilla var listItem = new ListViewItem(setting.ID()); if (result) { - listItem.SubItems.Add(Properties.Resources.statusSuccessApply); + listItem.SubItems.Add(Properties.Resources.statusSuccessApply); // Applied listItem.BackColor = Color.Honeydew; } else { - listItem.SubItems.Add(Properties.Resources.statusFailedApply); + listItem.SubItems.Add(Properties.Resources.statusFailedApply); // Not applied listItem.BackColor = Color.LavenderBlush; } @@ -441,12 +441,12 @@ namespace Privatezilla var listItem = new ListViewItem(setting.ID()); if (result) { - listItem.SubItems.Add(Properties.Resources.statusSuccessApply); + listItem.SubItems.Add(Properties.Resources.statusSuccessApply); // Applied listItem.BackColor = Color.Honeydew; } else { - listItem.SubItems.Add(Properties.Resources.statusFailedApply); + listItem.SubItems.Add(Properties.Resources.statusFailedApply); // Not applied listItem.BackColor = Color.LavenderBlush; } diff --git a/src/Privatezilla/Properties/Resources.resx b/src/Privatezilla/Properties/Resources.resx index b1a3da1..5ba5644 100644 --- a/src/Privatezilla/Properties/Resources.resx +++ b/src/Privatezilla/Properties/Resources.resx @@ -143,9 +143,11 @@ Setting + TreeView State + TreeView Get community package @@ -181,6 +183,8 @@ You can also follow me on \ttwitter.com/builtbybel (C#) 2020, Builtbybel + About the app +Add translation credits here! Scripts @@ -203,15 +207,19 @@ You can also follow me on Please switch to code view. + Scripts (optional) Please select a script. + Scripts (optional) has been successfully executed + Scripts (optional) Back + GUI Import script @@ -219,6 +227,7 @@ You can also follow me on What does this template/script do?\r\n + Scripting menu Visit Marketplace @@ -230,6 +239,7 @@ You can also follow me on View code + GUI You are using an unoffical version of Privatezilla. @@ -728,6 +738,6 @@ Select a script to view it's description. To check the code for vulnerabilities click on "View code". To obtain new objects (templates, scripts etc.) visit the Marketplace in the upper right menu. Privatezilla uses the Marketplace of the app "SharpApp". Since this app is from the same developer and the scripting is based upon Powershell, they are also compatible with each other. - GUI + GUI \ No newline at end of file