Documentation ¶
Overview ¶
Package localization contains localization helpers for terminal and dialog authenticator.
Index ¶
Constants ¶
View Source
const ( // PhoneDialogTitle is key for localized message. PhoneDialogTitle = "phone_dialog_title" // PhoneDialogPrompt is key for localized message. PhoneDialogPrompt = "phone_dialog_prompt" // PasswordDialogTitle is key for localized message. PasswordDialogTitle = "password_dialog_title" // PasswordDialogPrompt is key for localized message. PasswordDialogPrompt = "password_dialog_prompt" // TOSDialogTitle is key for localized message. TOSDialogTitle = "tos_dialog_title" // TOSDialogPrompt is key for localized message. TOSDialogPrompt = "tos_dialog_prompt" // FirstNameDialogTitle is key for localized message. FirstNameDialogTitle = "first_name_dialog_title" // FirstNameDialogPrompt is key for localized message. FirstNameDialogPrompt = "first_name_dialog_prompt" // SecondNameDialogTitle is key for localized message. SecondNameDialogTitle = "second_name_dialog_title" // SecondNameDialogPrompt is key for localized message. SecondNameDialogPrompt = "second_name_dialog_prompt" // CodeDialogTitle is key for localized message. CodeDialogTitle = "code_dialog_title" // CodeDialogPrompt is key for localized message. CodeDialogPrompt = "code_dialog_prompt" // CodeInvalidLength is key for localized message. CodeInvalidLength = "code_invalid_length" // CodeDoesNotMatchPattern is key for localized message. CodeDoesNotMatchPattern = "code_does_not_match_pattern" )
Variables ¶
This section is empty.
Functions ¶
func DefaultPrinter ¶
DefaultPrinter returns default localization printer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.