Call .to_sentence on site.key.table.entry. Translations are free to take advantage...
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 26 Jun 2009 18:23:06 +0000 (18:23 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 26 Jun 2009 18:23:06 +0000 (18:23 +0000)
app/views/site/key.html.erb

index 97544242671847f531ed8accc0a44767073f98bb..5879701a2e4350c2ca6e666d4f569ef803787775 100644 (file)
@@ -10,7 +10,7 @@
                 <%= image_tag "key/#{name}/#{entry['image']}" %>
               </td>
               <td class="mapkey-table-value">
-                <%= t "site.key.table.entry.#{entry['name']}" %>
+                <%= [*t("site.key.table.entry.#{entry['name']}")].to_sentence %>
               </td>
             </tr>
           <% end %>