diff options
author | alpaca-tc <alpaca-tc@alpaca.tc> | 2017-04-20 05:19:32 +0900 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-19 22:19:32 +0200 |
commit | 2c0d756ad942ee19c4f6dd18c9769b6649c2d15f (patch) | |
tree | 852f2ace7966f0048258c795581b3ca05ac0c6a0 /config | |
parent | f06cba3f601faed1db40200eca5c9ad88b704dcb (diff) |
Extract error messages to locale file (#2162)
Diffstat (limited to 'config')
-rw-r--r-- | config/activerecord.en.yml | 12 | ||||
-rw-r--r-- | config/activerecord.ja.yml | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/config/activerecord.en.yml b/config/activerecord.en.yml new file mode 100644 index 000000000..c3354fa25 --- /dev/null +++ b/config/activerecord.en.yml @@ -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 diff --git a/config/activerecord.ja.yml b/config/activerecord.ja.yml new file mode 100644 index 000000000..6e6b48496 --- /dev/null +++ b/config/activerecord.ja.yml @@ -0,0 +1,12 @@ +ja: + activerecord: + errors: + models: + account: + attributes: + username: + invalid: アルファベット・数値・アンダーバー(_)で入力してください + status: + attributes: + reblog: + taken: のブーストはすでに存在します |