Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Variables for I18n messages #142

Closed
ryanb opened this issue Sep 7, 2010 · 1 comment
Closed

Variables for I18n messages #142

ryanb opened this issue Sep 7, 2010 · 1 comment

Comments

@ryanb
Copy link
Owner

ryanb commented Sep 7, 2010

With 1.4 we have the ability to define messages in I18n. It would be nice if there are some variables for describing the generic actions.

en:
  unauthorized:
    manage:
      all: "Not allowed to %{action} %{subject}."

This would make something like "Not allowed to update project." Can anyone else think of other variables which one might find useful here?

@ryanb
Copy link
Owner Author

ryanb commented Sep 7, 2010

adding action and subject variables to I18n unauthorized message - closed by 158c908

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant