OSDN Git Service

Bootstrap users/registrations#edit
[sharp4k/CUTEn.git] / CutenServer / config / locales / ja.yml
index 721effd..f061a1d 100644 (file)
@@ -14,8 +14,10 @@ ja:
     registrations:
       user:
         signed_up: サインアップしました
+        updated: 更新しました
       teacher:
         signed_up: 教師としてサインアップしました
+        updated: 更新しました
     failure:
       already_authenticated: ログイン済みです
       invalid: メールアドレスまたはパスワードが不正です
@@ -38,7 +40,9 @@ ja:
   teacher:
     not: 教師のみがこの操作を行えます
   task:
-    new_title: 新しい講義
+    new_title: 新しい課題
+    edit:
+      unauthorized: この講義の課題を編集することはできません
     create:
       success: 課題が作成されました
       unauthorized: この講義の課題を作成することはできません
@@ -59,11 +63,14 @@ ja:
         file: apk フアイル
 
   activerecord:
+    models:
+      teacher: 教師
     attributes:
       user:
         email: メールアドレス
         password: パスワード
         password_confirmation: パスワード (再入力)
+        current_password: 現在のパスワード
         student_number: 学籍番号
         authentication_token: 認証トークン
         remember_me: 次回から自動ログイン
@@ -71,8 +78,10 @@ ja:
         email: メールアドレス
         password: パスワード
         password_confirmation: パスワード (再入力)
+        current_password: 現在のパスワード
         name: 氏名
         remember_me: 次回から自動ログイン
+        icon: アイコン
       lecture:
         name: 講義名
       task:
@@ -94,6 +103,14 @@ ja:
           attributes:
             task_id:
               taken: の実績は既に存在します
+        user:
+          attributes:
+            email:
+              taken: は既に使われています
+        teacher:
+          attributes:
+            email:
+              taken: は既に使われています
 
   errors:
     format: "%{attribute}%{message}"