Skip to content

Commit

Permalink
feat: german added
Browse files Browse the repository at this point in the history
  • Loading branch information
eymenefealtun committed Sep 19, 2023
1 parent 1f9c96f commit 4e11490
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions TarotType.Main/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<ComboBoxItem Content="Finnish" />
<ComboBoxItem Content="French" />
<ComboBoxItem Content="Georgian" />
<ComboBoxItem Content="German" />
<ComboBoxItem Content="Greek" />
<ComboBoxItem Content="Hebrew" />
<ComboBoxItem Content="Kurdish" />
Expand Down
7 changes: 7 additions & 0 deletions TarotType.Main/Properties/Resources.Designer.cs

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

3 changes: 3 additions & 0 deletions TarotType.Main/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@
<data name="Georgian" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Words\Georgian\Georgian.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="German" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Words\German\German.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Greek" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Words\Greek\Greek.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
Expand Down
3 changes: 3 additions & 0 deletions TarotType.Main/Utilities/SourceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using TarotType.Main.Utilities.Words.Finnish;
using TarotType.Main.Utilities.Words.Hebrew;
using TarotType.Main.Utilities.Words.Romanian;
using TarotType.Main.Words.German;

namespace TarotType.Main.Utilities
{
Expand All @@ -46,6 +47,7 @@ public SourceManager()
{ new Finnish(), languages.Finnish},
{ new French(), languages.French},
{ new Georgian(), languages.Georgian},
{ new German(), languages.German},
{ new Greek(), languages.Greek},
{ new Hebrew(), languages.Hebrew},
{ new Kurdish(), languages.Kurdish},
Expand All @@ -69,6 +71,7 @@ public enum languages
Finnish,
French,
Georgian,
German,
Greek,
Hebrew,
Kurdish,
Expand Down
20 changes: 20 additions & 0 deletions TarotType.Main/Words/German/German.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using TarotType.Main.Utilities;
using TarotType.Main.Utilities.Words;

namespace TarotType.Main.Words.German
{
public class German : Language
{
SourceManager.flowDirections _flowDirection = SourceManager.flowDirections.left;
string _path = @"Words\German\German.txt";
public override SourceManager.flowDirections FlowDirection()
{
return _flowDirection;
}

public override string Path()
{
return _path;
}
}
}
1 change: 1 addition & 0 deletions TarotType.Main/Words/German/German.txt

Large diffs are not rendered by default.

0 comments on commit 4e11490

Please sign in to comment.