aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Eisele <Tim_Eisele@web.de>2026-03-29 10:28:15 +0200
committerGitHub <noreply@github.com>2026-03-29 10:28:15 +0200
commita12736a0ce7f1664d33bbf24fd8223ea9873dc69 (patch)
tree9c871f40da77dced456673433c8b7e5ba888c3e3
parentf793acc1aad908518180d4be958a028de317ec60 (diff)
Apply suggestions from code review
Co-authored-by: theguymadmax <theguymadmax@proton.me>
-rw-r--r--Emby.Server.Implementations/Localization/LocalizationManager.cs2
-rw-r--r--Emby.Server.Implementations/Localization/Ratings/ca.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Localization/LocalizationManager.cs b/Emby.Server.Implementations/Localization/LocalizationManager.cs
index 4c1c087184..d2622dc1ec 100644
--- a/Emby.Server.Implementations/Localization/LocalizationManager.cs
+++ b/Emby.Server.Implementations/Localization/LocalizationManager.cs
@@ -327,7 +327,7 @@ namespace Emby.Server.Implementations.Localization
&& ratingsDictionary.TryGetValue(rating[(countryCode.Length + 1)..].Trim(), out var normalizedValue))
{
return normalizedValue;
- }
+ }
}
else
{
diff --git a/Emby.Server.Implementations/Localization/Ratings/ca.json b/Emby.Server.Implementations/Localization/Ratings/ca.json
index a915dc8e31..76550b64c3 100644
--- a/Emby.Server.Implementations/Localization/Ratings/ca.json
+++ b/Emby.Server.Implementations/Localization/Ratings/ca.json
@@ -24,7 +24,7 @@
}
},
{
- "ratingStrings": [],
+ "ratingStrings": ["C8"],
"ratingScore": {
"score": 8,
"subScore": 0