Adds total number of issues for each version on the roadmap.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8629 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-10 18:05:49 +00:00
parent 8eef72aa1a
commit 9daa667d0a
46 changed files with 194 additions and 12 deletions

View File

@ -18,10 +18,12 @@
<% if version.fixed_issues.count > 0 %>
<%= progress_bar([version.closed_pourcent, version.completed_pourcent], :width => '40em', :legend => ('%0.0f%' % version.completed_pourcent)) %>
<p class="progress-info">
<%= link_to_if(version.closed_issues_count > 0, l(:label_x_closed_issues_abbr, :count => version.closed_issues_count), :controller => 'issues', :action => 'index', :project_id => version.project, :status_id => 'c', :fixed_version_id => version, :set_filter => 1) %>
<%= link_to l(:label_x_issues, :count => version.fixed_issues.count), :controller => 'issues', :action => 'index', :project_id => version.project, :status_id => '*', :fixed_version_id => version, :set_filter => 1 %>
&nbsp;
(<%= link_to_if(version.closed_issues_count > 0, l(:label_x_closed_issues_abbr, :count => version.closed_issues_count), :controller => 'issues', :action => 'index', :project_id => version.project, :status_id => 'c', :fixed_version_id => version, :set_filter => 1) %>
&#8212;
<%= link_to_if(version.open_issues_count > 0, l(:label_x_open_issues_abbr, :count => version.open_issues_count), :controller => 'issues', :action => 'index', :project_id => version.project, :status_id => 'o', :fixed_version_id => version, :set_filter => 1) %>
<%= link_to_if(version.open_issues_count > 0, l(:label_x_open_issues_abbr, :count => version.open_issues_count), :controller => 'issues', :action => 'index', :project_id => version.project, :status_id => 'o', :fixed_version_id => version, :set_filter => 1) %>)
</p>
<% else %>
<p><em><%= l(:label_roadmap_no_issues) %></em></p>
<p class="progress-info"><%= l(:label_roadmap_no_issues) %></p>
<% end %>

View File

@ -1007,3 +1007,7 @@ ar:
Select or update the Redmine user mapped to each username found in the repository log.
Users with the same Redmine and repository username or email are automatically mapped.
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 قضية
one: 1 قضية
other: "%{count} قضايا"

View File

@ -1005,3 +1005,7 @@ bg:
description_date_range_interval: Изберете диапазон чрез задаване на начална и крайна дати
description_date_from: Въведете начална дата
description_date_to: Въведете крайна дата
label_x_issues:
zero: 0 Задача
one: 1 Задача
other: "%{count} Задачи"

View File

@ -1021,3 +1021,7 @@ bs:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 aktivnost
one: 1 aktivnost
other: "%{count} aktivnosti"

View File

@ -1009,3 +1009,7 @@ ca:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 assumpte
one: 1 assumpte
other: "%{count} assumptes"

View File

@ -1010,3 +1010,7 @@ cs:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Úkol
one: 1 Úkol
other: "%{count} Úkoly"

View File

@ -1024,3 +1024,7 @@ da:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 sag
one: 1 sag
other: "%{count} sager"

View File

@ -1027,3 +1027,7 @@ de:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 ticket
one: 1 ticket
other: "%{count} tickets"

View File

@ -1007,3 +1007,7 @@ el:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Θέμα
one: 1 Θέμα
other: "%{count} Θέματα"

View File

@ -1009,3 +1009,7 @@ en-GB:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 issue
one: 1 issue
other: "%{count} issues"

View File

@ -586,6 +586,10 @@ en:
zero: 0 closed
one: 1 closed
other: "%{count} closed"
label_x_issues:
zero: 0 issues
one: 1 issue
other: "%{count} issues"
label_total: Total
label_permissions: Permissions
label_current_status: Current status

View File

@ -1044,3 +1044,7 @@ es:
label_export_options: "%{export_format} opciones de exportación"
error_attachment_too_big: Este fichero no se puede adjuntar porque excede el tamaño máximo de fichero (%{max_size})
notice_failed_to_save_time_entries: "Error al guarda %{count} entradas de tiempo de las %{total} seleccionadas: %{ids}."
label_x_issues:
zero: 0 petición
one: 1 petición
other: "%{count} peticiones"

View File

@ -1010,3 +1010,7 @@ eu:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 zeregina
one: 1 zeregina
other: "%{count} zereginak"

View File

@ -1009,3 +1009,7 @@ fa:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 پیامد
one: 1 پیامد
other: "%{count} پیامد"

View File

@ -1028,3 +1028,7 @@ fi:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 tapahtuma
one: 1 tapahtuma
other: "%{count} tapahtumat"

View File

