localisation
This commit is contained in:
parent
18f51e435e
commit
6a3e009e54
8 changed files with 146 additions and 14 deletions
|
|
@ -626,7 +626,7 @@ namespace Yavsc.Controllers
|
|||
{
|
||||
foreach (var error in result.Errors)
|
||||
{
|
||||
ModelState.AddModelError(string.Empty, error.Description);
|
||||
ModelState.AddModelError(string.Empty, _localizer[ error.Code ]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue