55 lines
3.3 KiB
Go
55 lines
3.3 KiB
Go
package mujica
|
||
|
||
func init() {
|
||
addMessages(map[string][2]string{
|
||
"rating.label": {"Rating", "评分"},
|
||
"pin_input.label": {"Verification code", "验证码"},
|
||
"pin_input.filled": {"%d of %d digits entered", "已输入 %d / %d 位"},
|
||
"rating.value": {"%s of %d", "%s / %d 分"},
|
||
"tags_input.duplicate": {"“%s” is already added", "“%s”已添加"},
|
||
"tags_input.max": {"At most %d tags", "最多 %d 个标签"},
|
||
"tags_input.remove": {"Remove %s", "移除 %s"},
|
||
"color_picker.label": {"Color", "颜色"},
|
||
"color_picker.red": {"Red", "红"},
|
||
"color_picker.green": {"Green", "绿"},
|
||
"color_picker.blue": {"Blue", "蓝"},
|
||
"color_picker.percent": {"Opacity percent", "不透明度百分比"},
|
||
"color_picker.hue": {"Hue", "色相"},
|
||
"color_picker.alpha": {"Opacity", "不透明度"},
|
||
"color_picker.square": {"Saturation and brightness", "饱和度与亮度"},
|
||
"color_picker.sv": {"%.0f%% saturation, %.0f%% brightness", "饱和度 %.0f%%,亮度 %.0f%%"},
|
||
"color_picker.invalid": {"Use HEX RGB, RRGGBB or RRGGBBAA; channels 0–255; opacity 0–100.", "HEX 须为 RGB、RRGGBB 或 RRGGBBAA;通道 0–255;不透明度 0–100。"},
|
||
"file_picker.failed": {"Could not open the file dialog: %v", "无法打开文件对话框:%v"},
|
||
"file_picker.choose_file": {"Choose file…", "选择文件…"},
|
||
"file_picker.choose_folder": {"Choose folder…", "选择文件夹…"},
|
||
"file_picker.none": {"Nothing chosen", "未选择"},
|
||
"file_drop_zone.hint": {"Drop files here", "将文件拖到此处"},
|
||
"file_drop_zone.browse": {"Browse…", "浏览…"},
|
||
"file_drop_zone.any": {"Any file", "任意文件"},
|
||
"file_drop_zone.max_files": {"up to %d files", "最多 %d 个文件"},
|
||
"file_drop_zone.max_size": {"%s each", "每个不超过 %s"},
|
||
"file_drop_zone.type": {"Only %s files", "仅接受 %s 文件"},
|
||
"file_drop_zone.size": {"Larger than %s", "超过 %s"},
|
||
"file_drop_zone.count": {"More than %d files", "超过 %d 个文件"},
|
||
"file_drop_zone.folder": {"Folders are not accepted", "不接受文件夹"},
|
||
"file_drop_zone.unreadable": {"Cannot read: %v", "无法读取:%v"},
|
||
"file_drop_zone.checking": {"Checking…", "检查中…"},
|
||
"file_drop_zone.remove": {"Remove %s", "移除 %s"},
|
||
"file_drop_zone.dialog": {"File dialog", "文件对话框"},
|
||
"transfer.source": {"Available", "可选"},
|
||
"transfer.target": {"Chosen", "已选"},
|
||
"transfer.to": {"Move to %s", "移到%s"},
|
||
"transfer.all": {"Select all in %s", "全选%s"},
|
||
"transfer.search": {"Search", "搜索"},
|
||
"transfer.search_in": {"Search %s", "搜索%s"},
|
||
"transfer.partial": {"%d of %d selected", "已选 %d / %d 项"},
|
||
"transfer.empty": {"No items", "暂无条目"},
|
||
"transfer.no_match": {"No matches", "无匹配结果"},
|
||
"form.submit": {"Submit", "提交"},
|
||
"form.reset": {"Reset", "重置"},
|
||
"form.required": {"Required", "必填"},
|
||
"form.checking": {"Checking…", "校验中…"},
|
||
"form.failed": {"Some fields need attention", "部分字段需要修改"},
|
||
})
|
||
}
|