def generate_content(page)
  page.title = I18n.t("welcome.welcome.title")

  page.content = "<p>#{I18n.t("welcome.welcome.user_permission_info")}</p>
                  <ul>
                    <li>#{I18n.t("verification.user_permission_debates")}</li>
                    <li>#{I18n.t("verification.user_permission_proposal")}</li>
                    <li>#{I18n.t("verification.user_permission_support_proposal")}</li>
                    <li>#{I18n.t("verification.user_permission_votes")}</li>
                  </ul>

                  <p>#{I18n.t("account.show.verified_account")}</p>

                  <p><a href='/'>#{I18n.t("welcome.welcome.start_using_consul")}</a></p>"
  page.save!
end

if SiteCustomization::Page.find_by(slug: "welcome_level_three_verified").nil?
  page = SiteCustomization::Page.new(slug: "welcome_level_three_verified", status: "published")
  Setting.enabled_locales.each do |locale|
    I18n.with_locale(locale) { generate_content(page) }
  end
end
