diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-04-11 10:24:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-11 10:24:48 +0200 |
| commit | 193a15ea45d5bd776d3e068b29a2f11eee6e4911 (patch) | |
| tree | b1ed15e5bfd73ea94fe6a22533d8d6763d404340 /Emby.Server.Implementations/Localization | |
| parent | 45700f6f7d1343c10a2aa104a8548f14daecd73e (diff) | |
| parent | c300651d0ddae2e2a3b3cde55989284f5972a79a (diff) | |
Merge pull request #16567 from shocklateboy92/fix/iso639-2-language-display
Fix language display for ISO 639-2-only codes (e.g. mul, und, mis, zxx)
Diffstat (limited to 'Emby.Server.Implementations/Localization')
| -rw-r--r-- | Emby.Server.Implementations/Localization/LocalizationManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Localization/LocalizationManager.cs b/Emby.Server.Implementations/Localization/LocalizationManager.cs index bc80c2b405..6fca5bc1ba 100644 --- a/Emby.Server.Implementations/Localization/LocalizationManager.cs +++ b/Emby.Server.Implementations/Localization/LocalizationManager.cs @@ -138,7 +138,7 @@ namespace Emby.Server.Implementations.Localization string twoCharName = parts[2]; if (string.IsNullOrWhiteSpace(twoCharName)) { - continue; + twoCharName = string.Empty; } else if (twoCharName.Contains('-', StringComparison.OrdinalIgnoreCase)) { |
