Skip to content

Commit

Permalink
Merge pull request #311 from wezz/bugfix/dictionary-resolve
Browse files Browse the repository at this point in the history
Ensure dictionaries resolve translation with correct key
  • Loading branch information
valdisiljuconoks authored Nov 15, 2024
2 parents 06f8984 + 92d79c6 commit e631e6b
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 e631e6b

Please sign in to comment.