Skip to content

Commit

Permalink
Merge branch 'master' into hr-month-abbreviation-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalfrost authored Sep 23, 2024
2 parents c9c65cb + 68877ea commit 896ea6d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
## unreleased
- Update following locales:
- Lithuanian (lt): Add missing keys (`x_years`, `in`, `model_invalid`, `required`, `round_mode`, `eb`, `pb`)
- Portuguese (pt): Fixed `number.currency.format.format` and `helpers.submit.update` #1122
- Croatian (hr): use genitive case for month names and put a period after weekday and month abbreviations #1126
- Fix compatibility with frozen string literals. #1120
- Korean (ko): Add missing keys (Storage units) #1118
- Fix compatibility with frozen string literals. #1120

## 7.0.9 (2024-03-13)

Expand Down
4 changes: 2 additions & 2 deletions rails-i18n.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Gem::Specification.new do |s|
s.require_path = 'lib'
s.required_rubygems_version = '>= 1.8.11'

s.add_runtime_dependency('i18n', '>= 0.7', '< 2')
s.add_runtime_dependency('railties', '>= 6.0.0', '< 8')
s.add_dependency('i18n', '>= 0.7', '< 2')
s.add_dependency('railties', '>= 6.0.0', '< 8')
s.add_development_dependency "rspec-rails", "~> 3.7"
s.add_development_dependency "i18n-spec", "~> 0.6.0"
s.add_development_dependency 'i18n-tasks', '~> 0.9.37'
Expand Down
2 changes: 2 additions & 0 deletions rails/locale/ko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,11 @@ ko:
format: "%n%u"
units:
byte: 바이트
eb: EB
gb: GB
kb: KB
mb: MB
pb: PB
tb: TB
percentage:
format:
Expand Down
10 changes: 10 additions & 0 deletions rails/locale/lt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ lt:
one: "%{count} mėnesis"
few: "%{count} mėnesiai"
other: "%{count} mėnesių"
x_years:
one: "%{count} metai"
few: "%{count} metai"
other: "%{count} metai"
prompts:
second: Sekundės
minute: Minutė
Expand All @@ -126,15 +130,18 @@ lt:
exclusion: yra rezervuotas
greater_than: turi būti didesnis už %{count}
greater_than_or_equal_to: turi būti didesnis arba lygus %{count}
in: turi būti skaičiuje %{count}
inclusion: nenumatyta reikšmė
invalid: neteisingas
less_than: turi būti mažesnis už %{count}
less_than_or_equal_to: turi būti mažesnis arba lygus %{count}
model_invalid: 'Tikrinimo klaida: %{errors}'
not_a_number: ne skaičius
not_an_integer: privalo būti sveikas skaičius
odd: turi būti nelyginis skaičius
other_than: privalo būti kitoks nei %{count}
present: turi būti tuščias
required: turi egzistuoti
taken: jau užimtas
too_long:
one: per ilgas (daugiausiai %{count} simbolis)
Expand Down Expand Up @@ -171,6 +178,7 @@ lt:
format:
delimiter: " "
precision: 3
round_mode: default
separator: ","
significant: false
strip_insignificant_zeros: false
Expand All @@ -196,9 +204,11 @@ lt:
one: Baitas
few: Baitai
other: Baitų
eb: EB
gb: GB
kb: KB
mb: MB
pb: PB
tb: TB
percentage:
format:
Expand Down
2 changes: 1 addition & 1 deletion rails/locale/tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tr:
- Cumartesi
formats:
default: "%d.%m.%Y"
long: "%e %B %Y, %A"
long: "%e %B %Y %A"
short: "%e %b"
month_names:
-
Expand Down

0 comments on commit 896ea6d

Please sign in to comment.