Hi I think you Guys did not like my idea of removing the quotes of the ValidationStrings_pt_BR.properties file so I cam up with a better idea to  replace the quotes with \u0022 (unicode) and it is working great with both client and server validation (I tested only with TextField, not with ValidField since it is deprecated).

later,
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 \u0022{0}\u0022.
field-too-short=O campo \u0022{0}\u0022 deve ter pelo menos {1} caracteres.

invalid-date-format=Formato de data inv\u00e1lido para o campo \u0022{0}\u0022. A data deve estar no formato \u0022{1}\u0022.
invalid-int-format=O campo \u0022{0}\u0022 deve conter um n\u00famero inteiro.
invalid-format=\u0022{0}\u0022 n\u00e3o \u00e9 um formato reconhecido.
invalid-numeric-format=O campo \u0022{0}\u0022 deve conter um valor num\u00e9rico.

date-too-early=O campo \u0022{0}\u0022 deve conter uma data posterior ou igual a {1}.
date-too-late=O campo \u0022{0}\u0022 deve conter uma data anterior ou igual a {1}.

number-too-small=O campo \u0022{0}\u0022 n\u00e3o pode ser menor que {1}.
number-too-large=O campo \u0022{0}\u0022 n\u00e3o pode ser maior que {1}.

number-range=O campo \u0022{0}\u0022 deve conter um valor entre {1} e {2}.

invalid-email-format=Email inv\u00e1lido para o campo \u0022{0}\u0022. O email deve estar no formato [EMAIL PROTECTED]

pattern-not-matched=O campo \u0022{0}\u0022 n\u00e3o satisfaz o padr\u00e3o \u0022{1}\u0022.

invalid-url-format = URL inv\u00e1lida.
disallowed-protocol = Protocolo n\u00e3o permitido. O protocolo deve ser {0}.

### 4.0 ###

field-too-long=O campo \u0022{0}\u0022 deve ter no m\u00e1ximo {1} caracteres.

regex-mismatch=O valor do campo \u0022{0}\u0022 \u00e9 inv\u00e1lido.

invalid-field-equality=O campo \u0022{0}\u0022 deve ser {1,choice,0#diferente do|1#igual ao} campo \u0022{2}\u0022.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to