Extract error messages to locale file (#2162)
This commit is contained in:
12
config/activerecord.en.yml
Normal file
12
config/activerecord.en.yml
Normal file
@ -0,0 +1,12 @@
|
||||
en:
|
||||
activerecord:
|
||||
errors:
|
||||
models:
|
||||
account:
|
||||
attributes:
|
||||
username:
|
||||
invalid: only letters, numbers and underscores
|
||||
status:
|
||||
attributes:
|
||||
reblog:
|
||||
taken: of status already exists
|
12
config/activerecord.ja.yml
Normal file
12
config/activerecord.ja.yml
Normal file
@ -0,0 +1,12 @@
|
||||
ja:
|
||||
activerecord:
|
||||
errors:
|
||||
models:
|
||||
account:
|
||||
attributes:
|
||||
username:
|
||||
invalid: アルファベット・数値・アンダーバー(_)で入力してください
|
||||
status:
|
||||
attributes:
|
||||
reblog:
|
||||
taken: のブーストはすでに存在します
|
Reference in New Issue
Block a user