locale

package
v0.0.0-...-088f13f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Locale

type Locale struct {
	// contains filtered or unexported fields
}

func New

func New(lang string) *Locale

func (*Locale) CancelButton

func (l *Locale) CancelButton() string

func (*Locale) DefaultButton

func (l *Locale) DefaultButton() string

func (*Locale) ErrContextTooLongMessage

func (l *Locale) ErrContextTooLongMessage() string

func (*Locale) ErrDefaultMessage

func (l *Locale) ErrDefaultMessage() string

func (*Locale) ErrNotApproved

func (l *Locale) ErrNotApproved() string

func (*Locale) HelpBotCommand

func (l *Locale) HelpBotCommand() string

func (*Locale) HelpMessage

func (l *Locale) HelpMessage() string

func (*Locale) InitialSystemPrompt

func (l *Locale) InitialSystemPrompt() string

func (*Locale) InviteBotCommand

func (l *Locale) InviteBotCommand() string

func (*Locale) InviteMessage

func (l *Locale) InviteMessage(url, code string) string

func (*Locale) ResetBotCommand

func (l *Locale) ResetBotCommand() string

func (*Locale) ResetInlineButton

func (l *Locale) ResetInlineButton() string

func (*Locale) ResetMessage

func (l *Locale) ResetMessage() string

func (*Locale) SystemPromptCommand

func (l *Locale) SystemPromptCommand() string

func (*Locale) SystemPromptUnchanged

func (l *Locale) SystemPromptUnchanged() string

func (*Locale) SystemPromptUpdatedMessage

func (l *Locale) SystemPromptUpdatedMessage(newPrompt string) string

func (*Locale) TranscribeMessage

func (l *Locale) TranscribeMessage() string

func (*Locale) UnsupportedMessage

func (l *Locale) UnsupportedMessage() string

func (*Locale) UpdateSystemPromptMessage

func (l *Locale) UpdateSystemPromptMessage(currentPrompt string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL