i18n

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dictionaries = [...]Dictionary{
	{"en-us", &translationEnUs},
	{"en", &translationEnUs},
	{"zh-cn", &translationZhSimp},
	{"zh-tw", &translationZhTrad},
	{"zh-hk", &translationZhTrad},
	{"zh", &translationZhSimp},
}
View Source
var LanguageTags []string

Functions

This section is empty.

Types

type Dictionary

type Dictionary struct {
	Lang  string
	Trans *Translation
}

type Translation

type Translation struct {
	LoginLabel string
	MkdirLabel string

	UploadFilesLabel       string
	UploadFilesHint        string
	UploadDirLabel         string
	UploadDirHint          string
	UploadDirContentsLabel string
	UploadDirContentsHint  string
	UploadLabel            string
	UploadingLabel         string
	UploadSuccessLabel     string
	UploadFailLabel        string
	UploadDirFailMessage   string

	ListDirLabel  string
	ListNameLabel string
	ListTypeLabel string
	ListSizeLabel string
	ListTimeLabel string

	FilterLabel string

	SelectStart  string
	SelectCancel string
	SelectAll    string

	ArchiveLabel string

	DeleteLabel   string
	DeleteConfirm string

	Error401 string
	Error403 string
	Error404 string
	Error500 string
}

Jump to

Keyboard shortcuts

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