Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Bump i18n to 1.12 to fix pluralization error

Oliver Günther1f6d27e206ea
diff --git a/Gemfile b/Gemfile
index 51b5a00ea06..9c38e923441 100644
--- a/Gemfile
+++ b/Gemfile
@@ -160,6 +160,7 @@ group :production do
gem 'dalli', '~> 3.2.0'
end
+gem 'i18n', '~> 1.12.0'
gem 'i18n-js', '~> 3.9.0'
gem 'rails-i18n', '~> 7.0.0'
gem 'sprockets', '~> 3.7.0'
diff --git a/Gemfile.lock b/Gemfile.lock
index ce47ce05577..8f8b0b89e60 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -546,7 +546,7 @@ GEM
domain_name (~> 0.5)
http_parser.rb (0.6.0)
httpclient (2.8.3)
- i18n (1.11.0)
+ i18n (1.12.0)
concurrent-ruby (~> 1.0)
i18n-js (3.9.2)
i18n (>= 0.6.6)
@@ -1029,6 +1029,7 @@ DEPENDENCIES
grids!
html-pipeline (~> 2.14.0)
htmldiff
+ i18n (~> 1.12.0)
i18n-js (~> 3.9.0)
json_schemer (~> 0.2.18)
json_spec (~> 1.1.4)
diff --git a/lib/open_project/patches/i18n_reject_empty_string.rb b/lib/open_project/patches/i18n_reject_empty_string.rb
index 0bd1e98cc28..e1b756900f1 100644
--- a/lib/open_project/patches/i18n_reject_empty_string.rb
+++ b/lib/open_project/patches/i18n_reject_empty_string.rb
@@ -60,6 +60,6 @@ module OpenProject
end
end
-OpenProject::Patches.patch_gem_version 'i18n', '1.11.0' do
+OpenProject::Patches.patch_gem_version 'i18n', '1.12.0' do
I18n.backend.singleton_class.prepend OpenProject::Patches::I18nRejectEmptyString
end