Skip to content

Commit

Permalink
Greek added
Browse files Browse the repository at this point in the history
  • Loading branch information
eymenefealtun committed Aug 15, 2023
1 parent 3d2cb60 commit b2bb5cb
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 6 deletions.
9 changes: 5 additions & 4 deletions TarotType.Main/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@
SelectedValuePath="Content"
x:Name="cBoxLanguages">
<ComboBoxItem Content="Arabic" />
<ComboBoxItem Content="Azerbaijani" />
<ComboBoxItem Content="English" />
<ComboBoxItem Content="Turkish" />
<ComboBoxItem Content="Kurdish" />
<ComboBoxItem Content="Spanish" />
<ComboBoxItem Content="French" />
<ComboBoxItem Content="Greek" />
<ComboBoxItem Content="Kurdish" />
<ComboBoxItem Content="Persian" />
<ComboBoxItem Content="Azerbaijani" />
<ComboBoxItem Content="Spanish" />
<ComboBoxItem Content="Turkish" />
</ComboBox>
</StackPanel>
<StackPanel VerticalAlignment="Center"
Expand Down
4 changes: 3 additions & 1 deletion Utilities/SourceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using Utilities.Words.Persian;
using Utilities.Words.Spanish;
using Utilities.Words.Turkish;
using Utilities.Words.Greek;

namespace Utilities
{
Expand All @@ -19,11 +20,12 @@ public static class SourceManager
{ new English(), "English"},
{ new Arabic(), "Arabic"},
{ new Turkish(), "Turkish"},
{ new Kurdish(), "Kurdish"},
{ new Kurdish(), "Kurdish"},
{ new Spanish(), "Spanish"},
{ new French(), "French"},
{ new Persian(), "Persian"},
{ new Azerbaijani(), "Azerbaijani"},
{ new Greek(), "Greek"},
};

public static string[] GetLanguageArray(Language language)
Expand Down
4 changes: 4 additions & 0 deletions Utilities/Utilities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<None Remove="Words\Azerbaijani\Azerbaijani-38.503.txt" />
<None Remove="Words\English\English-300.000.txt" />
<None Remove="Words\French\French-336.528.txt" />
<None Remove="Words\Greek\Greek-35.279.txt" />
<None Remove="Words\Kurdish\Kurdish-959.txt" />
<None Remove="Words\Persian\Persian-900.357.txt" />
<None Remove="Words\Spanish\Spanish-636.598.txt" />
Expand All @@ -24,6 +25,9 @@
<EmbeddedResource Include="Words\French\French-336.528.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Words\Greek\Greek-35.279.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Words\Persian\Persian-900.357.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
Expand Down
1 change: 1 addition & 0 deletions Utilities/Words/Greek/Greek-35.279.txt

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions Utilities/Words/Greek/Greek.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
namespace Utilities.Words.Greek
{
public class Greek : Language
{
string _path = @"Words\Greek\Greek-35.279.txt";
string _flowDirection = "left";
public override string FlowDirection()
{
return _flowDirection;
}

public override string Path()
{
return _path;
}
}
}
2 changes: 1 addition & 1 deletion Utilities/Words/Kurdish/Kurdish.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Utilities.Words.Kurdish
{
public class Kurdish : Language
public class Kurdish : Language
{
string _path = @"Words\Kurdish\Kurdish-959.txt";
string _flowDirection = "left";
Expand Down

0 comments on commit b2bb5cb

Please sign in to comment.