Localisation

This commit is contained in:
2018-03-26 23:18:48 +02:00
parent e1dd427359
commit eb5e218223
23 changed files with 26 additions and 39 deletions

View File

@ -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];
}
}
}