Localization
This commit is contained in:
parent
89cf80e707
commit
313ba449e7
29 changed files with 1140 additions and 65 deletions
|
|
@ -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; }
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue