Fix localization lookup

This commit is contained in:
Joe Rogers 2022-10-07 07:48:31 -04:00
parent 2e4db18ebe
commit 62799697a1
No known key found for this signature in database
GPG Key ID: 0074AD57B8FDBBB4
2 changed files with 4 additions and 4 deletions

View File

@ -574,8 +574,8 @@ namespace Emby.Server.Implementations.Data
AddColumn(db, "MediaStreams", "ElPresentFlag", "INT", existingColumnNames);
AddColumn(db, "MediaStreams", "BlPresentFlag", "INT", existingColumnNames);
AddColumn(db, "MediaStreams", "DvBlSignalCompatibilityId", "INT", existingColumnNames);
AddColumn(db, "MediaStreams", "IsHearingImpaired", "TEXT", existingColumnNames);
AddColumn(db, "MediaStreams", "IsHearingImpaired", "BIT", existingColumnNames);
},
TransactionMode);
@ -6061,7 +6061,7 @@ AND Type = @InternalPersonType)");
item.LocalizedDefault = _localization.GetLocalizedString("Default");
item.LocalizedForced = _localization.GetLocalizedString("Forced");
item.LocalizedExternal = _localization.GetLocalizedString("External");
item.LocalizedHearingImpaired = _localization.GetLocalizedString("Hearing Impaired");
item.LocalizedHearingImpaired = _localization.GetLocalizedString("HearingImpaired");
}
return item;

View File

@ -730,7 +730,7 @@ namespace MediaBrowser.MediaEncoding.Probing
stream.LocalizedDefault = _localization.GetLocalizedString("Default");
stream.LocalizedForced = _localization.GetLocalizedString("Forced");
stream.LocalizedExternal = _localization.GetLocalizedString("External");
stream.LocalizedHearingImpaired = _localization.GetLocalizedString("Hearing Impaired");
stream.LocalizedHearingImpaired = _localization.GetLocalizedString("HearingImpaired");
if (string.IsNullOrEmpty(stream.Title))
{