Localization

This commit is contained in:
2019-06-21 09:20:13 +01:00
parent a3d6994a88
commit 6f8df72499
29 changed files with 1140 additions and 65 deletions

View File

@ -1,19 +1,27 @@
using System.ComponentModel.DataAnnotations;
using Yavsc.Attributes.Validation;
namespace Yavsc.Models.Relationship
{
public class HyperLink
public partial class HyperLink
{
[Display(Name="Hyper référence")]
[YaStringLength(5,1024)]
[Display(Name="HRefDisplayName", ResourceType=typeof(HyperLink),
Prompt="http://some.web.site")]
public string HRef { get; set; }
[Display(Name="Methode Http attendue coté serveur")]
[YaStringLength(5,1024)]
[Display(Name="MethodDisplayName", ResourceType=typeof(HyperLink), Prompt="GET")]
public string Method { get; set; }
[Display(Name="Classe de lien")]
[YaStringLength(5,25)]
[Display(Name="RelDisplayName", ResourceType=typeof(HyperLink),
Prompt="href")]
public string Rel { get; set; }
[Display(Name="Type mime du contenu attendu côté client")]
[YaStringLength(3,50)]
[Display(Name="ContentTypeDisplayName", ResourceType=typeof(HyperLink),
Prompt="text/html")]
public string ContentType { get; set; }
}