Extract error messages to locale file (#2162)

This commit is contained in:
alpaca-tc
2017-04-20 05:19:32 +09:00
committed by Eugen
parent f06cba3f60
commit 2c0d756ad9
4 changed files with 26 additions and 2 deletions

View 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

View File

@ -0,0 +1,12 @@
ja:
activerecord:
errors:
models:
account:
attributes:
username:
invalid: アルファベット・数値・アンダーバー(_)で入力してください
status:
attributes:
reblog:
taken: のブーストはすでに存在します