Skip to content

Commit

Permalink
Added Russian support
Browse files Browse the repository at this point in the history
Co-Authored-By: Lensrub <[email protected]>
  • Loading branch information
David-JonesDVN and Lensrub committed Mar 1, 2019
1 parent ab2ffec commit abe320e
Show file tree
Hide file tree
Showing 11 changed files with 2,384 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Added: thcrap directory setting.
Added: Confirmation dialog when removing custom categories/games.
Added: Drag/drop support to Neko Project II and thcrap's directory settings.
Added: Support for IaMP's Config.exe
Added: Complete localization support.
Added: Russian language support. (courtesy of Lensrub)
Changed: Game configuration dialog shows which game you're configuring.
Changed: Normal buttons no longer use the hand cursor.
Changed: The configuration form always shows at the center of the main window.
Expand Down
13 changes: 7 additions & 6 deletions Touhou Launcher/MainForm.Designer.cs

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

7 changes: 6 additions & 1 deletion Touhou Launcher/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ private void InitializeLanguage()
break;
case 1: rm = new System.Resources.ResourceManager("Touhou_Launcher.Resources_jp", System.Reflection.Assembly.GetExecutingAssembly());
break;
case 2: if (File.Exists(Path.GetDirectoryName(Application.ExecutablePath) + "\\Resources_custom.resources"))
case 2: rm = new System.Resources.ResourceManager("Touhou_Launcher.Resources_ru", System.Reflection.Assembly.GetExecutingAssembly());
break;
case 3: if (File.Exists(Path.GetDirectoryName(Application.ExecutablePath) + "\\Resources_custom.resources"))
rm = System.Resources.ResourceManager.CreateFileBasedResourceManager("Resources_custom", Path.GetDirectoryName(Application.ExecutablePath), null);
else
languageBox.SelectedIndex = 0;
Expand Down Expand Up @@ -333,6 +335,9 @@ private void InitializeLanguage()
trayFighting.Text = rm.GetString("fightingGroup");
trayOther.Text = rm.GetString("otherGroup");
trayCustom.Text = rm.GetString("customGames");
trayRandom.Text = rm.GetString("trayRandom");
trayOpen.Text = rm.GetString("trayOpen");
trayExit.Text = rm.GetString("trayExit");
mainGroup.Text = rm.GetString("mainGroup");
fightingGroup.Text = rm.GetString("fightingGroup");
otherGroup.Text = rm.GetString("otherGroup");
Expand Down
1 change: 1 addition & 0 deletions Touhou Launcher/MainForm.resx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
<data name="label2.Text" xml:space="preserve">
<value>Created by: David_Jones (DVN) (Started: 07/02/2019) (DD/MM/YYYY)
Original Touhou Launcher created by: Widdiful
Russian translation by: Lensrub

This is a nonprofit project developed independently by a fan
Touhou belongs to Team Shanghai Alice
Expand Down
27 changes: 27 additions & 0 deletions Touhou Launcher/Resources_en.Designer.cs

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

9 changes: 9 additions & 0 deletions Touhou Launcher/Resources_en.resx
Original file line number Diff line number Diff line change
Expand Up @@ -637,4 +637,13 @@ random game option:</value>
<data name="replayDownloadTitle" xml:space="preserve">
<value>Download Replay?</value>
</data>
<data name="trayExit" xml:space="preserve">
<value>Exit</value>
</data>
<data name="trayOpen" xml:space="preserve">
<value>Open</value>
</data>
<data name="trayRandom" xml:space="preserve">
<value>Random Game</value>
</data>
</root>
27 changes: 27 additions & 0 deletions Touhou Launcher/Resources_jp.Designer.cs

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

9 changes: 9 additions & 0 deletions Touhou Launcher/Resources_jp.resx
Original file line number Diff line number Diff line change
Expand Up @@ -637,4 +637,13 @@ random game option:</value>
<data name="replayDownloadTitle" xml:space="preserve">
<value>Download Replay?</value>
</data>
<data name="trayExit" xml:space="preserve">
<value>Exit</value>
</data>
<data name="trayOpen" xml:space="preserve">
<value>Open</value>
</data>
<data name="trayRandom" xml:space="preserve">
<value>Random Game</value>
</data>
</root>
Loading

0 comments on commit abe320e

Please sign in to comment.