From ae66609d79f0fa7dfca7c36b73b8e957851d237d Mon Sep 17 00:00:00 2001 From: urotansh <114655455+urotansh@users.noreply.github.com> Date: Mon, 27 Feb 2023 00:19:14 +0000 Subject: [PATCH] =?UTF-8?q?[Add]=20Gem(rails-i18n)=E3=81=AE=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E3=82=B9=E3=83=88=E3=83=BC=E3=83=AB=20=E8=A4=87?= =?UTF-8?q?=E6=95=B0=E5=BD=A2=E5=8C=96=E3=81=AE=E3=82=AD=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E3=83=8D=E3=82=B9=E3=83=88=E3=82=92=E6=9C=89=E5=8A=B9=E5=8C=96?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=81=9F=E3=82=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://railsguides.jp/i18n.html#複数形化 https://github.com/ruby-i18n/i18n/issues/514#issuecomment-577418929 --- Gemfile | 1 + Gemfile.lock | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 27bd2d1..fb18b9b 100644 --- a/Gemfile +++ b/Gemfile @@ -64,6 +64,7 @@ gem 'net-smtp' gem 'net-pop' gem 'net-imap' gem 'ransack' +gem 'rails-i18n' group :production do gem 'mysql2' diff --git a/Gemfile.lock b/Gemfile.lock index 0dbecdf..fabfc70 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -185,6 +185,9 @@ GEM nokogiri (>= 1.6) rails-html-sanitizer (1.4.3) loofah (~> 2.3) + rails-i18n (7.0.6) + i18n (>= 0.7, < 2) + railties (>= 6.0.0, < 8) railties (6.1.7) actionpack (= 6.1.7) activesupport (= 6.1.7) @@ -287,6 +290,7 @@ DEPENDENCIES puma (~> 3.11) rack-mini-profiler (~> 2.0) rails (~> 6.1.7) + rails-i18n ransack sass-rails (>= 6) selenium-webdriver (>= 4.0.0.rc1)