1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-07 06:25:19 +02:00

Add i18n-tasks

This commit is contained in:
Jose Farias 2024-02-02 23:42:52 -06:00
parent c10fab9a7c
commit 532cd08b32
No known key found for this signature in database
GPG key ID: 877CF7E5FFD0FB3F
4 changed files with 87 additions and 0 deletions

25
config/i18n-tasks.yml Normal file
View file

@ -0,0 +1,25 @@
base_locale: en
data:
read:
- config/locales/%{locale}.yml
write:
- config/locales/%{locale}.yml
router: conservative_router
search:
paths:
- app/
relative_roots:
- app/controllers
- app/helpers
- app/mailers
- app/presenters
- app/views
strict: true
## Files or `File.fnmatch` patterns to exclude from search. Some files are always excluded regardless of this setting:
## *.jpg *.jpeg *.png *.gif *.svg *.ico *.eot *.otf *.ttf *.woff *.woff2 *.pdf *.css *.sass *.scss *.less
## *.yml *.json *.zip *.tar.gz *.swf *.flv *.mp3 *.wav *.flac *.webm *.mp4 *.ogg *.opus *.webp *.map *.xlsx
exclude:
- app/assets/images
- app/assets/fonts
- app/assets/videos
- app/assets/builds