Mercurial > altnet-hispano
changeset 202:a731086c0b28
Se soluciona ticket 174.
Además se agrega detalle del campo Hora y Duración cuando son obligatorios en Resources.
author | alabra |
---|---|
date | Sat, 20 Aug 2011 18:40:36 -0400 |
parents | 38b018822bb6 |
children | 1fead4596a98 |
files | Agendas/trunk/src/Agendas.Resources/Properties/DataAnnotationResources.Designer.cs Agendas/trunk/src/Agendas.Resources/Properties/DataAnnotationResources.resx Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml Agendas/trunk/src/Agendas.Web/Web.config |
diffstat | 4 files changed, 27 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Resources/Properties/DataAnnotationResources.Designer.cs Sat Aug 20 17:47:21 2011 -0400 +++ b/Agendas/trunk/src/Agendas.Resources/Properties/DataAnnotationResources.Designer.cs Sat Aug 20 18:40:36 2011 -0400 @@ -88,6 +88,15 @@ } /// <summary> + /// Looks up a localized string similar to debe ingresar la Duración del evento. + /// </summary> + public static string DuracionRequired { + get { + return ResourceManager.GetString("DuracionRequired", resourceCulture); + } + } + + /// <summary> /// Looks up a localized string similar to Correo electrónico. /// </summary> public static string EMail { @@ -124,6 +133,15 @@ } /// <summary> + /// Looks up a localized string similar to debe ingresar la Hora del evento. + /// </summary> + public static string HoraRequired { + get { + return ResourceManager.GetString("HoraRequired", resourceCulture); + } + } + + /// <summary> /// Looks up a localized string similar to Nombre de la persona que identifica a esta persona entre todas. /// </summary> public static string NombreDescription {
--- a/Agendas/trunk/src/Agendas.Resources/Properties/DataAnnotationResources.resx Sat Aug 20 17:47:21 2011 -0400 +++ b/Agendas/trunk/src/Agendas.Resources/Properties/DataAnnotationResources.resx Sat Aug 20 18:40:36 2011 -0400 @@ -126,6 +126,9 @@ <data name="DuracionRealDescription" xml:space="preserve"> <value>Tiempo que duró la presentación.</value> </data> + <data name="DuracionRequired" xml:space="preserve"> + <value>debe ingresar la Duración del evento</value> + </data> <data name="EMail" xml:space="preserve"> <value>Correo electrónico</value> </data> @@ -138,6 +141,9 @@ <data name="Hora" xml:space="preserve"> <value>Hora (GMT +0)</value> </data> + <data name="HoraRequired" xml:space="preserve"> + <value>debe ingresar la Hora del evento</value> + </data> <data name="NombreDescription" xml:space="preserve"> <value>Nombre de la persona que identifica a esta persona entre todas</value> </data>
--- a/Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml Sat Aug 20 17:47:21 2011 -0400 +++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml Sat Aug 20 18:40:36 2011 -0400 @@ -1,7 +1,7 @@ @model DateTime? <script type="text/javascript"> $(document).ready(function () { - $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd-mm-yy' }); + $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd/mm/yy' }); }); </script> @Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty), new { style = "width: 80px" })
--- a/Agendas/trunk/src/Agendas.Web/Web.config Sat Aug 20 17:47:21 2011 -0400 +++ b/Agendas/trunk/src/Agendas.Web/Web.config Sat Aug 20 18:40:36 2011 -0400 @@ -70,6 +70,8 @@ <add namespace="System.Web.WebPages"/> </namespaces> </pages> + + <globalization culture="es-ES" /> </system.web> <system.webServer>