[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">
|
<table class="list">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>name</th>
|
<th><%=t :field_name %></th>
|
||||||
<th>description</th>
|
<th><%=l :field_description %></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
# English strings go here for Rails i18n
|
# English strings go here for Rails i18n
|
||||||
en:
|
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