mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 04:34:18 +01:00
update translations
This commit is contained in:
@@ -1042,12 +1042,12 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
var rating = CustomRatingForComparison;
|
||||
|
||||
if (string.IsNullOrEmpty(rating))
|
||||
if (string.IsNullOrWhiteSpace(rating))
|
||||
{
|
||||
rating = OfficialRatingForComparison;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(rating))
|
||||
if (string.IsNullOrWhiteSpace(rating))
|
||||
{
|
||||
return !GetBlockUnratedValue(user.Configuration);
|
||||
}
|
||||
|
||||
@@ -164,14 +164,12 @@ namespace MediaBrowser.Controller.Entities
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Never want folders to be blocked by "BlockNotRated"
|
||||
/// </summary>
|
||||
[IgnoreDataMember]
|
||||
public override string OfficialRatingForComparison
|
||||
{
|
||||
get
|
||||
{
|
||||
// Never want folders to be blocked by "BlockNotRated"
|
||||
if (this is Series)
|
||||
{
|
||||
return base.OfficialRatingForComparison;
|
||||
|
||||
Reference in New Issue
Block a user