Last active
December 26, 2015 23:39
-
-
Save lafeber/7231809 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# attributes.yml: | |
nl: &attributes | |
article: | |
title: Titel | |
short_title: Meta titel | |
# active_record.yml: | |
nl: | |
activerecord: | |
models: | |
article: | |
one: Artikel | |
other: Artikelen | |
attributes: | |
<<: *attributes | |
# This way, it works with simple form, and you can also call t('article.title') anywhere. | |
# And you don't have to use Article.human_attribute_name('title') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment