Explorar el Código

Fix reference to translation of "Subgroups"

Maarten van den Berg %!s(int64=6) %!d(string=hace) años
padre
commit
ce0a9d6039
Se han modificado 2 ficheros con 6 adiciones y 2 borrados
  1. 2 2
      app/views/activities/show.html.haml
  2. 4 0
      config/locales/aardbei_en.yml

+ 2 - 2
app/views/activities/show.html.haml

@@ -70,7 +70,7 @@
70 70
         - if @assignable_subgroups.any?
71 71
           %tr
72 72
             %td
73
-              = t 'activerecord.attributes.activity.subgroups'
73
+              = t 'activerecord.models.subgroup.other'
74 74
 
75 75
             %td
76 76
               = @assignable_subgroups.join(', ')
@@ -128,7 +128,7 @@
128 128
   - if @activity.subgroups.any?
129 129
     .panel.panel-default
130 130
       .panel-heading
131
-        = t 'activerecord.attrs.activities.subgroups'
131
+        = t 'activerecord.models.subgroup.other'
132 132
       .panel-body
133 133
         = select_tag(:subgroup_filter, options_for_select(@subgroup_ids), class: 'form-control subgroup-filter')
134 134
 

+ 4 - 0
config/locales/aardbei_en.yml

@@ -71,6 +71,10 @@ en:
71 71
         one: "Member"
72 72
         other: "Members"
73 73
 
74
+      subgroup:
75
+        one: "Subgroup"
76
+        other: "Subgroups"
77
+
74 78
     attributes:
75 79
       person:
76 80
         first_name: "First name"