From aecbaa7f04f4642146945a24f6279b3204f36b29 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 10 Feb 2020 11:09:22 +0100 Subject: [PATCH] translation issue on event reservation --- app/assets/templates/events/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/templates/events/show.html.erb b/app/assets/templates/events/show.html.erb index 2809577f7..b8174107a 100644 --- a/app/assets/templates/events/show.html.erb +++ b/app/assets/templates/events/show.html.erb @@ -133,8 +133,8 @@ id="offerSlot" type="checkbox" class="form-control" - switch-on-text="{{ 'yes' | translate }}" - switch-off-text="{{ 'no' | translate }}" + switch-on-text="{{ 'app.shared.buttons.yes' | translate }}" + switch-off-text="{{ 'app.shared.buttons.no' | translate }}" switch-animate="true" switch-readonly="{{trainingIsValid}}" ng-change="computeEventAmount()"/>