-
Notifications
You must be signed in to change notification settings - Fork 0
/
lang.go
49 lines (38 loc) · 838 Bytes
/
lang.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package lang
import (
"github.com/dekoch/gouniversal/shared/config"
)
type Home struct {
Menu string
Title string
PathFile string
Size string
DownloadArchive string
NoItemSelected string
}
type Alert struct {
Success string
Info string
Warning string
Error string
}
type LangFile struct {
Header config.FileHeader
Home Home
Alert Alert
}
func DefaultEn() LangFile {
var l LangFile
l.Header = config.BuildHeader("en", "LangBackup", 1.0, "Language File")
l.Home.Menu = "Program"
l.Home.Title = "Backup"
l.Home.PathFile = "Path/File"
l.Home.Size = "Size"
l.Home.DownloadArchive = "download archive"
l.Home.NoItemSelected = "no item selected"
l.Alert.Success = "Success"
l.Alert.Info = "Info"
l.Alert.Warning = "Warning"
l.Alert.Error = "Error"
return l
}