Fixed locales

Fixed locale related issues
This commit is contained in:
Juan Salvador Pérez García
2018-06-22 12:45:22 +02:00
parent f9a085a400
commit 5236fba47e
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
ProposalGraph.prototype.draw = function(data) { ProposalGraph.prototype.draw = function(data) {
var xColumnValues = [ 'x' ], var xColumnValues = [ 'x' ],
progressColumnValues = [ this.progressLabel ], // [ '<%= t('.progress') %>' ], progressColumnValues = [ this.progressLabel ],
key; key;
for (key in data) { for (key in data) {
@@ -50,7 +50,7 @@
axis: { axis: {
y: { y: {
label: { label: {
text: this.supportsLabel, // '<%= t '.supports' %> ', text: this.supportsLabel,
position: 'outer-middle' position: 'outer-middle'
} }
}, },

View File

@@ -1,5 +1,5 @@
<table> <table>
<caption><%= t('.actions') %></caption> <caption><%= t('proposals_dashboard.menu.actions') %></caption>
<% proposed_actions.each do |action| %> <% proposed_actions.each do |action| %>
<%= render partial: 'proposed_action', locals: { action: action } %> <%= render partial: 'proposed_action', locals: { action: action } %>
<% end %> <% end %>