Skip to content

Commit

Permalink
Added more languages and support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezzpify committed Dec 31, 2016
1 parent 0c9513f commit 3105b82
Show file tree
Hide file tree
Showing 9 changed files with 152 additions and 114 deletions.
Binary file modified SingleBoostr/SingleBoostr/.vs/SingleBoostr/v14/.suo
Binary file not shown.
6 changes: 0 additions & 6 deletions SingleBoostr/SingleBoostr/SingleBoostr/SingleBoostr.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@
<ApplicationIcon>icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="SingleBoostr.API, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>.\SingleBoostr.API.dll</HintPath>
Expand Down Expand Up @@ -67,7 +63,6 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Settings.cs" />
<Compile Include="ToS.cs" />
<EmbeddedResource Include="mainForm.resx">
<DependentUpon>mainForm.cs</DependentUpon>
Expand All @@ -82,7 +77,6 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand Down
56 changes: 50 additions & 6 deletions SingleBoostr/SingleBoostr/SingleBoostr/ToS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,54 @@ namespace SingleBoostr
{
class ToS
{
public static Dictionary<string, string> Languages = new Dictionary<string, string>()
{
{ "English", "en" },
{ "Nederlands", "nl" },
{ "Lietuvių Kalba", "lt" },
{ "Українська", "uk" },
{ "Norsk", "no" },
{ "Français", "fr" },
{ "Latviešu Valoda", "lv" },
{ "Shqip", "sq" },
{ "Dansk", "da" },
{ "Bahasa Indonesia", "in" },
{ "Deutsch", "de" },
{ "Русский язык", "ru" },
{ "Suomi", "fi" },
{ "Português", "pt" },
{ "Svenska", "sv" },
{ "Pirate", "pirate" }
};

public static string GetTermsOfService(string language)
{
switch (language)
{
case "nl":
/*Dutch*/
return "Ga akkoord met de volgende voorwaarden voordat u verder gaat:\n\n"

+ "Dit programma zal niet leiden tot een VAC BAN. Echter, neem ik geen verantwoordelijkheid "
+ "als er om welke reden dan ook uw account verbannen wordt. Ik hoop dat u slim genoeg "
+ "bent om niet te gaan cheaten op uw account en daarna de schuld op het programma schuift.\n\n"

+ "Begrijpt u dit en gaat u akkoord?\n"
+ "Op 'No' drukken zorgt ervoor dat het programma afsluit.\n\n"
+ "Translation by: Karel and Dev";

case "lt":
/*Lithuanian*/
return "Prašau sutikti su salygomis prieš naudojant programą:\n\n"

+ "Ši programa niekaip nepakenks jūsų Steam Accountui, dėl šios programos jūs negausite VAC. "
+ "Bet vis dėl to aš neprisiimu jokios atsakomybės jei jūsų Accountas bus užbanintas. "
+ "Aš tikiuosi Jūs esate pakankamai gudrus nenaudoti kitu programų, o poto kaltinti šia programą.\n\n"

+ "Ar Jūs supratote ir sutinkate su salygomis?\n"
+ "Paspaudus 'No' išjunksite programą.\n\n"
+ "Translation by: Kankis";

case "uk":
/*Ukrainian*/
return "Будь ласка, прийміть наступні умови угоди, перш ніж продовжити:\n\n"
Expand All @@ -30,13 +74,13 @@ public static string GetTermsOfService(string language)
/*Norwegian*/
return "Vennligst godta følgende vilkår før du fortsetter:\n\n"

+ "Dette programmet vil ikke føre til at kontoen din for å få VAC utestengt. Imidlertid vil jeg ta "
+ "intet ansvar hvis en eller annen grunn kontoen din blir utestengt. Jeg håper du er smart "
+ "nok til ikke å jukse på kontoen din, og deretter skylde på dette programmet eller meg.\n\n"
+ "Dette programmet vil ikke føre til at kontoen din får VAC ban. Men jeg tar ikke ansvar "
+ "vis kontoen din blir VAC bannet på noen måter. Jeg håper du er smart nok til å ikke "
+ "jukse på kontoen din, og skylde på programmet eller meg.\n\n"

+ "Forstår du og samtykker til dette?\n"
+ "Forstår du og er enig i dette?\n"
+ "Ved å trykke 'No' vil avslutte programmet.\n\n"
+ "Translation by: K-market";
+ "Translation by: K-market and willzz";

case "fr":
/*French*/
Expand Down Expand Up @@ -169,7 +213,7 @@ public static string GetTermsOfService(string language)
+ "on ye account 'n then blame it on 'tis program or me.\n\n"

+ "Do ye understand 'n agree to 'tis?\n"
+ "Pressin' NO gunna exit th' program.\n\n"
+ "Pressin' 'No' gunna exit th' program.\n\n"
+ "Translation by: Blackbeard";

default:
Expand Down
111 changes: 47 additions & 64 deletions SingleBoostr/SingleBoostr/SingleBoostr/mainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3105b82

Please sign in to comment.