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 Backup

type Backup struct {
	BackupTitle          string
	RestoreTitle         string
	Name                 string
	Address              string
	Rack                 string
	Slot                 string
	MaxBackupCnt         string
	UUID                 string
	Comment              string
	BackupPLC            string
	BackupDB             string
	RestorePLC           string
	RestoreDB            string
	DBNo                 string
	DBByteLength         string
	SavedToDatabase      string
	RestoredFromDatabase string
}

type BackupList

type BackupList struct {
	Menu    string
	Title   string
	Name    string
	Backup  string
	Restore string
}

type Day

type Day struct {
	Monday    string
	Tuesday   string
	Wednesday string
	Thursday  string
	Friday    string
	Saturday  string
	Sunday    string
}

type LangFile

type LangFile struct {
	Header       config.FileHeader
	BackupList   BackupList
	Backup       Backup
	PLCList      PLCList
	PLCEdit      PLCEdit
	ScheduleList ScheduleList
	ScheduleEdit ScheduleEdit
	Alert        Alert
}

func DefaultEn

func DefaultEn() LangFile

type PLCEdit

type PLCEdit struct {
	Title        string
	Apply        string
	Delete       string
	Name         string
	Address      string
	Rack         string
	Slot         string
	MaxBackupCnt string
	UUID         string
	DBNo         string
	DBByteLength string
	AddDB        string
}

type PLCList

type PLCList struct {
	Menu   string
	Title  string
	Name   string
	Edit   string
	AddPLC string
}

type ScheduleEdit

type ScheduleEdit struct {
	Title     string
	Apply     string
	Delete    string
	Name      string
	PLC       string
	ActiveDay string
	Day
	DBNo string
}

type ScheduleList

type ScheduleList struct {
	Menu        string
	Title       string
	Name        string
	PLC         string
	Edit        string
	AddSchedule string
}

Jump to

Keyboard shortcuts

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