locale

package
v0.0.0-...-72ab0b9 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: MPL-2.0, MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Menu
	MenuLanguage      = "language"
	MenuChooseFile    = "chooseFile"
	MenuFile          = "file"
	MenuOpen          = "open"
	MenuOpenLast      = "openLast"
	MenuWelcomeScreen = "welcomeScreen"
	MenuHelp          = "help"
	MenuQuit          = "quit"

	// Help
	HelpHowTo                = "helpHowTo"
	HelpExportInResolve      = "helpDavinciExport"
	HelpUnavailableFile      = "helpUnavailableFile"
	HelpUnavailableFileTitle = "helpUnavailableFileTitle"

	// DaVinci Resolve Manual
	ResolveManualMediaStep  = "resolveManualMediaStep"
	ResolveManualExportStep = "resolveManualExportStep"
	ResolveManualSaveStep   = "resolveManualSaveStep"
	ResolveManualLastStep   = "resolveManualLastStep"

	// Viewer
	Title                  = "title"
	TimecodeFormat         = "timecodeFormat"
	IntroductionLabelTitle = "introductionLabelTitle"
	OffsetSeconds          = "offsetSeconds"
	Copy                   = "copy"
	Copied                 = "copied"

	ClipNumber = "clipNumber"
	Timecode   = "timecode"
	Color      = "color"
	Marker     = "marker"
)
View Source
const DefaultLocale = "en"

Variables

This section is empty.

Functions

func GetLocales

func GetLocales() map[string]string

func Localize

func Localize(key string, args ...interface{}) string

func SetLocale

func SetLocale(lang string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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