* Added French translation (thanks Thomas)

* Tweaking recent status changes graph padding
This commit is contained in:
Brad Beattie 2009-04-15 10:27:36 -07:00
parent 30056e7d18
commit c6b30b8ee0
3 changed files with 10 additions and 4 deletions

View File

@ -8,14 +8,14 @@
i = -1
@issue_statuses.each do |issue_status|
points[issue_status.id] = {
"x" => Math.sin(2*Math::PI*i/@issue_statuses.size)*100 + 150,
"y" => Math.cos(2*Math::PI*i/@issue_statuses.size)*100 + 150
"x" => Math.sin(2*Math::PI*i/@issue_statuses.size)*100 + 140,
"y" => Math.cos(2*Math::PI*i/@issue_statuses.size)*100 + 140
}
i -= 1
end
%>
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="300" height="300">
<svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="280" height="280">
<g fill-opacity="0.2" stroke-opacity="0.5">
<% @status_changes.each do |status_change| %>
<%

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,5 +1,5 @@
<h3><%= l(:label_graphs_issue_status_flow) %></h3>
<div style="text-align: center">
<%= tag("embed", :width => "300", :height => 300, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'recent_status_changes_graph')) %>
<%= tag("embed", :width => "280", :height => 280, :type => "image/svg+xml", :src => url_for(:controller => 'graphs', :action => 'recent_status_changes_graph')) %>
</div>

6
config/locales/fr.yml Normal file
View File

@ -0,0 +1,6 @@
fr:
label_graphs: Tendances
label_graphs_total_vs_closed_issues: Fermetures / Total
label_graphs_old_issues: Age des demandes
label_graphs_issue_growth: Total des demandes
label_graphs_issue_status_flow: Changements recent (dans les dernieres 24 heures)