lib/rails/generators/rails/app/templates/config/locales/en.yml in railties-6.1.7.10 vs lib/rails/generators/rails/app/templates/config/locales/en.yml in railties-7.0.0.alpha1
- old
+ new
@@ -2,15 +2,15 @@
# and are automatically loaded by Rails. If you want to use locales other
# than English, add the necessary files in this directory.
#
# To use the locales, use `I18n.t`:
#
-# I18n.t 'hello'
+# I18n.t "hello"
#
# In views, this is aliased to just `t`:
#
-# <%= t('hello') %>
+# <%= t("hello") %>
#
# To use a different locale, set it with `I18n.locale`:
#
# I18n.locale = :es
#
@@ -22,10 +22,10 @@
# true, false, on, off, yes, no
#
# Instead, surround them with single quotes.
#
# en:
-# 'true': 'foo'
+# "true": "foo"
#
# To learn more, please read the Rails Internationalization guide
# available at https://guides.rubyonrails.org/i18n.html.
en: