Make counter accessible

This commit is contained in:
2017-02-26 17:02:33 +01:00
parent c85e2a6d45
commit 185b6d6059
4 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
#counter.pull-right #counter.pull-right aria-hidden="true"
= t('.supporters') = t('.supporters')
- Supporter.counter.to_s.split('').each do |x| - Supporter.counter.to_s.split('').each do |x|
.counter_char= x .counter_char= x
.sr-only
h2 lang='en' Counter
= t('.amount_of_supporters', amount: Supporter.counter)
+1
View File
@@ -39,6 +39,7 @@ de:
shared: shared:
counter: counter:
supporters: "Unterstützer:" supporters: "Unterstützer:"
amount_of_supporters: Zurzeit haben wir %{amount} Unterstützer.
mongoid: mongoid:
attributes: attributes:
+1
View File
@@ -39,6 +39,7 @@ fr:
shared: shared:
counter: counter:
supporters: "Militant:" supporters: "Militant:"
amount_of_supporters: Nous avons actuellement %{amount} supporters.
mongoid: mongoid:
attributes: attributes:
+1
View File
@@ -39,6 +39,7 @@ it:
shared: shared:
counter: counter:
supporters: "Sostenitore:" supporters: "Sostenitore:"
amount_of_supporters: Al momento abbiamo %{amount} sostenitori.
mongoid: mongoid:
attributes: attributes: