mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 12:37:38 +09:00
Use a culture name that doesn't cause everything to fall over
This commit is contained in:
parent
feeff16476
commit
a195d4f5aa
@ -21,7 +21,7 @@ namespace osu.Game.Localisation
|
|||||||
|
|
||||||
public IEnumerable<string> GetAvailableResources() => throw new NotImplementedException();
|
public IEnumerable<string> GetAvailableResources() => throw new NotImplementedException();
|
||||||
|
|
||||||
public CultureInfo EffectiveCulture { get; } = new CultureInfo(@"debug");
|
public CultureInfo EffectiveCulture { get; } = CultureInfo.CurrentCulture;
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
@ -114,7 +114,7 @@ namespace osu.Game.Localisation
|
|||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
[Description(@"Debug (show raw keys)")]
|
[Description(@"Debug (show raw keys)")]
|
||||||
DebugLocalisation
|
debug
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -629,9 +629,9 @@ namespace osu.Game
|
|||||||
foreach (var language in Enum.GetValues(typeof(Language)).OfType<Language>())
|
foreach (var language in Enum.GetValues(typeof(Language)).OfType<Language>())
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
if (language == Language.DebugLocalisation)
|
if (language == Language.debug)
|
||||||
{
|
{
|
||||||
Localisation.AddLanguage(Language.DebugLocalisation.ToString(), new DebugLocalisationStore());
|
Localisation.AddLanguage(Language.debug.ToString(), new DebugLocalisationStore());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user