Skip to content

Commit a362dc7

Browse files
authored
Merge pull request #82 from daniel-jann/master
fix issue #60, use stringLocalizer arguments
2 parents f7e2c97 + 9d275da commit a362dc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Localization.SqlLocalizer/DbStringLocalizer/SqlStringLocalizer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ public LocalizedString this[string name]
3737
{
3838
get
3939
{
40-
return this[name];
40+
var localizedString = this[name];
41+
return new LocalizedString(name, String.Format(localizedString.Value, arguments), localizedString.ResourceNotFound);
4142
}
4243
}
4344

0 commit comments

Comments
 (0)