mirror of https://github.com/hrfee/jfa-go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
604 B
23 lines
604 B
4 years ago
|
package main
|
||
|
|
||
|
type langMeta struct {
|
||
|
Name string `json:"name"`
|
||
|
}
|
||
|
|
||
|
type quantityString struct {
|
||
|
Singular string `json:"singular"`
|
||
|
Plural string `json:"plural"`
|
||
|
}
|
||
|
|
||
|
type adminLang struct {
|
||
|
Meta langMeta `json:"meta"`
|
||
|
Strings map[string]string `json:"strings"`
|
||
|
Notifications map[string]string `json:"notifications"`
|
||
|
QuantityStrings map[string]quantityString `json:"quantityStrings"`
|
||
|
}
|
||
|
|
||
|
type formLang struct {
|
||
|
Strings map[string]string `json:"strings"`
|
||
|
ValidationStrings map[string]quantityString `json:"validationStrings"`
|
||
|
}
|