-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Localize parts of the MainWindow as a test
- Loading branch information
1 parent
fbdf9db
commit dfa6d61
Showing
4 changed files
with
55 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
using System.Windows; | ||
using System; | ||
using System.Windows; | ||
|
||
namespace AnnoMapEditor.UI.Windows.Main | ||
{ | ||
public enum DataPathStatusType { | ||
LoadingRDA, | ||
GamePathSet, | ||
ExtractedRdaPathSet, | ||
GamePathInvalid | ||
} | ||
|
||
public enum ConfigureType { | ||
Change, | ||
Select | ||
} | ||
|
||
public class DataPathStatus | ||
{ | ||
[Obsolete] | ||
public string Status { get; set; } = string.Empty; | ||
|
||
public DataPathStatusType StatusType { get; set; } | ||
|
||
public string? ToolTip { get; set; } | ||
|
||
public Visibility AutoDetect { get; set; } = Visibility.Collapsed; | ||
|
||
public Visibility Configure { get; set; } = Visibility.Visible; | ||
|
||
[Obsolete] | ||
public string ConfigureText { get; set; } = string.Empty; | ||
public ConfigureType ConfigureType { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
namespace AnnoMapEditor.UI.Windows.Main | ||
using System; | ||
|
||
namespace AnnoMapEditor.UI.Windows.Main | ||
{ | ||
public enum ExportAsModStatus { | ||
LoadingRDA, | ||
ExportOnlyOldWorld, | ||
SetGamePath, | ||
AsPlayableMod | ||
} | ||
public class ExportStatus | ||
{ | ||
public bool CanExportAsMod { get; set; } | ||
|
||
[Obsolete] | ||
public string ExportAsModText { get; set; } = ""; | ||
|
||
public ExportAsModStatus TextStatus { get; set; } = ExportAsModStatus.LoadingRDA; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters