]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/plugins/rails-i18n/locale/pt-PT.yml
Merge branch 'master' into terms
[rails.git] / vendor / plugins / rails-i18n / locale / pt-PT.yml
index 6fe4f6680f9b38bfd2275bc36b389997ac740622..1b28b72c6200159d6a3999ae145583af9ae676b5 100644 (file)
@@ -128,7 +128,7 @@ pt-PT:
         delimiter: ''
         # precision:
 
-    # Used in number_to_human_size()
+    # Used in number_to_human_size() and number_to_human()
     human:
       format:
         # These three are to override number.format and are optional
@@ -138,6 +138,7 @@ pt-PT:
       # Rails <= v2.2.2
       # storage_units: [Bytes, KB, MB, GB, TB]
       # Rails >= v2.3
+      # number_to_human_size()
       storage_units:
         format: "%n %u"
         units:
@@ -148,6 +149,25 @@ pt-PT:
           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
 
   activerecord:
     errors: