Skip to content

Commit bcd1199

Browse files
committed
Update update.rb to track the latest Rails release
1 parent 35ad77d commit bcd1199

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

rails/rails/active_model.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ en:
1818
too_long:
1919
one: "is too long (maximum is 1 character)"
2020
other: "is too long (maximum is %{count} characters)"
21+
password_too_long: "is too long"
2122
too_short:
2223
one: "is too short (minimum is 1 character)"
2324
other: "is too short (minimum is %{count} characters)"

rails/rails/active_support.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ en:
5757
format:
5858
# Where is the currency sign? %u is the currency unit, %n is the number (default: $5.00)
5959
format: "%u%n"
60+
negative_format: "-%u%n"
6061
unit: "$"
6162
# These six are to override number.format and are optional
6263
separator: "."
@@ -112,6 +113,7 @@ en:
112113
tb: "TB"
113114
pb: "PB"
114115
eb: "EB"
116+
zb: "ZB"
115117
# Used in NumberHelper.number_to_human()
116118
decimal_units:
117119
format: "%n %u"

rails/script/update.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
puts "Fetching latest Rails locale files to #{rails_locale_dir}"
55

66
exec %(
7-
curl -Lo '#{rails_locale_dir}/action_view.yml' https://raw.githubusercontent.com/rails/rails/7-0-stable/actionview/lib/action_view/locale/en.yml
7+
curl -Lo '#{rails_locale_dir}/action_view.yml' https://raw.githubusercontent.com/rails/rails/8-0-stable/actionview/lib/action_view/locale/en.yml
88
9-
curl -Lo '#{rails_locale_dir}/active_model.yml' https://raw.githubusercontent.com/rails/rails/7-0-stable/activemodel/lib/active_model/locale/en.yml
9+
curl -Lo '#{rails_locale_dir}/active_model.yml' https://raw.githubusercontent.com/rails/rails/8-0-stable/activemodel/lib/active_model/locale/en.yml
1010
11-
curl -Lo '#{rails_locale_dir}/active_record.yml' https://raw.githubusercontent.com/rails/rails/7-0-stable/activerecord/lib/active_record/locale/en.yml
11+
curl -Lo '#{rails_locale_dir}/active_record.yml' https://raw.githubusercontent.com/rails/rails/8-0-stable/activerecord/lib/active_record/locale/en.yml
1212
13-
curl -Lo '#{rails_locale_dir}/active_support.yml' https://raw.githubusercontent.com/rails/rails/7-0-stable/activesupport/lib/active_support/locale/en.yml
13+
curl -Lo '#{rails_locale_dir}/active_support.yml' https://raw.githubusercontent.com/rails/rails/8-0-stable/activesupport/lib/active_support/locale/en.yml
1414
)

0 commit comments

Comments
 (0)