[phase2]I18n text in index view
This commit is contained in:
parent
a86f418baf
commit
1c17a44d1a
@ -1,10 +1,10 @@
|
||||
<h2>GlossaryTermsController#index</h2>
|
||||
<h2><%=t :label_glossary_terms %></h2>
|
||||
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>name</th>
|
||||
<th>description</th>
|
||||
<th><%=t :field_name %></th>
|
||||
<th><%=l :field_description %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -1,3 +1,4 @@
|
||||
# English strings go here for Rails i18n
|
||||
en:
|
||||
# my_label: "My label"
|
||||
label_glossary_terms: "Glossary terms"
|
||||
|
||||
|
3
config/locales/ja.yml
Normal file
3
config/locales/ja.yml
Normal file
@ -0,0 +1,3 @@
|
||||
ja:
|
||||
label_glossary_terms: "用語集"
|
||||
|
Loading…
Reference in New Issue
Block a user