Commit 113e79cbbec140a6cbbaac4260ff28129b3fab06
Committed by
Diego Camarinha
1 parent
e9d52669
Exists in
colab
and in
4 other branches
Adding translations for public attribute on reading group/configuration
Signed off by: Pedro Scocco <pedroscocco@gmail.com>
Showing
4 changed files
with
16 additions
and
2 deletions
Show diff stats
app/views/kalibro_configurations/_form.html.erb
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | <div class="form-row"> | 21 | <div class="form-row"> |
| 22 | <div class="field-container checkbox"> | 22 | <div class="field-container checkbox"> |
| 23 | <label> | 23 | <label> |
| 24 | - <%= check_box :attributes, :public %> Visible to everyone? | 24 | + <%= check_box :attributes, :public %> <%= t('activemodel.attributes.kalibro_configuration_attributes_label.public') %> |
| 25 | </label> | 25 | </label> |
| 26 | </div> | 26 | </div> |
| 27 | </div> | 27 | </div> |
app/views/reading_groups/_form.html.erb
| @@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
| 19 | <div class="form-row"> | 19 | <div class="form-row"> |
| 20 | <div class="field-container checkbox"> | 20 | <div class="field-container checkbox"> |
| 21 | <label> | 21 | <label> |
| 22 | - <%= check_box :attributes, :public %> Visible to everyone? | 22 | + <%= check_box :attributes, :public %> <%= t('activemodel.attributes.kalibro_configuration_attributes_label.public') %> |
| 23 | </label> | 23 | </label> |
| 24 | </div> | 24 | </div> |
| 25 | </div> | 25 | </div> |
config/locales/views/kalibro_configuration_attributes/en.yml
0 → 100644
config/locales/views/kalibro_configuration_attributes/pt.yml
0 → 100644