snapshot of https://github.com/ory/kratos.git (master, 2026-09-15; blobs > 131072B omitted)
Some checks failed
CI / Run tests and lints (push) Failing after 29s
CI / Build CLI docs (push) Has been skipped
CI / Run Playwright end-to-end tests (mysql) (push) Failing after 3s
CI / Run Playwright end-to-end tests (postgres) (push) Failing after 2s
CI / Run Playwright end-to-end tests (sqlite) (push) Failing after 3s
CodeQL / Analyze (go) (push) Failing after 4s
CodeQL / Analyze (javascript) (push) Failing after 3s
Docker Image Scanners / scanners (push) Failing after 4s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Run end-to-end tests (postgres) (push) Failing after 19s
CI / Run end-to-end tests (sqlite) (push) Failing after 2s
CI / Run Playwright end-to-end tests (cockroach) (push) Failing after 2s
CI / Draft newsletter (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
Some checks failed
CI / Run tests and lints (push) Failing after 29s
CI / Build CLI docs (push) Has been skipped
CI / Run Playwright end-to-end tests (mysql) (push) Failing after 3s
CI / Run Playwright end-to-end tests (postgres) (push) Failing after 2s
CI / Run Playwright end-to-end tests (sqlite) (push) Failing after 3s
CodeQL / Analyze (go) (push) Failing after 4s
CodeQL / Analyze (javascript) (push) Failing after 3s
Docker Image Scanners / scanners (push) Failing after 4s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Run end-to-end tests (postgres) (push) Failing after 19s
CI / Run end-to-end tests (sqlite) (push) Failing after 2s
CI / Run Playwright end-to-end tests (cockroach) (push) Failing after 2s
CI / Draft newsletter (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
This commit is contained in:
136
text/message_node.go
Normal file
136
text/message_node.go
Normal file
@@ -0,0 +1,136 @@
|
||||
// Copyright © 2023 Ory Corp
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package text
|
||||
|
||||
func NewInfoNodeLabelVerifyOTP() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelVerifyOTP,
|
||||
Text: "Verify code",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelVerificationCode() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelVerificationCode,
|
||||
Text: "Verification code",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelRecoveryCode() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelRecoveryCode,
|
||||
Text: "Recovery code",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelRegistrationCode() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelRegistrationCode,
|
||||
Text: "Registration code",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelLoginCode() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelLoginCode,
|
||||
Text: "Login code",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeInputPassword() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelInputPassword,
|
||||
Text: "Password",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelGenerated(title string, name string) *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelGenerated,
|
||||
Text: title,
|
||||
Type: Info,
|
||||
Context: context(map[string]any{
|
||||
"title": title,
|
||||
"name": name,
|
||||
}),
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelSave() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelSave,
|
||||
Text: "Save",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelSubmit() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelSubmit,
|
||||
Text: "Submit",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelContinue() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelContinue,
|
||||
Text: "Continue",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLabelID() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelID,
|
||||
Text: "ID",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeInputEmail() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelEmail,
|
||||
Text: "Email",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeInputPhoneNumber() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelPhoneNumber,
|
||||
Text: "Phone number",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeInputEmailOrPhone() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelEmailOrPhone,
|
||||
Text: "Email or phone number",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeResendOTP() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelResendOTP,
|
||||
Text: "Resend code",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
|
||||
func NewInfoNodeLoginAndLinkCredential() *Message {
|
||||
return &Message{
|
||||
ID: InfoNodeLabelLoginAndLinkCredential,
|
||||
Text: "Login and link credential",
|
||||
Type: Info,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user