OSDN Git Service

Bootstrap users/registrations#edit
[sharp4k/CUTEn.git] / CutenServer / config / locales / ja.yml
index edb45a8..f061a1d 100644 (file)
@@ -14,8 +14,10 @@ ja:
     registrations:
       user:
         signed_up: サインアップしました
+        updated: 更新しました
       teacher:
         signed_up: 教師としてサインアップしました
+        updated: 更新しました
     failure:
       already_authenticated: ログイン済みです
       invalid: メールアドレスまたはパスワードが不正です
@@ -30,12 +32,17 @@ ja:
     back: ホームに戻る
   achievement:
     unauthorized: この実績を見ることはできません
+    new_path: 実績を追加する
   lecture:
+    new_title: 新しい講義
     created: 講義が追加されました
     new_path: 講義を追加する
   teacher:
     not: 教師のみがこの操作を行えます
   task:
+    new_title: 新しい課題
+    edit:
+      unauthorized: この講義の課題を編集することはできません
     create:
       success: 課題が作成されました
       unauthorized: この講義の課題を作成することはできません
@@ -56,11 +63,14 @@ ja:
         file: apk フアイル
 
   activerecord:
+    models:
+      teacher: 教師
     attributes:
       user:
         email: メールアドレス
         password: パスワード
         password_confirmation: パスワード (再入力)
+        current_password: 現在のパスワード
         student_number: 学籍番号
         authentication_token: 認証トークン
         remember_me: 次回から自動ログイン
@@ -68,8 +78,10 @@ ja:
         email: メールアドレス
         password: パスワード
         password_confirmation: パスワード (再入力)
+        current_password: 現在のパスワード
         name: 氏名
         remember_me: 次回から自動ログイン
+        icon: アイコン
       lecture:
         name: 講義名
       task:
@@ -77,13 +89,28 @@ ja:
       apk:
         name: apk のクラス名
         revision: リビジョン
-        apk: apk ファイル
+        file: apk ファイル
+      achievement:
+        result: 実績
     errors:
       messages:
         blank: が空です
         invalid: が不正です
         confirmation: が一致しません
         too_short: は%{count}文字以上で入力してください
+      models:
+        achievement:
+          attributes:
+            task_id:
+              taken: の実績は既に存在します
+        user:
+          attributes:
+            email:
+              taken: は既に使われています
+        teacher:
+          attributes:
+            email:
+              taken: は既に使われています
 
   errors:
     format: "%{attribute}%{message}"