Created
September 3, 2014 10:27
-
-
Save twetzel/ccf6d3f48223ae44f447 to your computer and use it in GitHub Desktop.
example label translation including active-record and active-model attributes
This file contains 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
de: | |
attributes: &activerecord_attributes | |
user: &users_labels | |
email: "E-Mail" | |
name: "Name" | |
first_name: "Vorname" | |
last_name: "Nachname" | |
remember_me: "Angemeldet bleiben" | |
user: | |
one: "Nutzer" | |
other: "Nutzer" | |
helpers: | |
label: | |
user: | |
<<: *users_labels | |
genders: | |
male: "Herr" | |
female: "Frau" | |
placeholder: | |
user: | |
your_email: "Deine E-Mail-Adresse" | |
your_password: "Dein Password" | |
errors: &email_error | |
messages: | |
email: "ist keine gültige E-Mail-Adresse" | |
activemodel: | |
attributes: | |
<<: *activerecord_attributes | |
errors: | |
<<: *email_error | |
activerecord: | |
attributes: | |
<<: *activerecord_attributes | |
errors: | |
<<: *email_error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment