1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-03 04:25:21 +02:00

Add auth-related i18n

This commit is contained in:
Jose Farias 2024-02-02 23:43:34 -06:00
parent 532cd08b32
commit 40c6c4b756
No known key found for this signature in database
GPG key ID: 877CF7E5FFD0FB3F
5 changed files with 32 additions and 39 deletions

View file

@ -1,31 +1,22 @@
# 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.
#
# To learn more about the API, please read the Rails Internationalization guide
# at https://guides.rubyonrails.org/i18n.html.
#
# Be aware that YAML interprets the following case-insensitive strings as
# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
# must be quoted to be interpreted as strings. For example:
#
# en:
# "yes": yup
# enabled: "ON"
---
en:
hello: "Hello world"
password_resets:
create:
requested: If an account with that email exists, we have sent a link to reset
your password.
update:
invalid_token: Invalid token.
success: Your password has been reset.
passwords:
update:
success: Your password has been updated successfully.
registrations:
create:
failure: Invalid input, please try again.
invalid_invite_code: Invalid invite code, please try again.
success: You have signed up successfully.
sessions:
create:
invalid_credentials: Invalid email or password.
destroy:
logout_successful: You have signed out successfully.