From 92d79c63ec279d4188bbb34b6856751ea3c484bb Mon Sep 17 00:00:00 2001 From: Wezz Balk Date: Fri, 15 Nov 2024 09:47:20 +0100 Subject: [PATCH] Ensure dictionaries resolve translation with correct key --- common/src/DbLocalizationProvider/LocalizationProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/DbLocalizationProvider/LocalizationProvider.cs b/common/src/DbLocalizationProvider/LocalizationProvider.cs index 2b642148..1a26c3af 100644 --- a/common/src/DbLocalizationProvider/LocalizationProvider.cs +++ b/common/src/DbLocalizationProvider/LocalizationProvider.cs @@ -409,7 +409,7 @@ internal IEnumerable> GetLocalizedResourceTranslati var resourceKey = _keyBuilder.BuildResourceKey(type, property.Name); - yield return new(resourceKey, GetString(property.Name, culture)); + yield return new(property.Name, GetString(resourceKey, culture)); } }