Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added GLoc strings for the error message

Signed-off-by: Scrum Alliance Development Team <devteam@scrumalliance.org>
  • Loading branch information...
commit 3a327f470fbc1870e9ee2f1c20a1f6db99f82967 1 parent fd9ca0f
@edavis10 edavis10 authored Scrum Alliance Development Team committed
Showing with 4 additions and 3 deletions.
  1. +2 −2 app/controllers/burndowns_controller.rb
  2. +2 −1  lang/en.yml
View
4 app/controllers/burndowns_controller.rb
@@ -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
3  lang/en.yml
@@ -1 +1,2 @@
-burndown: Burndown
+burndown: Burndown
+burndown_text_no_sprint: There is no current Sprint for this Project
Please sign in to comment.
Something went wrong with that request. Please try again.