X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a543e731c0433b2aa0f0f1583f7c70182a084fd5..63cc3c195a03e469bc23b5bf2b60f4435c57c443:/vendor/rails-locales/vi.yml diff --git a/vendor/rails-locales/vi.yml b/vendor/rails-locales/vi.yml index 0006c7a0c..4be24f0f1 100644 --- a/vendor/rails-locales/vi.yml +++ b/vendor/rails-locales/vi.yml @@ -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: @@ -173,12 +160,52 @@ vi: short: "%d %b" long: "%d %B, %Y" - day_names: ["Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy"] - abbr_day_names: ["Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy"] + day_names: + - "Chủ nhật" + - "Thứ hai" + - "Thứ ba" + - "Thứ tư" + - "Thứ năm" + - "Thứ sáu" + - "Thứ bảy" + abbr_day_names: + - "Chủ nhật" + - "Thứ hai" + - "Thứ ba" + - "Thứ tư" + - "Thứ năm" + - "Thứ sáu" + - "Thứ bảy" # Don't forget the nil at the beginning; there's no such thing as a 0th month - month_names: [~, "Tháng một", "Tháng hai", "Tháng ba", "Tháng tư", "Tháng năm", "Tháng sáu", "Tháng bảy", "Tháng tám", "Tháng chín", "Tháng mười", "Tháng mười một", "Tháng mười hai"] - abbr_month_names: [~, "Tháng một", "Tháng hai", "Tháng ba", "Tháng tư", "Tháng năm", "Tháng sáu", "Tháng bảy", "Tháng tám", "Tháng chín", "Tháng mười", "Tháng mười một", "Tháng mười hai"] + month_names: + - ~ + - "Tháng một" + - "Tháng hai" + - "Tháng ba" + - "Tháng tư" + - "Tháng năm" + - "Tháng sáu" + - "Tháng bảy" + - "Tháng tám" + - "Tháng chín" + - "Tháng mười" + - "Tháng mười một" + - "Tháng mười hai" + abbr_month_names: + - ~ + - "Tháng một" + - "Tháng hai" + - "Tháng ba" + - "Tháng tư" + - "Tháng năm" + - "Tháng sáu" + - "Tháng bảy" + - "Tháng tám" + - "Tháng chín" + - "Tháng mười" + - "Tháng mười một" + - "Tháng mười hai" # Used in date_select and datime_select. order: - :day