mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Merge pull request #23050 from peppy/debug-use-en-localisation-fallbacks
Always use `LocalisableString` fallbacks when deploying debug and viewing english
This commit is contained in:
commit
e78d6c861f
@ -65,6 +65,11 @@ namespace osu.Game.Localisation
|
|||||||
if (manager == null)
|
if (manager == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
// When using the English culture, prefer the fallbacks rather than osu-resources baked strings.
|
||||||
|
// They are guaranteed to be up-to-date, and is also what a developer expects to see when making changes to `xxxStrings.cs` files.
|
||||||
|
if (EffectiveCulture.Name == @"en")
|
||||||
|
return null;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return manager.GetString(key, EffectiveCulture);
|
return manager.GetString(key, EffectiveCulture);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user