Skip to content

Commit

Permalink
feat: hebrew added
Browse files Browse the repository at this point in the history
  • Loading branch information
eymenefealtun committed Sep 17, 2023
1 parent 21a8204 commit 33398a3
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 1 deletion.
1 change: 1 addition & 0 deletions TarotType.Main/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<ComboBoxItem Content="French" />
<ComboBoxItem Content="Georgian" />
<ComboBoxItem Content="Greek" />
<ComboBoxItem Content="Hebrew" />
<ComboBoxItem Content="Kurdish" />
<ComboBoxItem Content="Persian" />
<ComboBoxItem Content="Serbian" />
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 @@ -148,6 +148,9 @@
<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>
<data name="Hebrew" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Words\Hebrew\Hebrew.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Kurdish" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Words\Kurdish\Kurdish.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
Expand Down
4 changes: 3 additions & 1 deletion TarotType.Main/Utilities/SourceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
using TarotType.Main.Utilities.Words.English;
using TarotType.Main.Utilities.Words.Chinese;
using TarotType.Main.Words.Serbian;
using System.Windows.Media;
using TarotType.Main.Utilities.Words.Swedish;
using TarotType.Main.Utilities.Words.Finnish;
using TarotType.Main.Utilities.Words.Hebrew;

namespace TarotType.Main.Utilities
{
Expand All @@ -46,6 +46,7 @@ public SourceManager()
{ new French(), languages.French},
{ new Georgian(), languages.Georgian},
{ new Greek(), languages.Greek},
{ new Hebrew(), languages.Hebrew},
{ new Kurdish(), languages.Kurdish},
{ new Persian(), languages.Persian},
{ new Serbian(), languages.Serbian},
Expand All @@ -67,6 +68,7 @@ public enum languages
French,
Georgian,
Greek,
Hebrew,
Kurdish,
Persian,
Serbian,
Expand Down
16 changes: 16 additions & 0 deletions TarotType.Main/Words/Hebrew/Hebrew.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace TarotType.Main.Utilities.Words.Hebrew
{
public class Hebrew : Language
{
string _path = @"Words\Hebrew\Hebrew";
SourceManager.flowDirections _flowDirection = SourceManager.flowDirections.right;
public override SourceManager.flowDirections FlowDirection()
{
return _flowDirection;
}
public override string Path()
{
return _path;
}
}
}
1 change: 1 addition & 0 deletions TarotType.Main/Words/Hebrew/Hebrew.txt

Large diffs are not rendered by default.

0 comments on commit 33398a3

Please sign in to comment.