summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-03 21:31:04 -0400
committerDavid Gay <david@davidgay.org>2021-06-03 21:31:04 -0400
commit0e8f90a95212159ddab64c6249a3da63f918d21d (patch)
treeebbfaab6cecc206cd365d0b25cbc90fafdf2cee2 /app
parent5d5205a9c48762e05a489bd5ff9c72b48bc6f70b (diff)
Use `#pluralize` for max wound(s)
Diffstat (limited to 'app')
-rw-r--r--app/views/application/_timer.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_timer.html.erb b/app/views/application/_timer.html.erb
index ec10258..edbc7ea 100644
--- a/app/views/application/_timer.html.erb
+++ b/app/views/application/_timer.html.erb
@@ -19,7 +19,7 @@
<div class="text-center text-xs my-2">
<% if current_char.activity.gid.include?("beastslay") %>
- <%= current_char.wounds %> / <%= current_char.max_wounds %> wounds
+ <%= current_char.wounds %> / <%= pluralize(current_char.max_wounds, "wound") %>
<% end %>
<% current_char.active_states.each do |state| %>
<div>