mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Wizard: Step 1
This commit is contained in:
@@ -3225,5 +3225,9 @@ en:
|
||||
add: "Add"
|
||||
filter: "Search (URL or External URL)"
|
||||
|
||||
# WARNING! Keys added here will be in the admin_js section.
|
||||
# Keys that don't belong in admin should be placed earlier in the file.
|
||||
wizard_js:
|
||||
wizard:
|
||||
back: "Back"
|
||||
next: "Next"
|
||||
step: "Step %{current} of %{total}"
|
||||
|
||||
|
||||
@@ -3212,3 +3212,25 @@ en:
|
||||
staff_tag_disallowed: "The tag \"%{tag}\" may only be applied by staff."
|
||||
staff_tag_remove_disallowed: "The tag \"%{tag}\" may only be removed by staff."
|
||||
rss_by_tag: "Topics tagged %{tag}"
|
||||
|
||||
wizard:
|
||||
title: "Discourse Setup Wizard"
|
||||
step:
|
||||
forum_title:
|
||||
title: "Welcome to your Discourse forum!"
|
||||
description: "There are a few things you'll need to configure before inviting more people to the party. Don't worry, you can come back and change these settings at any time, so don't overthink it."
|
||||
|
||||
fields:
|
||||
title:
|
||||
label: "Enter a title for your forum"
|
||||
placeholder: "Jane's Hangout"
|
||||
site_description:
|
||||
label: "Describe your forum in one sentence"
|
||||
placeholder: "A place for Jane and her friends to discuss cool stuff"
|
||||
contact:
|
||||
title: "Don't be a Stranger"
|
||||
fields:
|
||||
contact_email:
|
||||
label: "Contact E-mail"
|
||||
placeholder: "name@example.com"
|
||||
|
||||
|
||||
@@ -53,10 +53,10 @@ Discourse::Application.routes.draw do
|
||||
resources :forums
|
||||
get "srv/status" => "forums#status"
|
||||
|
||||
namespace :wizard, constraints: StaffConstraint.new do
|
||||
get "" => "wizard#index"
|
||||
get "qunit" => "wizard#qunit"
|
||||
end
|
||||
get "wizard" => "wizard#index"
|
||||
get "wizard/qunit" => "wizard#qunit"
|
||||
get 'wizard/steps' => 'steps#index'
|
||||
put 'wizard/steps/:id' => "steps#update"
|
||||
|
||||
namespace :admin, constraints: StaffConstraint.new do
|
||||
get "" => "admin#index"
|
||||
|
||||
Reference in New Issue
Block a user