mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 08:43:20 +08: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)
|
||||
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
|
||||
{
|
||||
return manager.GetString(key, EffectiveCulture);
|
||||
|
Loading…
Reference in New Issue
Block a user