]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/rails-locales/vi.yml
Refactor memcache connection handling
[rails.git] / vendor / rails-locales / vi.yml
index f452cd6631c56d30ef764bd549253addf617114a..4be24f0f10de4ce57a710eae2027bf4a09417872 100644 (file)
@@ -14,6 +14,8 @@ vi:
       delimiter: "."
       # Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
       precision: 3
+      significant: false
+      strip_insignificant_zeros: false
 
     # Used in number_to_currency()
     currency:
@@ -25,6 +27,8 @@ vi:
         separator: ","
         delimiter: "."
         precision: 2
+        significant: false
+        strip_insignificant_zeros: false
 
     # Used in number_to_percentage()
     percentage:
@@ -49,6 +53,8 @@ vi:
         # separator:
         delimiter: ""
         precision: 1
+        significant: true
+        strip_insignificant_zeros: true
       storage_units:
           # Storage units output formatting.
           # %u is the storage unit, %n is the number (default: 2 MB)
@@ -61,6 +67,10 @@ vi:
             mb: "MB"
             gb: "GB"
             tb: "TB"
+      decimal_units:
+        format: "%n %u"
+        units:
+          unit: ""
 
   # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
   datetime:
@@ -104,65 +114,42 @@ vi:
       minute: "Phút"
       second: "Giây"
 
+  errors:
+    format: "%{attribute} %{message}"
+    messages: &errors_messages
+      inclusion: "không có trong danh sách"
+      exclusion: "đã được giành trước"
+      invalid: "không hợp lệ"
+      confirmation: "không khớp với xác nhận"
+      accepted: "phải được đồng ý"
+      empty: "không thể rỗng"
+      blank: "không thể để trắng"
+      too_long: "quá dài (tối đa %{count} ký tự)"
+      too_short: "quá ngắn (tối thiểu %{count} ký tự)"
+      wrong_length: "độ dài không đúng (phải là %{count} ký tự)"
+      taken: "đã có"
+      not_a_number: "không phải là số"
+      greater_than: "phải lớn hơn %{count}"
+      greater_than_or_equal_to: "phải lớn hơn hoặc bằng %{count}"
+      equal_to: "phải bằng %{count}"
+      less_than: "phải nhỏ hơn %{count}"
+      less_than_or_equal_to: "phải nhỏ hơn hoặc bằng %{count}"
+      odd: "phải là số chẵn"
+      even: "phải là số lẻ"
+    template: &errors_template
+      header:
+        one:   "1 lỗi ngăn không cho lưu %{model} này"
+        other: "%{count} lỗi ngăn không cho lưu %{model} này"
+      body: "Có lỗi với các mục sau:"
+
   activerecord:
     errors:
-      template:
-        header:
-          one:   "1 lỗi ngăn không cho lưu %{model} này"
-          other: "%{count} lỗi ngăn không cho lưu %{model} này"
-        # The variable :count is also available
-        body: "Có lỗi với các mục sau:"
-
-      # The values :model, :attribute and :value are always available for interpolation
-      # The value :count is available when applicable. Can be used for pluralization.
       messages:
-        inclusion: "không có trong danh sách"
-        exclusion: "đã được giành trước"
-        invalid: "không hợp lệ"
-        confirmation: "không khớp với xác nhận"
-        accepted: "phải được đồng ý"
-        empty: "không thể rỗng"
-        blank: "không thể để trắng"
-        too_long: "quá dài (tối đa %{count} ký tự)"
-        too_short: "quá ngắn (tối thiểu %{count} ký tự)"
-        wrong_length: "độ dài không đúng (phải là %{count} ký tự)"
-        taken: "đã có"
-        not_a_number: "không phải là số"
-        greater_than: "phải lớn hơn %{count}"
-        greater_than_or_equal_to: "phải lớn hơn hoặc bằng %{count}"
-        equal_to: "phải bằng %{count}"
-        less_than: "phải nhỏ hơn %{count}"
-        less_than_or_equal_to: "phải nhỏ hơn hoặc bằng %{count}"
-        odd: "phải là số chẵn"
-        even: "phải là số lẻ"
-        # Append your own errors here or at the model/attributes scope.
-
-      # You can define own errors for models or model attributes.
-      # The values :model, :attribute and :value are always available for interpolation.
-      #
-      # For example,
-      #   models:
-      #     user:
-      #       blank: "This is a custom blank message for %{model}: %{attribute}"
-      #       attributes:
-      #         login:
-      #           blank: "This is a custom blank message for User login"
-      # Will define custom blank validation message for User model and
-      # custom blank validation message for login attribute of User model.
-      # models:
-
-    # Translate model names. Used in Model.human_name().
-    #models:
-      # For example,
-      #   user: "Dude"
-      # will translate User model name to "Dude"
-
-    # Translate model attribute names. Used in Model.human_attribute_name(attribute).
-    #attributes:
-      # For example,
-      #   user:
-      #     login: "Handle"
-      # will translate User attribute "login" as "Handle"
+        <<: *errors_messages
+      template:
+        <<: *errors_template
+      full_messages:
+          format: "%{attribute} %{message}"
 
   date:
     formats: