rename repeating -> recurring, repeat -> recurrence

This commit is contained in:
Carsten Otto 2015-02-10 16:25:27 +01:00
parent ab02d09830
commit dfe8735c0d
35 changed files with 125 additions and 125 deletions

View file

@ -129,7 +129,7 @@ class ContextsController < ApplicationController
# actions, you'll get a warning dialogue. If you choose to go ahead, any
# actions in the context will also be deleted.
def destroy
# make sure the deleted recurring patterns are removed from associated todos
# make sure the deleted recurrence patterns are removed from associated todos
@context.recurring_todos.each { |rt| rt.clear_todos_association } unless @context.recurring_todos.nil?
@context.destroy

View file

@ -23,19 +23,19 @@ module RecurringTodos
end
def daily_pattern
@daily_pattern ||= create_pattern(DailyRepeatPattern)
@daily_pattern ||= create_pattern(DailyRecurrencePattern)
end
def weekly_pattern
@weekly_pattern ||= create_pattern(WeeklyRepeatPattern)
@weekly_pattern ||= create_pattern(WeeklyRecurrencePattern)
end
def monthly_pattern
@monthly_pattern ||= create_pattern(MonthlyRepeatPattern)
@monthly_pattern ||= create_pattern(MonthlyRecurrencePattern)
end
def yearly_pattern
@yearly_pattern ||= create_pattern(YearlyRepeatPattern)
@yearly_pattern ||= create_pattern(YearlyRecurrencePattern)
end
def method_missing(method, *args)