removes hardcoding of proposal's supports
makes it dynamic based on Proposal.votes_needed_for_success
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
<span class="total-supports">
|
||||
<%= t("proposals.proposal.supports", count: proposal.total_votes) %>
|
||||
<span>
|
||||
<abbr title="<%= t("proposals.proposal.census_percent") %>">
|
||||
<%= t("proposals.proposal.supports_necessary") %>
|
||||
<abbr title="<%= t("proposals.proposal.reason_for_supports_necessary") %>">
|
||||
<%= t("proposals.proposal.supports_necessary", number: number_with_delimiter(Proposal.votes_needed_for_success)) %>
|
||||
</abbr>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
@@ -184,8 +184,8 @@ en:
|
||||
zero: "No supports"
|
||||
one: "1 support"
|
||||
other: "%{count} supports"
|
||||
supports_necessary: "53,726 supports needed"
|
||||
census_percent: "2% of Census"
|
||||
supports_necessary: "%{number} supports needed"
|
||||
reason_for_supports_necessary: "2% of Census"
|
||||
total_percent: "100%"
|
||||
already_supported: "You have already supported this proposal. Share it!"
|
||||
form:
|
||||
|
||||
@@ -184,8 +184,8 @@ es:
|
||||
zero: "Sin apoyos"
|
||||
one: "1 apoyo"
|
||||
other: "%{count} apoyos"
|
||||
supports_necessary: "53.726 apoyos necesarios"
|
||||
census_percent: "2% del Censo"
|
||||
supports_necessary: "%{number} apoyos necesarios"
|
||||
reason_for_supports_necessary: "2% del Censo"
|
||||
total_percent: "100%"
|
||||
already_supported: "¡Ya has apoyado esta propuesta, compártela!"
|
||||
form:
|
||||
|
||||
Reference in New Issue
Block a user