Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KG - Visit Day Missing Translation #854

Merged
merged 1 commit into from
Jan 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/models/service_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def validate_service_calendar
invalid_day_errors = false

unless days.all?{|x| !x.blank?}
errors.add(:base, I18n.t('errors.fulfillments.visit_day_missing', arm_name: arm.name))
errors.add(:base, I18n.t('errors.arms.visit_day_missing', arm_name: arm.name))
visit_group_errors = true
end
end
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ en:
errors:
arms:
name_unique: "has to be unique within a study/project"
visit_day_missing: "Please specify a study day for each visit (%{arm_name})"
visit_day_missing: "Please specify a day for each visit (%{arm_name})"
name_unique: 'must be unique to the Protocol'
line_items:
displayed_cost_numeric: 'must be a number'
Expand Down