i18n

package
v0.0.0-...-e98d214 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var I18nTranslations map[string]*Translation = map[string]*Translation{}

Functions

This section is empty.

Types

type Translation

type Translation struct {
	ErrGeneric              error
	ErrInvalidId            error
	ErrInvalidDatas         error
	ErrManyRequest          error
	ErrorNonexistentRoute   error
	ErrUndefinedColumn      error
	ErrExpiredToken         error
	ErrDisabledUser         error
	ErrIncorrectPassword    error
	ErrPassUnmatch          error
	ErrUserHasPass          error
	ErrInvalidIpAssociation error

	ErrProfileUsed       error
	ErrProfileNotFound   error
	ErrProfileRegistered error

	ErrUserUsed       error
	ErrUserNotFound   error
	ErrUserRegistered error

	ErrSiteUsed       error
	ErrSiteNotFound   error
	ErrSiteRegistered error

	ErrPhoneUsed       error
	ErrPhoneNotFound   error
	ErrPhoneRegistered error

	ErrOperatorUsed       error
	ErrOperatorNotFound   error
	ErrOperatorRegistered error

	ErrAccountUsed       error
	ErrAccountNotFound   error
	ErrAccountRegistered error
}

func NewTranslation

func NewTranslation(localizer *i18n.Localizer) *Translation

Jump to

Keyboard shortcuts

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