Skip to content

Commit

Permalink
Improvements made to the launchers
Browse files Browse the repository at this point in the history
  • Loading branch information
UndertakerBen committed May 3, 2020
1 parent 3e0ddb3 commit 5965084
Show file tree
Hide file tree
Showing 75 changed files with 827 additions and 3,474 deletions.
473 changes: 315 additions & 158 deletions Form1.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,11 @@
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Form2.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form2.Designer.cs">
<DependentUpon>Form2.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Form2.resx">
<DependentUpon>Form2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
Expand Down
20 changes: 20 additions & 0 deletions Launcher/Brave Beta x64 Launcher/Form1.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Globalization;
using System.Windows.Forms;

namespace Brave_Beta_x64_Launcher
Expand All @@ -7,7 +8,26 @@ public partial class Form1 : Form
{
public Form1()
{
CultureInfo culture = CultureInfo.CurrentUICulture;
InitializeComponent();
switch (culture.TwoLetterISOLanguageName)
{
case "de":
radioButton3.Text = "Das Standard Profil von Brave verwenden";
radioButton2.Text = "Für jede Version ein eigenes Profil verwenden";
radioButton1.Text = "Ein Profil für alle Versionen verwenden";
break;
case "ru":
radioButton3.Text = "Использовать стандартное месторасположение профиля (readme)";
radioButton2.Text = "Использовать разные папки для профилей разных версий";
radioButton1.Text = "Использовать один профиль для всех версий";
break;
default:
radioButton3.Text = "Use the standard profile of Brave";
radioButton2.Text = "Use a separate profile for each version";
radioButton1.Text = "Use one profile for all versions";
break;
}
}
private void Button1_Click(object sender, System.EventArgs e)
{
Expand Down
105 changes: 0 additions & 105 deletions Launcher/Brave Beta x64 Launcher/Form2.Designer.cs

This file was deleted.

31 changes: 0 additions & 31 deletions Launcher/Brave Beta x64 Launcher/Form2.cs

This file was deleted.

0 comments on commit 5965084

Please sign in to comment.