Commit 29949cb4b29749d85791f4970ac4117e8d543139
Committed by
Daniela Feitosa
1 parent
ee621004
Exists in
master
and in
29 other branches
ActionItem1066: made icons names in the link list block translate
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/link_list_block.rb
... | ... | @@ -67,7 +67,7 @@ class LinkListBlock < Block |
67 | 67 | def icons_options(selected = nil) |
68 | 68 | ICONS.map do |i| |
69 | 69 | select = "selected='1'" if i[0] == selected |
70 | - "<option class='icon-#{i[0]}' value='#{i[0]}' #{select}>#{i[1]}</option>" | |
70 | + "<option class='icon-#{i[0]}' value='#{i[0]}' #{select}>#{gettext(i[1])}</option>" | |
71 | 71 | end |
72 | 72 | end |
73 | 73 | ... | ... |