I made the " " use single quotes instead, ' ' ..Hopefully that'll work in js. (i think it will)
On 3/21/06, Pedro Garcia <[EMAIL PROTECTED]> wrote: > > Hi, > I found an error on the ValidationStrings_pt_BR.properties. The use of > double quotes (ex.: "{0}") is causing the client side validation not to > work and is causing a javascript error. > I've corrected its content removing the ". > Thanks for the attention, > Pedro da Silva Garcia > > # Copyright 2005 The Apache Software Foundation > # > # Licensed under the Apache License, Version 2.0 (the "License"); > # you may not use this file except in compliance with the License. > # You may obtain a copy of the License at > # > # http://www.apache.org/licenses/LICENSE-2.0 > # > # Unless required by applicable law or agreed to in writing, software > # distributed under the License is distributed on an "AS IS" BASIS, > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > # See the License for the specific language governing permissions and > # limitations under the License. > > field-is-required=Por favor, digite um valor para o campo {0}. > field-too-short=O campo {0} deve ter pelo menos {1} caracteres. > > invalid-date-format=Formato de data inv\u00e1lido para o campo {0}. A data > deve estar no formato {1}. > invalid-int-format=O campo {0} deve conter um n\u00famero inteiro. > invalid-format={0} n\u00e3o \u00e9 um formato reconhecido. > invalid-numeric-format=O campo {0} deve conter um valor num\u00e9rico. > > date-too-early=O campo {0} deve conter uma data posterior ou igual a {1}. > date-too-late=O campo {0} deve conter uma data anterior ou igual a {1}. > > number-too-small=O campo {0} n\u00e3o pode ser menor que {1}. > number-too-large=O campo {0} n\u00e3o pode ser maior que {1}. > > number-range=O campo {0} deve conter um valor entre {1} e {2}. > > invalid-email-format=Email inv\u00e1lido para o campo {0}. O email deve > estar no formato [EMAIL PROTECTED] > > pattern-not-matched=O campo {0} n\u00e3o satisfaz o padr\u00e3o {1}. > > invalid-url-format = URL inv\u00e1lida. > disallowed-protocol = Protocolo n\u00e3o permitido. O protocolo deve ser > {0}. > > ### 4.0 ### > > field-too-long=O campo {0} deve ter no m\u00e1ximo {1} caracteres. > > regex-mismatch=O valor do campo {0} \u00e9 inv\u00e1lido. > > invalid-field-equality=O campo {0} deve ser {1,choice,0#diferente > do|1#igual > ao} campo {2}. > > -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://opennotion.com