Skip to content

Commit

Permalink
Ensure dictionaries resolve translation with correct key
Browse files Browse the repository at this point in the history
  • Loading branch information
Wezz Balk committed Nov 15, 2024
1 parent 06f8984 commit 92d79c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/DbLocalizationProvider/LocalizationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ internal IEnumerable<KeyValuePair<string, string>> GetLocalizedResourceTranslati

var resourceKey = _keyBuilder.BuildResourceKey(type, property.Name);

yield return new(resourceKey, GetString(property.Name, culture));
yield return new(property.Name, GetString(resourceKey, culture));
}
}

Expand Down

0 comments on commit 92d79c6

Please sign in to comment.