about summary refs log tree commit diff
path: root/config/locales
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-04-26 09:16:30 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-04-26 02:16:30 +0200
commit8ee1af95306e4016644ddfd257929eb61851d8fa (patch)
tree968d5898cff1401b76946e1832d1dd60b3db2552 /config/locales
parente4c294432f75792e6d914acd768d6bb86b88c4df (diff)
Move a locale files for ActiveRecord (#2461)
ref #2162 and fix #2460
Diffstat (limited to 'config/locales')
-rw-r--r--config/locales/activerecord.en.yml12
-rw-r--r--config/locales/activerecord.ja.yml12
2 files changed, 24 insertions, 0 deletions
diff --git a/config/locales/activerecord.en.yml b/config/locales/activerecord.en.yml
new file mode 100644
index 000000000..c3354fa25
--- /dev/null
+++ b/config/locales/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/locales/activerecord.ja.yml b/config/locales/activerecord.ja.yml
new file mode 100644
index 000000000..6e6b48496
--- /dev/null
+++ b/config/locales/activerecord.ja.yml
@@ -0,0 +1,12 @@
+ja:
+  activerecord:
+    errors:
+      models:
+        account:
+          attributes:
+            username:
+              invalid: アルファベット・数値・アンダーバー(_)で入力してください
+        status:
+          attributes:
+            reblog:
+              taken: のブーストはすでに存在します