Skip to content

Commit

Permalink
Reproducible test case for glebm/i18n-tasks#600
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Oct 22, 2024
1 parent cb1392c commit 1274d29
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 36 deletions.
4 changes: 2 additions & 2 deletions config/i18n-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ search:
# - '{devise,simple_form}.*'

## Consider these keys used:
# ignore_unused:
# - 'activerecord.attributes.*'
ignore_unused:
- 'activemodel.*'
# - '{devise,kaminari,will_paginate}.*'
# - 'simple_form.{yes,no}'
# - 'simple_form.{placeholders,hints,labels}.*'
Expand Down
12 changes: 12 additions & 0 deletions config/locales/ar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
ar:
activemodel:
models:
user:
one: User
other: Users
app_name: Rails 7 Starter App
meta_description: An opinionated starter application based on Ruby 3.1, Rails 7.1, Webpack 5, Yarn, and Bootstrap 5
shared:
navbar:
toggle_navigation: Toggle Navigation
43 changes: 9 additions & 34 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,12 @@
# Files in the config/locales directory are used for internationalization
# 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"
#
# In views, this is aliased to just `t`:
#
# <%= t("hello") %>
#
# To use a different locale, set it with `I18n.locale`:
#
# I18n.locale = :es
#
# This would use the information in config/locales/es.yml.
#
# The following keys must be escaped otherwise they will not be retrieved by
# the default I18n backend:
#
# true, false, on, off, yes, no
#
# Instead, surround them with single quotes.
#
# en:
# "true": "foo"
#
# To learn more, please read the Rails Internationalization guide
# available at https://guides.rubyonrails.org/i18n.html.

---
en:
app_name: "Rails 7 Starter App"
meta_description: "An opinionated starter application based on Ruby 3.1, Rails 7.1, Webpack 5, Yarn, and Bootstrap 5"
activemodel:
models:
user:
one: User
other: Users
app_name: Rails 7 Starter App
meta_description: An opinionated starter application based on Ruby 3.1, Rails 7.1, Webpack 5, Yarn, and Bootstrap 5
shared:
navbar:
toggle_navigation: "Toggle Navigation"
toggle_navigation: Toggle Navigation

0 comments on commit 1274d29

Please sign in to comment.