about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-15 13:36:38 +0100
committerGitHub <noreply@github.com>2019-03-15 13:36:38 +0100
commit3ad3223b466d8afbe8d11160a7351b34fe12c97a (patch)
treebc42e2dd461279c7d707535a6fa717f5015bf94b /config
parentc20d096e6a251e1b84ac47b751d2eb065743dbc2 (diff)
Fix detailed poll validation errors not being returned in the API (#10261)
No more "Owned poll is invalid"
Diffstat (limited to 'config')
-rw-r--r--config/locales/activerecord.en.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/locales/activerecord.en.yml b/config/locales/activerecord.en.yml
index 428aaf727..561ce68b8 100644
--- a/config/locales/activerecord.en.yml
+++ b/config/locales/activerecord.en.yml
@@ -1,6 +1,9 @@
 ---
 en:
   activerecord:
+    attributes:
+      status:
+        owned_poll: Poll
     errors:
       models:
         account: