From a68f7f8cbcfb2374fee7413c488a85d0dadf0a72 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Fri, 15 Nov 2019 09:47:20 +1100 Subject: [PATCH] FIX: Revisit mispellings --- config/locales/client.en.yml | 2 +- lib/template.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 065c8879..bcd792f7 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -34,7 +34,7 @@ en: prompt_completion: "Prompt" prompt_completion_label: "Prompt user to complete wizard." restart_on_revisit: "Restart" - restart_on_revisit_label: "Restart the the wizard whenever the user revists, regardless of prior progress." + restart_on_revisit_label: "Restart the the wizard whenever the user revisits, regardless of prior progress." min_trust: "Trust" min_trust_label: "Trust level required to access wizard." theme_id: "Theme" diff --git a/lib/template.rb b/lib/template.rb index d531d7a7..f8ec0d20 100644 --- a/lib/template.rb +++ b/lib/template.rb @@ -26,7 +26,7 @@ class CustomWizard::Template @save_submissions = data['save_submissions'] || false @multiple_submissions = data['multiple_submissions'] || false @prompt_completion = data['prompt_completion'] || false - @restart_on_revist = data['restart_on_revist'] || false + @restart_on_revisit = data['restart_on_revisit'] || false @min_trust = data['min_trust'] || 0 @after_signup = data['after_signup'] @after_time = data['after_time']