OSDN Git Service

Show appropriate field names in error message
authoreagletmt <eagletmt@gmail.com>
Sat, 20 Oct 2012 10:51:04 +0000 (19:51 +0900)
committereagletmt <eagletmt@gmail.com>
Sat, 20 Oct 2012 10:51:04 +0000 (19:51 +0900)
CutenServer/config/locales/en.yml

index 54cefaf..9f1bdc0 100644 (file)
@@ -20,7 +20,7 @@ en:
     create:
       success: "Task was successfully created"
       unauthorized: "You don't have permission to create a task of this lecture"
-      noapk: "file is empty"
+      noapk: file can't be blank
 
   helpers:
     label:
@@ -30,3 +30,11 @@ en:
         name: "Apk class name"
       apkfile:
         file: "Apk file"
+
+  activerecord:
+    attributes:
+      task:
+        name: Task name
+      apk:
+        name: Apk class name
+        revision: Apk revision