xlanguage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CN = LangSet{
	"username":  "用户名",
	"nickname":  "昵称",
	"role":      "角色",
	"createdat": "创建时间",
	"updatedat": "更新时间",
	"path":      "路径",
	"submit":    "提交",
	"filter":    "筛选",

	"new":             "新建",
	"export":          "导出",
	"action":          "操作",
	"toggle_dropdown": "下拉",
	"delete":          "删除",
	"refresh":         "刷新",
	"back":            "返回",
	"reset":           "重置",
	"save":            "保存",
	"edit":            "编辑",
	"expand":          "展开",
	"collapse":        "折叠",
	"online":          "在线",
	"setting":         "设置",
	"sign.out":        "退出",
	"sign.in":         "登录",
	"sign.up":         "注册",
	"login":           "登录",
	"register":        "注册",
	"home":            "首页",
	"all":             "全部",
	"more":            "更多",
	"browse":          "打开",
	"remove":          "移除",
}

Functions

This section is empty.

Types

type LangMap

type LangMap map[string]LangSet

type LangSet

type LangSet map[string]string

单个语言的key-vaule集合

func (LangSet) Add

func (l LangSet) Add(key, value string)

func (LangSet) Combine

func (l LangSet) Combine(set LangSet) LangSet

func (LangSet) Get

func (l LangSet) Get(key string) string

Jump to

Keyboard shortcuts

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