]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/rails-i18n/locale/pt-BR.yml
Merge branch 'master' into openID
[rails.git] / vendor / plugins / rails-i18n / locale / pt-BR.yml
index e17940fe95f4cb44b31e43505b10086ffe3cb732..3a007b2e4c7f86777870ede0c5f2e541081e415e 100644 (file)
@@ -63,6 +63,10 @@ pt-BR:
       over_x_years:
         one: 'mais de 1 ano'
         other: 'mais de {{count}} anos'
+
+      almost_x_years:
+        one: 'quase 1 ano'
+        other: 'quase {{count}} anos'
     
     prompts:
       year:   "Ano"
@@ -93,8 +97,11 @@ pt-BR:
         delimiter: '.'
     human:
       format:
-        precision: 1
+        precision: 2
         delimiter: '.'
+        significant: true
+        strip_unsignificant_zeros: true
+      # number_to_human_size()
       storage_units:
         format: "%n %u"
         units:
@@ -105,6 +112,25 @@ pt-BR:
           mb: "MB"
           gb: "GB"
           tb: "TB"
+      # number_to_human()
+      # new in rails 3: please add to other locales
+      decimal_units:
+        format: "%n %u"
+        units:
+          unit: ""     
+          thousand: "mil"
+          million:
+            one: milhão
+            other: milhões
+          billion:
+            one: bilhão
+            other: bilhões
+          trillion:
+            one: trilhão
+            other: trilhões
+          quadrillion:
+            one: quatrilhão
+            other: quatrilhões
 
   # Usado no Array.to_sentence
   support:
@@ -134,6 +160,7 @@ pt-BR:
         wrong_length: "não possui o tamanho esperado ({{count}} caracteres)"
         taken: "já está em uso"
         not_a_number: "não é um número"
+        not_an_integer: "não é um número inteiro"
         greater_than: "deve ser maior do que {{count}}"
         greater_than_or_equal_to: "deve ser maior ou igual a {{count}}"
         equal_to: "deve ser igual a {{count}}"
@@ -141,4 +168,4 @@ pt-BR:
         less_than_or_equal_to: "deve ser menor ou igual a {{count}}"
         odd: "deve ser ímpar"
         even: "deve ser par"
-        record_invalid: "A validação falhou: {{errors}}"
\ No newline at end of file
+        record_invalid: "A validação falhou: {{errors}}"