Coherence.Messages behaviour (Coherence v0.8.0)

Interface for handling localization of build in Coherence messages.

The following module defines the behaviour for rendering internal coherence messages.

The coherence mix tasks generate a messages file in the user's app that uses this behaviour to ensure the user has implement all the required messages.

Summary

Functions

Returns the Messages module from the users app's configuration

Callbacks

Link to this callback

account_already_confirmed()

@callback account_already_confirmed() :: binary()
Link to this callback

account_created_successfully()

@callback account_created_successfully() :: binary()
Link to this callback

account_is_inactive()

@callback account_is_inactive() :: binary()
Link to this callback

account_is_not_locked()

@callback account_is_not_locked() :: binary()
Link to this callback

account_updated_successfully()

@callback account_updated_successfully() :: binary()
Link to this callback

already_confirmed()

@callback already_confirmed() :: binary()
Link to this callback

already_logged_in()

@callback already_logged_in() :: binary()
Link to this callback

cant_be_blank()

@callback cant_be_blank() :: binary()
Link to this callback

cant_find_that_token()

@callback cant_find_that_token() :: binary()
Link to this callback

confirmation_token_expired()

@callback confirmation_token_expired() :: binary()
Link to this callback

could_not_find_that_email_address()

@callback could_not_find_that_email_address() :: binary()
Link to this callback

forgot_your_password()

@callback forgot_your_password() :: binary()
Link to this callback

http_authentication_required()

@callback http_authentication_required() :: binary()
Link to this callback

incorrect_login_or_password(list)

@callback incorrect_login_or_password([{atom(), any()}]) :: binary()
Link to this callback

invalid_confirmation_token()

@callback invalid_confirmation_token() :: binary()
Link to this callback

invalid_current_password()

@callback invalid_current_password() :: binary()
Link to this callback

invalid_email_or_password()

@callback invalid_email_or_password() :: binary()
Link to this callback

invalid_invitation()

@callback invalid_invitation() :: binary()
Link to this callback

invalid_invitation_token()

@callback invalid_invitation_token() :: binary()
Link to this callback

invalid_request()

@callback invalid_request() :: binary()
Link to this callback

invalid_reset_token()

@callback invalid_reset_token() :: binary()
Link to this callback

invalid_unlock_token()

@callback invalid_unlock_token() :: binary()
Link to this callback

invitation_already_sent()

@callback invitation_already_sent() :: binary()
Link to this callback

invitation_sent()

@callback invitation_sent() :: binary()
Link to this callback

invite_someone()

@callback invite_someone() :: binary()
Link to this callback

mailer_required()

@callback mailer_required() :: binary()
Link to this callback

maximum_login_attempts_exceeded()

@callback maximum_login_attempts_exceeded() :: binary()
Link to this callback

need_an_account()

@callback need_an_account() :: binary()
@callback not_locked() :: binary()
Link to this callback

password_reset_token_expired()

@callback password_reset_token_expired() :: binary()
Link to this callback

problem_confirming_user_account()

@callback problem_confirming_user_account() :: binary()
Link to this callback

registration_created_successfully()

@callback registration_created_successfully() :: binary()
@callback required() :: binary()
Link to this callback

resend_confirmation_email()

@callback resend_confirmation_email() :: binary()
Link to this callback

reset_email_sent()

@callback reset_email_sent() :: binary()
Link to this callback

restricted_area()

@callback restricted_area() :: binary()
Link to this callback

send_an_unlock_email()

@callback send_an_unlock_email() :: binary()
@callback sign_in() :: binary()
@callback sign_out() :: binary()
Link to this callback

signed_in_successfully()

@callback signed_in_successfully() :: binary()
Link to this callback

too_many_failed_login_attempts()

@callback too_many_failed_login_attempts() :: binary()
Link to this callback

unauthorized_ip_address()

@callback unauthorized_ip_address() :: binary()
Link to this callback

unlock_instructions_sent()

@callback unlock_instructions_sent() :: binary()
Link to this callback

user_account_confirmed_successfully()

@callback user_account_confirmed_successfully() :: binary()
Link to this callback

user_already_has_an_account()

@callback user_already_has_an_account() :: binary()
Link to this callback

verify_user_token(list)

@callback verify_user_token([{atom(), any()}]) :: binary()
Link to this callback

you_are_using_an_invalid_security_token()

@callback you_are_using_an_invalid_security_token() :: binary()
Link to this callback

you_must_confirm_your_account()

@callback you_must_confirm_your_account() :: binary()
Link to this callback

your_account_has_been_unlocked()

@callback your_account_has_been_unlocked() :: binary()
Link to this callback

your_account_is_not_locked()

@callback your_account_is_not_locked() :: binary()

Functions

Returns the Messages module from the users app's configuration