1
0
Fork 0

wizard_js locales are only loaded on the new /wizard route for non-staff

Dieser Commit ist enthalten in:
Angus McLeod 2022-07-30 11:23:12 +01:00
Ursprung 3fec341e97
Commit 556a32aa5c
4 geänderte Dateien mit 10 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -6,5 +6,5 @@
tabindex=field.tabindex tabindex=field.tabindex
onChange=(action (mut field.value)) onChange=(action (mut field.value))
options=(hash options=(hash
none="group.select" none="select_kit.default_header_text"
)}} )}}

Datei anzeigen

@ -1,6 +1,7 @@
body.custom-wizard .d-header, body.custom-wizard .d-header,
.global-notice, .global-notice,
.create-topics-notice, .create-topics-notice,
.top-notices-outlet { .top-notices-outlet,
.consent_banner {
display: none; display: none;
} }

Datei anzeigen

@ -18,6 +18,12 @@ en:
other: "%{count} Characters" other: "%{count} Characters"
quit: "Maybe Later" quit: "Maybe Later"
done_custom: "Done" done_custom: "Done"
back: "Back"
next: "Next"
step: "%{current} of %{total}"
upload: "Upload"
uploading: "Uploading..."
upload_error: "Sorry, there was an error uploading that file. Please try again."
wizard_composer: wizard_composer:
show_preview: "Preview Post" show_preview: "Preview Post"

Datei anzeigen

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
# name: discourse-custom-wizard # name: discourse-custom-wizard
# about: Create custom wizards # about: Create custom wizards
# version: 1.22.1 # version: 1.22.2
# authors: Angus McLeod # authors: Angus McLeod
# url: https://github.com/paviliondev/discourse-custom-wizard # url: https://github.com/paviliondev/discourse-custom-wizard
# contact emails: angus@pavilion.tech # contact emails: angus@pavilion.tech