Permalink
Browse files

Added GLoc strings for the error message

Signed-off-by: Scrum Alliance Development Team <devteam@scrumalliance.org>
  • Loading branch information...
1 parent fd9ca0f commit 3a327f470fbc1870e9ee2f1c20a1f6db99f82967 @edavis10 edavis10 committed with Scrum Alliance Development Team Feb 10, 2009
Showing with 4 additions and 3 deletions.
  1. +2 −2 app/controllers/burndowns_controller.rb
  2. +2 −1 lang/en.yml
@@ -12,6 +12,6 @@ def show
def find_version_and_project
@project = Project.find(params[:project_id])
@version = params[:id] ? @project.versions.find(params[:id]) : @project.current_version
- render_error("There is no current Sprint for this Project") and return unless @version
+ render_error(l(:burndown_text_no_sprint)) and return unless @version
end
-end
+end
View
@@ -1 +1,2 @@
-burndown: Burndown
+burndown: Burndown
+burndown_text_no_sprint: There is no current Sprint for this Project

0 comments on commit 3a327f4

Please sign in to comment.