diff --git a/rails/rails/action_view.yml b/rails/rails/action_view.yml index 0407f2ada..8a56f147b 100644 --- a/rails/rails/action_view.yml +++ b/rails/rails/action_view.yml @@ -4,37 +4,37 @@ distance_in_words: half_a_minute: "half a minute" less_than_x_seconds: - one: "less than %{count} second" + one: "less than 1 second" other: "less than %{count} seconds" x_seconds: - one: "%{count} second" + one: "1 second" other: "%{count} seconds" less_than_x_minutes: one: "less than a minute" other: "less than %{count} minutes" x_minutes: - one: "%{count} minute" + one: "1 minute" other: "%{count} minutes" about_x_hours: - one: "about %{count} hour" + one: "about 1 hour" other: "about %{count} hours" x_days: - one: "%{count} day" + one: "1 day" other: "%{count} days" about_x_months: - one: "about %{count} month" + one: "about 1 month" other: "about %{count} months" x_months: - one: "%{count} month" + one: "1 month" other: "%{count} months" about_x_years: - one: "about %{count} year" + one: "about 1 year" other: "about %{count} years" over_x_years: - one: "over %{count} year" + one: "over 1 year" other: "over %{count} years" almost_x_years: - one: "almost %{count} year" + one: "almost 1 year" other: "almost %{count} years" prompts: year: "Year" diff --git a/rails/rails/active_model.yml b/rails/rails/active_model.yml index ba5d674e6..e96ce8ee1 100644 --- a/rails/rails/active_model.yml +++ b/rails/rails/active_model.yml @@ -10,19 +10,20 @@ en: inclusion: "is not included in the list" exclusion: "is reserved" invalid: "is invalid" - confirmation: "doesn't match %{attribute}" + confirmation: "doesn’t match %{attribute}" accepted: "must be accepted" - empty: "can't be empty" - blank: "can't be blank" + empty: "can’t be empty" + blank: "can’t be blank" present: "must be blank" too_long: - one: "is too long (maximum is %{count} character)" + one: "is too long (maximum is 1 character)" other: "is too long (maximum is %{count} characters)" + password_too_long: "is too long" too_short: - one: "is too short (minimum is %{count} character)" + one: "is too short (minimum is 1 character)" other: "is too short (minimum is %{count} characters)" wrong_length: - one: "is the wrong length (should be %{count} character)" + one: "is the wrong length (should be 1 character)" other: "is the wrong length (should be %{count} characters)" not_a_number: "is not a number" not_an_integer: "must be an integer" diff --git a/rails/rails/active_support.yml b/rails/rails/active_support.yml index 0453883a7..521342080 100644 --- a/rails/rails/active_support.yml +++ b/rails/rails/active_support.yml @@ -57,6 +57,7 @@ en: format: # Where is the currency sign? %u is the currency unit, %n is the number (default: $5.00) format: "%u%n" + negative_format: "-%u%n" unit: "$" # These six are to override number.format and are optional separator: "." @@ -112,6 +113,7 @@ en: tb: "TB" pb: "PB" eb: "EB" + zb: "ZB" # Used in NumberHelper.number_to_human() decimal_units: format: "%n %u" diff --git a/rails/script/update.rb b/rails/script/update.rb index 36a9793f6..f07ea792d 100644 --- a/rails/script/update.rb +++ b/rails/script/update.rb @@ -4,11 +4,11 @@ puts "Fetching latest Rails locale files to #{rails_locale_dir}" exec %( - curl -Lo '#{rails_locale_dir}/action_view.yml' https://raw.github.com/rails/rails/master/actionview/lib/action_view/locale/en.yml + curl -Lo '#{rails_locale_dir}/action_view.yml' https://raw.github.com/rails/rails/main/actionview/lib/action_view/locale/en.yml - curl -Lo '#{rails_locale_dir}/active_model.yml' https://raw.github.com/rails/rails/master/activemodel/lib/active_model/locale/en.yml + curl -Lo '#{rails_locale_dir}/active_model.yml' https://raw.github.com/rails/rails/main/activemodel/lib/active_model/locale/en.yml - curl -Lo '#{rails_locale_dir}/active_record.yml' https://raw.github.com/rails/rails/master/activerecord/lib/active_record/locale/en.yml + curl -Lo '#{rails_locale_dir}/active_record.yml' https://raw.github.com/rails/rails/main/activerecord/lib/active_record/locale/en.yml - curl -Lo '#{rails_locale_dir}/active_support.yml' https://raw.github.com/rails/rails/master/activesupport/lib/active_support/locale/en.yml + curl -Lo '#{rails_locale_dir}/active_support.yml' https://raw.github.com/rails/rails/main/activesupport/lib/active_support/locale/en.yml )