Merge pull request #8512 from 1337joe/add-hearing-impaired-fix

This commit is contained in:
Claus Vium 2022-10-07 15:19:19 +02:00 committed by GitHub
commit f3c1ca0760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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))
{