From 54f5ec05a990df1c05af142aba9553200352f7c4 Mon Sep 17 00:00:00 2001 From: Richard Date: Wed, 30 Nov 2011 08:24:55 +0100 Subject: [PATCH 1/4] translates --- config/locales/cs.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/locales/cs.yml diff --git a/config/locales/cs.yml b/config/locales/cs.yml new file mode 100644 index 0000000..d903a8c --- /dev/null +++ b/config/locales/cs.yml @@ -0,0 +1,9 @@ +cs: + label_graphs: Grafy + label_graphs_total_vs_closed_issues: Celkový počet úkolů a uzavřených úkolů + label_graphs_old_issues: Otevřít zastaralé úkoly + label_graphs_issue_growth: Všechny úkoly od počátku + label_graphs_issue_status_flow: Nedávno změněné stavy (během 24 hodin) + label_graphs_assigned_to_status_flow: Nedávno změněné přidělení (během 24 hodin) + warning_no_issues: Nejsou zde žádné úkoly. + \ No newline at end of file From c36fcec628a11f6f7aeb30e97cbef210a67e3a3a Mon Sep 17 00:00:00 2001 From: jcopp Date: Wed, 4 Apr 2012 14:58:38 -0400 Subject: [PATCH 2/4] Copy routes.rb to config dir and update their format to work with newer versions of Rails/Redmine --- config/routes.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/routes.rb diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..1b2cd65 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,6 @@ +ActionController::Routing::Routes.draw do |map| + map.connect 'projects/:project_id/issues/old', :controller => 'graphs', :action => 'old_issues' + map.connect 'issues/old', :controller => 'graphs', :action => 'old_issues' + map.connect 'projects/:project_id/issues/growth', :controller => 'graphs', :action => 'issue_growth' + map.connect 'issues/growth', :controller => 'graphs', :action => 'issue_growth' +end From 933ccee63ef88579c4961d7be56d46fb6d40fd9c Mon Sep 17 00:00:00 2001 From: jcopp Date: Thu, 5 Apr 2012 02:50:38 -0400 Subject: [PATCH 3/4] Add missing routes that were causing templates to throw errors --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 1b2cd65..0f9de44 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,8 @@ ActionController::Routing::Routes.draw do |map| map.connect 'projects/:project_id/issues/old', :controller => 'graphs', :action => 'old_issues' map.connect 'issues/old', :controller => 'graphs', :action => 'old_issues' + map.connect ':project_id/issue_age_graph', :controller => 'graphs', :action => 'issue_age_graph' map.connect 'projects/:project_id/issues/growth', :controller => 'graphs', :action => 'issue_growth' map.connect 'issues/growth', :controller => 'graphs', :action => 'issue_growth' + map.connect ':project_id/issue_growth_graph', :controller => 'graphs', :action => 'issue_growth_graph' end From 3a5f4389c7a6006384784d46bc497eae75acfda9 Mon Sep 17 00:00:00 2001 From: jaugustin Date: Mon, 21 May 2012 17:02:17 +0200 Subject: [PATCH 4/4] fix routes.rb, add route for my page graph and roadmap graph --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 0f9de44..45d7cf5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,4 +5,7 @@ ActionController::Routing::Routes.draw do |map| map.connect 'projects/:project_id/issues/growth', :controller => 'graphs', :action => 'issue_growth' map.connect 'issues/growth', :controller => 'graphs', :action => 'issue_growth' map.connect ':project_id/issue_growth_graph', :controller => 'graphs', :action => 'issue_growth_graph' + map.connect 'graphs/recent-status-changes', :controller=>"graphs", :action=>"recent_status_changes_graph" + map.connect 'graphs/recent-assigned-to-changes', :controller=>"graphs", :action=>"recent_assigned_to_changes_graph" + map.connect 'graphs/target-version/:id', :controller=>"graphs", :action=>"target_version_graph" end