@ -568,17 +568,21 @@ fr:
label_closed_issues: fermé
label_closed_issues_plural: fermés
label_x_open_issues_abbr_on_total:
zero: 0 ouvert sur %{total}
one: 1 ouvert sur %{total}
other: "%{count} ouverts sur %{total}"
zero: 0 ouverte sur %{total}
one: 1 ouverte sur %{total}
other: "%{count} ouvertes sur %{total}"
label_x_open_issues_abbr:
zero: 0 ouvert
one: 1 ouvert
other: "%{count} ouverts"
zero: 0 ouverte
one: 1 ouverte
other: "%{count} ouvertes"
label_x_closed_issues_abbr:
zero: 0 fermé
one: 1 fermé
other: "%{count} fermés"
zero: 0 fermée
one: 1 fermée
other: "%{count} fermées"
label_x_issues:
zero: 0 demande
one: 1 demande
other: "%{count} demandes"
label_total: Total
label_permissions: Permissions
label_current_status: Statut actuel

View File

@ -1018,3 +1018,7 @@ gl:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 petición
one: 1 petición
other: "%{count} peticións"

View File

@ -1012,3 +1012,7 @@ he:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 נושא
one: 1 נושא
other: "%{count} נושאים"

View File

@ -1013,3 +1013,7 @@ hr:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 predmet
one: 1 predmet
other: "%{count} predmeti"

View File

@ -1026,3 +1026,7 @@
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 feladat
one: 1 feladat
other: "%{count} feladatok"

View File

@ -1013,3 +1013,7 @@ id:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 masalah
one: 1 masalah
other: "%{count} masalah"

View File

@ -1008,3 +1008,7 @@ it:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 segnalazione
one: 1 segnalazione
other: "%{count} segnalazioni"

View File

@ -1037,3 +1037,7 @@ ja:
label_export_options: "%{export_format} エクスポート設定"
error_attachment_too_big: このファイルはアップロードできません。添付ファイルサイズの上限(%{max_size})を超えています。
notice_failed_to_save_time_entries: "全%{total}件中%{count}件の作業時間が保存できませんでした: %{ids}."
label_x_issues:
zero: 0 チケット
one: 1 チケット
other: "%{count} チケット"

View File

@ -1059,3 +1059,7 @@ ko:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 일감
one: 1 일감
other: "%{count} 일감"

View File

@ -1067,3 +1067,7 @@ lt:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 darbas
one: 1 darbas
other: "%{count} darbai"

View File

@ -1001,3 +1001,7 @@ lv:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 uzdevums
one: 1 uzdevums
other: "%{count} uzdevumi"

View File

@ -1007,3 +1007,7 @@ mk:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Задача
one: 1 Задача
other: "%{count} Задачи"

View File

@ -1007,3 +1007,7 @@ mn:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Асуудал
one: 1 Асуудал
other: "%{count} Асуудлууд"

View File

@ -989,3 +989,7 @@ nl:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 issue
one: 1 issue
other: "%{count} issues"

View File

@ -997,3 +997,7 @@
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 sak
one: 1 sak
other: "%{count} saker"

View File

@ -1024,3 +1024,7 @@ pl:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 zagadnienie
one: 1 zagadnienie
other: "%{count} zagadnienia"

View File

@ -1030,3 +1030,7 @@ pt-BR:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 tarefa
one: 1 tarefa
other: "%{count} tarefas"

View File

@ -1012,3 +1012,7 @@ pt:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 tarefa
one: 1 tarefa
other: "%{count} tarefas"

View File

@ -999,3 +999,7 @@ ro:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 tichet
one: 1 tichet
other: "%{count} tichete"

View File

@ -1120,3 +1120,7 @@ ru:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Задача
one: 1 Задача
other: "%{count} Задачи"

View File

@ -1002,3 +1002,7 @@ sk:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Úloha
one: 1 Úloha
other: "%{count} Úlohy"

View File

@ -1007,3 +1007,7 @@ sl:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 zahtevek
one: 1 zahtevek
other: "%{count} zahtevki"

View File

@ -1007,3 +1007,7 @@ sr-YU:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 problem
one: 1 problem
other: "%{count} problemi"

View File

@ -1008,3 +1008,7 @@ sr:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Проблем
one: 1 Проблем
other: "%{count} Проблеми"

View File

@ -1048,3 +1048,7 @@ sv:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Ärende
one: 1 Ärende
other: "%{count} Ärenden"

View File

@ -1004,3 +1004,7 @@ th:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 ปัญหา
one: 1 ปัญหา
other: "%{count} ปัญหา"

View File

@ -1026,3 +1026,7 @@ tr:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 İş
one: 1 İş
other: "%{count} İşler"

View File

@ -1004,3 +1004,7 @@ uk:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 Питання
one: 1 Питання
other: "%{count} Питання"

View File

@ -1058,3 +1058,7 @@ vi:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 vấn đề
one: 1 vấn đề
other: "%{count} vấn đề"

View File

@ -1087,3 +1087,7 @@
description_date_range_interval: 選擇起始與結束日期以設定範圍區間
description_date_from: 輸入起始日期
description_date_to: 輸入結束日期
label_x_issues:
zero: 0 問題
one: 1 問題
other: "%{count} 問題清單"

View File

@ -1009,3 +1009,7 @@ zh:
label_export_options: "%{export_format} export options"
error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})
notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
label_x_issues:
zero: 0 问题
one: 1 问题
other: "%{count} 问题"