diff --git a/UI/Scheduler/UIxCalMainView.m b/UI/Scheduler/UIxCalMainView.m
index 41eb1715f..e32335253 100644
--- a/UI/Scheduler/UIxCalMainView.m
+++ b/UI/Scheduler/UIxCalMainView.m
@@ -1,6 +1,6 @@
/* UIxCalMainView.m - this file is part of SOGo
*
- * Copyright (C) 2006-2018 Inverse inc.
+ * Copyright (C) 2006-2019 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -339,6 +339,22 @@
return (view ? view : @"weekview");
}
+- (NSArray *) repeatFrequencies
+{
+ NSArray *repeatFrequencies;
+
+ repeatFrequencies = [NSArray arrayWithObjects:
+ [NSArray arrayWithObjects: @"never", [self labelForKey: @"repeat_NEVER"], nil],
+ [NSArray arrayWithObjects: @"daily",[self labelForKey: @"repeat_DAILY"], nil],
+ [NSArray arrayWithObjects: @"weekly",[self labelForKey: @"repeat_WEEKLY"], nil],
+ [NSArray arrayWithObjects: @"monthly",[self labelForKey: @"repeat_MONTHLY"], nil],
+ [NSArray arrayWithObjects: @"yearly", [self labelForKey: @"repeat_YEARLY"], nil],
+ [NSArray arrayWithObjects: @"custom", [self labelForKey: @"repeat_CUSTOM"], nil],
+ nil];
+
+ return repeatFrequencies;
+}
+
@end
/* Component Viewer, parent class of Appointment Viewer and Task Viewer */
diff --git a/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox b/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
index 92c3e36d1..198be5bc4 100644
--- a/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
+++ b/UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox
@@ -199,9 +199,7 @@
ng-model="editor.component.repeat.frequency"
ng-change="editor.changeFrequency($event)"
ng-disabled="editor.component.occurrenceId">
-
-
-
+ {{ frequency[1] }}
;
var currentView = '';
var localeCode = '';
+ var repeatFrequencies = ;
var centerIsClose = ;
diff --git a/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox b/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox
index d654aaf57..b8ae35b01 100644
--- a/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox
+++ b/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox
@@ -196,9 +196,7 @@
-
-
-
+ {{ frequency[1] }}