Add files via upload

This commit is contained in:
Belim 2020-09-20 10:24:57 +02:00 committed by GitHub
parent a410c33423
commit fe7d69669d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 9 deletions

View file

@ -97,7 +97,7 @@ namespace Privatezilla
public MainWindow() public MainWindow()
{ {
// Uncomment lower line and add lang code to run localization test // Uncomment lower line and add lang code to run localization test
// Thread.CurrentThread.CurrentUICulture = new CultureInfo("de"); // Thread.CurrentThread.CurrentUICulture = new CultureInfo("es");
InitializeComponent(); InitializeComponent();
@ -214,7 +214,7 @@ namespace Privatezilla
}); });
// Settings > Microsoft Edge // 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.DisableAutoFillCredits()),
new SettingNode(new Setting.Edge.EdgeBackground()), new SettingNode(new Setting.Edge.EdgeBackground()),
new SettingNode(new Setting.Edge.DisableSync()), new SettingNode(new Setting.Edge.DisableSync()),
@ -354,12 +354,12 @@ namespace Privatezilla
if (shouldPerform) if (shouldPerform)
{ {
state.SubItems.Add(Properties.Resources.statusFailedConfigure); state.SubItems.Add(Properties.Resources.statusFailedConfigure); // Not configured
state.BackColor = Color.LavenderBlush; state.BackColor = Color.LavenderBlush;
} }
else else
{ {
state.SubItems.Add(Properties.Resources.statusSuccessConfigure); state.SubItems.Add(Properties.Resources.statusSuccessConfigure); // Configured
state.BackColor = Color.Honeydew; state.BackColor = Color.Honeydew;
} }
@ -400,12 +400,12 @@ namespace Privatezilla
var listItem = new ListViewItem(setting.ID()); var listItem = new ListViewItem(setting.ID());
if (result) if (result)
{ {
listItem.SubItems.Add(Properties.Resources.statusSuccessApply); listItem.SubItems.Add(Properties.Resources.statusSuccessApply); // Applied
listItem.BackColor = Color.Honeydew; listItem.BackColor = Color.Honeydew;
} }
else else
{ {
listItem.SubItems.Add(Properties.Resources.statusFailedApply); listItem.SubItems.Add(Properties.Resources.statusFailedApply); // Not applied
listItem.BackColor = Color.LavenderBlush; listItem.BackColor = Color.LavenderBlush;
} }
@ -441,12 +441,12 @@ namespace Privatezilla
var listItem = new ListViewItem(setting.ID()); var listItem = new ListViewItem(setting.ID());
if (result) if (result)
{ {
listItem.SubItems.Add(Properties.Resources.statusSuccessApply); listItem.SubItems.Add(Properties.Resources.statusSuccessApply); // Applied
listItem.BackColor = Color.Honeydew; listItem.BackColor = Color.Honeydew;
} }
else else
{ {
listItem.SubItems.Add(Properties.Resources.statusFailedApply); listItem.SubItems.Add(Properties.Resources.statusFailedApply); // Not applied
listItem.BackColor = Color.LavenderBlush; listItem.BackColor = Color.LavenderBlush;
} }

View file

@ -143,9 +143,11 @@
</data> </data>
<data name="columnSetting" xml:space="preserve"> <data name="columnSetting" xml:space="preserve">
<value>Setting</value> <value>Setting</value>
<comment>TreeView</comment>
</data> </data>
<data name="columnState" xml:space="preserve"> <data name="columnState" xml:space="preserve">
<value>State</value> <value>State</value>
<comment>TreeView</comment>
</data> </data>
<data name="CommunityPkg" xml:space="preserve"> <data name="CommunityPkg" xml:space="preserve">
<value>Get community package</value> <value>Get community package</value>
@ -181,6 +183,8 @@ You can also follow me on
\ttwitter.com/builtbybel \ttwitter.com/builtbybel
(C#) 2020, Builtbybel</value> (C#) 2020, Builtbybel</value>
<comment>About the app
Add translation credits here!</comment>
</data> </data>
<data name="LblPS" xml:space="preserve"> <data name="LblPS" xml:space="preserve">
<value>Scripts</value> <value>Scripts</value>
@ -203,15 +207,19 @@ You can also follow me on
</data> </data>
<data name="msgPSSave" xml:space="preserve"> <data name="msgPSSave" xml:space="preserve">
<value>Please switch to code view.</value> <value>Please switch to code view.</value>
<comment>Scripts (optional)</comment>
</data> </data>
<data name="msgPSSelect" xml:space="preserve"> <data name="msgPSSelect" xml:space="preserve">
<value>Please select a script.</value> <value>Please select a script.</value>
<comment>Scripts (optional)</comment>
</data> </data>
<data name="msgPSSuccess" xml:space="preserve"> <data name="msgPSSuccess" xml:space="preserve">
<value>has been successfully executed</value> <value>has been successfully executed</value>
<comment>Scripts (optional)</comment>
</data> </data>
<data name="PSBack" xml:space="preserve"> <data name="PSBack" xml:space="preserve">
<value>Back</value> <value>Back</value>
<comment>GUI</comment>
</data> </data>
<data name="PSImport" xml:space="preserve"> <data name="PSImport" xml:space="preserve">
<value>Import script</value> <value>Import script</value>
@ -219,6 +227,7 @@ You can also follow me on
</data> </data>
<data name="PSInfo" xml:space="preserve"> <data name="PSInfo" xml:space="preserve">
<value>What does this template/script do?\r\n</value> <value>What does this template/script do?\r\n</value>
<comment>Scripting menu</comment>
</data> </data>
<data name="PSMarketplace" xml:space="preserve"> <data name="PSMarketplace" xml:space="preserve">
<value>Visit Marketplace</value> <value>Visit Marketplace</value>
@ -230,6 +239,7 @@ You can also follow me on
</data> </data>
<data name="PSViewCode" xml:space="preserve"> <data name="PSViewCode" xml:space="preserve">
<value>View code</value> <value>View code</value>
<comment>GUI</comment>
</data> </data>
<data name="releaseUnofficial" xml:space="preserve"> <data name="releaseUnofficial" xml:space="preserve">
<value>You are using an unoffical version of Privatezilla.</value> <value>You are using an unoffical version of Privatezilla.</value>
@ -728,6 +738,6 @@ Select a script to view it's description.
To check the code for vulnerabilities click on "View code". 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.</value> 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.</value>
<comment>GUI</comment> <comment>GUI </comment>
</data> </data>
</root> </root>