Localisation
This commit is contained in:
parent
41d803f851
commit
757c5ca2ea
23 changed files with 26 additions and 39 deletions
|
|
@ -1,5 +1,4 @@
|
|||
using System.Resources;
|
||||
using Yavsc.Resources;
|
||||
|
||||
namespace Yavsc.Attributes.Validation
|
||||
{
|
||||
|
|
@ -11,7 +10,7 @@ namespace Yavsc.Attributes.Validation
|
|||
|
||||
public override string FormatErrorMessage(string name)
|
||||
{
|
||||
return ResourcesHelpers.DefaultResourceManager.GetString(this.ErrorMessageResourceName);
|
||||
return ResourcesHelpers.GlobalLocalizer[this.ErrorMessageResourceName];
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue