質問編集履歴

2

ファイル名を訂正

2019/06/16 14:37

投稿

kenya.yasuhara
kenya.yasuhara

スコア17

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  ### 困っていること
12
12
 
13
- 問題がある箇所としてtasks/new.html.slimとconfig/ja.ymlを確認したが、文法的にどちらにも問題があるように見えず、解決方法がわからないこと
13
+ 問題がある箇所としてtasks/new.html.slimとconfig/locales/ja.ymlを確認したが、文法的にどちらにも問題があるように見えず、解決方法がわからないこと
14
14
 
15
15
 
16
16
 
@@ -50,7 +50,7 @@
50
50
 
51
51
 
52
52
 
53
- - config/ja.yml
53
+ - config/locales/ja.yml
54
54
 
55
55
  ```yml
56
56
 

1

参考したサイトを追加

2019/06/16 14:37

投稿

kenya.yasuhara
kenya.yasuhara

スコア17

test CHANGED
File without changes
test CHANGED
@@ -70,22 +70,30 @@
70
70
 
71
71
  has_many: "%{record}が存在しているので削除できません"
72
72
 
73
- models:
73
+ models:
74
74
 
75
- task: タスク
75
+ task: タスク
76
76
 
77
- attributes:
77
+ attributes:
78
78
 
79
- task:
79
+ task:
80
80
 
81
- id: ID
81
+ id: ID
82
82
 
83
- name: 名称
83
+ name: 名称
84
84
 
85
- description: 詳しい説明
85
+ description: 詳しい説明
86
86
 
87
- created_at: 登録日時
87
+ created_at: 登録日時
88
88
 
89
- updated_at: 更新日時
89
+ updated_at: 更新日時
90
90
 
91
91
  ```
92
+
93
+
94
+
95
+ ### 参考にしたサイト
96
+
97
+ - https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/ja.yml
98
+
99
+ - https://qiita.com/ngron/items/968638fe85cbab41c486