haojianyun / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 1 forks source link

pt_BR i18n properties file has translation errors #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set the locale to pt_BR
2. set validators for Max and Min for numeric DatasourceFields
3. type some value outside the valid range in a grid bind to the datasource
with validator, and see the tooltip when the validation fails
4. the tip saying that the value should be greater or less than are wrong
(they are with inverted meaning in Brazilian Portuguese)

What is the expected output? What do you see instead?
* When a typed value is below the inferior limit, the tip should say "Deve
ser pelo menos" (which means "should be at least"), but is showing "deve
ser menor que" (which means "shoul be less than").
*  When a typed value is above the superior limit, the tip should say "Não
deve exceder" (which means "can not exceed") but is showing "Deve ser maior
que" (which means "should be greater than")

What version of the product are you using? On what operating system?
* Revision 600

Please provide any additional information below.

The solution is simple. Just change the keys in "pt_BR" properties file:
"validator_mustBeLessThan" and "validator_mustBeGreaterThan" to:

validator_mustBeLessThan=Não deve exceder
validator_mustBeGreaterThan=Deve ser pelo menos

Original issue reported on code.google.com by rafael.c...@gmail.com on 20 Jun 2009 at 4:23

GoogleCodeExporter commented 9 years ago
Fixed in SVN.

Original comment by sanjiv.j...@gmail.com on 20 Jun 2009 at 9:53

GoogleCodeExporter commented 9 years ago
IMO, "Deve ser pelo menos" should be changed to "Deve ser no mínimo".
I request Rafael's opinion on this one before changing, anyway.

Original comment by b0x.s0li...@gmail.com on 23 Jun 2009 at 12:59

GoogleCodeExporter commented 9 years ago
Well, the meaning is the same for both expressions ("Deve ser pelo menos" and 
"Deve
ser no mínimo"). 

Actually, "Deve ser pelo menos" is closer to the original message "Must be at 
least",
and, as Sanjiv already fixed that in SVN, I don't see the need to change again.

Original comment by rafael.c...@gmail.com on 23 Jun 2009 at 1:13