Use absolute translation paths

Using `t(.empty_proposals)` IMHO is a bit dangerous because we'd need to
change the locale files if we move the code to a partial or rename the
file.
This commit is contained in:
Javi Martín
2018-09-21 19:47:26 +02:00
parent 5c1d1882ab
commit 5ab8587ad2

View File

@@ -11,7 +11,7 @@
<div class="legislation-proposals">
<% if @proposals.empty? %>
<div class="callout primary">
<p><%= t('.empty_proposals') %></p>
<p><%= t("legislation.processes.proposals.empty_proposals") %></p>
</div>
<% else %>
<%= render @proposals %>