broke out the en activerecord validations translations to their respective file

This commit is contained in:
zhitomirskiyi 2011-02-13 15:09:05 -08:00
parent 965f4e2ea5
commit 9f78156206
4 changed files with 84 additions and 23 deletions

View file

@ -0,0 +1,28 @@
# Copyright (c) 2010, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
"en-AU":
activerecord:
errors:
models:
user:
attributes:
person:
invalid: "is invalid."
username:
taken: "is already taken."
email:
taken: "is already taken."
person:
attributes:
diaspora_handle:
taken: "is already taken."
contact:
attributes:
person_id:
taken: "must be unique among this user's contacts."
request:
attributes:
from_id:
taken: "is a duplicate of a pre-existing request."

View file

@ -0,0 +1,28 @@
# Copyright (c) 2010, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
"en-GB":
activerecord:
errors:
models:
user:
attributes:
person:
invalid: "is invalid."
username:
taken: "is already taken."
email:
taken: "is already taken."
person:
attributes:
diaspora_handle:
taken: "is already taken."
contact:
attributes:
person_id:
taken: "must be unique among this user's contacts."
request:
attributes:
from_id:
taken: "is a duplicate of a pre-existing request."

View file

@ -0,0 +1,28 @@
# Copyright (c) 2010, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
"en-US":
activerecord:
errors:
models:
user:
attributes:
person:
invalid: "is invalid."
username:
taken: "is already taken."
email:
taken: "is already taken."
person:
attributes:
diaspora_handle:
taken: "is already taken."
contact:
attributes:
person_id:
taken: "must be unique among this user's contacts."
request:
attributes:
from_id:
taken: "is a duplicate of a pre-existing request."

View file

@ -50,29 +50,6 @@ en:
_contact: "Contact"
_contacts: "Contacts"
activemodel:
errors:
models:
user:
attributes:
person:
invalid: "is invalid."
username:
taken: "is already taken."
email:
taken: "is already taken."
person:
attributes:
diaspora_handle:
taken: "is already taken."
contact:
attributes:
person_id:
taken: "must be unique among this user's contacts."
request:
attributes:
from_id:
taken: "is a duplicate of a pre-existing request."
application:
helper:
unknown_person: "unknown person"