43 lines
1.3 KiB
Go
43 lines
1.3 KiB
Go
package locales
|
|
|
|
import (
|
|
"github.com/mayswind/ezbookkeeping/pkg/core"
|
|
)
|
|
|
|
// LocaleTextItems represents all text items need to be translated
|
|
type LocaleTextItems struct {
|
|
DefaultTypes *DefaultTypes
|
|
DataConverterTextItems *DataConverterTextItems
|
|
VerifyEmailTextItems *VerifyEmailTextItems
|
|
ForgetPasswordMailTextItems *ForgetPasswordMailTextItems
|
|
}
|
|
|
|
// DefaultTypes represents default types for the language
|
|
type DefaultTypes struct {
|
|
DecimalSeparator core.DecimalSeparator
|
|
DigitGroupingSymbol core.DigitGroupingSymbol
|
|
}
|
|
|
|
// DataConverterTextItems represents text items need to be translated in data converter
|
|
type DataConverterTextItems struct {
|
|
Alipay string
|
|
}
|
|
|
|
// VerifyEmailTextItems represents text items need to be translated in verify mail
|
|
type VerifyEmailTextItems struct {
|
|
Title string
|
|
SalutationFormat string
|
|
DescriptionAboveBtn string
|
|
VerifyEmail string
|
|
DescriptionBelowBtnFormat string
|
|
}
|
|
|
|
// ForgetPasswordMailTextItems represents text items need to be translated in forget password mail
|
|
type ForgetPasswordMailTextItems struct {
|
|
Title string
|
|
SalutationFormat string
|
|
DescriptionAboveBtn string
|
|
ResetPassword string
|
|
DescriptionBelowBtnFormat string
|
|
}
|