constants

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArchiveExtensions = regexp.MustCompile(`\.(?:zip|cbz|rar|cbr|7z)$`)
View Source
var ImageExtensions = regexp.MustCompile(`\.(?:jpe?g|png|webp|avif|bmp|gif|tiff?|heif)$`)
View Source
var LTRLanguages = []string{
	"arabic",
	"hebrew",
	"japanese",
	"persian",
	"urdu",
}

LTRLanguages is a list of languages that are written from left to right. TODO: Add more.

View Source
var Languages = map[string]bool{
	"afrikaans":  true,
	"albanian":   true,
	"arabic":     true,
	"aramaic":    true,
	"armenian":   true,
	"bengali":    true,
	"bosnian":    true,
	"bulgarian":  true,
	"burmese":    true,
	"catalan":    true,
	"cebuano":    true,
	"chinese":    true,
	"cree":       true,
	"creole":     true,
	"croatian":   true,
	"czech":      true,
	"danish":     true,
	"dutch":      true,
	"english":    true,
	"esperanto":  true,
	"estonian":   true,
	"finnish":    true,
	"french":     true,
	"georgian":   true,
	"german":     true,
	"greek":      true,
	"gujarati":   true,
	"hebrew":     true,
	"hindi":      true,
	"hmong":      true,
	"hungarian":  true,
	"icelandic":  true,
	"indonesian": true,
	"irish":      true,
	"italian":    true,
	"japanese":   true,
	"javanese":   true,
	"kannada":    true,
	"kazakh":     true,
	"khmer":      true,
	"korean":     true,
	"kurdish":    true,
	"ladino":     true,
	"lao":        true,
	"latin":      true,
	"latvian":    true,
	"marathi":    true,
	"mongolian":  true,
	"ndebele":    true,
	"nepali":     true,
	"norwegian":  true,
	"oromo":      true,
	"papiamento": true,
	"pashto":     true,
	"persian":    true,
	"polish":     true,
	"portuguese": true,
	"punjabi":    true,
	"romanian":   true,
	"russian":    true,
	"sango":      true,
	"sanskrit":   true,
	"serbian":    true,
	"shona":      true,
	"slovak":     true,
	"slovenian":  true,
	"somali":     true,
	"spanish":    true,
	"swahili":    true,
	"swedish":    true,
	"tagalog":    true,
	"tamil":      true,
	"telugu":     true,
	"thai":       true,
	"tibetan":    true,
	"tigrinya":   true,
	"turkish":    true,
	"ukrainian":  true,
	"urdu":       true,
	"vietnamese": true,
	"welsh":      true,
	"yiddish":    true,
	"zulu":       true,
}

Languages is a map of languages that are supported by the application. TODO: Add more, and convert to international language codes.

View Source
var MetaExtensions = regexp.MustCompile(`\.(?:json|txt)$`)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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