Removed unused code. Minor code changes.

This commit is contained in:
Jeddunk 2021-01-19 20:37:13 +01:00
parent 1602937be3
commit 950844a14b
6 changed files with 27 additions and 61 deletions

View file

@ -1,42 +1,25 @@
using System.Collections.ObjectModel;
namespace GoldbergGUI.Core.Utils
{
public class Misc
public static class Misc
{
public const string SpecialCharsRegex = "[^0-9a-zA-Z]+";
public const string DefaultLanguageSelection = "english";
public static readonly ObservableCollection<string> DefaultLanguages = new ObservableCollection<string>(new[]
{
"arabic",
"bulgarian",
"schinese",
"tchinese",
"czech",
"danish",
"dutch",
"english",
"finnish",
"french",
"german",
"greek",
"hungarian",
"italian",
"japanese",
"koreana",
"norwegian",
"polish",
"portuguese",
"brazilian",
"romanian",
"russian",
"spanish",
"latam",
"swedish",
"thai",
"turkish",
"ukrainian",
"vietnamese"
});
public const string AlphaNumOnlyRegex = "[^0-9a-zA-Z]+";
}
public class GlobalHelp
{
public static string Header =>
"Information\n";
public static string TextPreLink =>
"Usually these settings are saved under";
public static string Link => "%APPDATA%\\Goldberg SteamEmu Saves\\settings";
public static string TextPostLink =>
", which makes these " +
"available for every game that uses the Goldberg Emulator. However, if you want to set specific settings " +
"for certain games (e.g. different language), you can remove the \"Global\" checkmark next to the option " +
"and then change it. If you want to remove that setting, just empty the field while \"Global\" is " +
"unchecked. (Not implemented yet!)";
}
}