lang

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	Success string
	Info    string
	Warning string
	Error   string
}

type LangFile

type LangFile struct {
	Header           config.FileHeader
	Settings         Settings
	Alert            Alert
	SimpleSwitchV1x0 SimpleSwitchV1x0
	TempHumV1x0      TempHumV1x0
}

func DefaultEn

func DefaultEn() LangFile

type Settings

type Settings struct {
	Title  string
	App    SettingsApp
	Device SettingsDevice
}

type SettingsApp

type SettingsApp struct {
	Title string
	List  SettingsAppList
	Edit  SettingsAppEdit
}

type SettingsAppEdit

type SettingsAppEdit struct {
	Title     string
	Name      string
	App       string
	State     string
	States    SettingsAppState
	Comment   string
	Apply     string
	Delete    string
	InfoGroup string
}

type SettingsAppList

type SettingsAppList struct {
	Title   string
	AddApp  string
	Name    string
	App     string
	Options string
	Edit    string
}

type SettingsAppState

type SettingsAppState struct {
	Active   string
	Inactive string
}

type SettingsDevice

type SettingsDevice struct {
	Title string
	List  SettingsDeviceList
	Edit  SettingsDeviceEdit
}

type SettingsDeviceEdit

type SettingsDeviceEdit struct {
	Title   string
	Name    string
	App     string
	State   string
	States  SettingsDeviceState
	Comment string
	Apply   string
	Delete  string
}

type SettingsDeviceList

type SettingsDeviceList struct {
	Title     string
	AddDevice string
	Name      string
	App       string
	Options   string
	Edit      string
}

type SettingsDeviceState

type SettingsDeviceState struct {
	Active   string
	Inactive string
}

type SimpleSwitchV1x0

type SimpleSwitchV1x0 struct {
	On             string
	Off            string
	DeviceSettings string
}

type TempHumV1x0

type TempHumV1x0 struct {
	DeviceSettings string
}

Jump to

Keyboard shortcuts

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