accepts_nested_attributes_forでネスとしたやつを日本語化

何回か詰まったのでメモ。

ja:
  activerecord:
    models:
      blog: "ブログ"
      contact: "お問い合わせ"
      user: "ユーザー"
    attributes:
      gamble/teams:
        name: "チーム名"
        score: "スコア"
      gamble:
        game: "開催日"
        event: "種目"
        place: "場所"
        description: "説明"
        competition: "大会名"
      user:
        title: "タイトル"
        name: "名前"
        email: "メールアドレス"
        content: "内容"
        current_password: "現在のパスワード"
        password: "パスワード"
        password_confirmation: "確認用パスワード"
        remember_me: "ログインを記憶"

See Also