65 lines
4.2 KiB
Go
65 lines
4.2 KiB
Go
package mujica
|
||
|
||
func init() {
|
||
addMessages(map[string][2]string{
|
||
"prompt_composer.label": {"Message", "消息"},
|
||
"slash_command_menu.label": {"Commands", "命令"},
|
||
"slash_command_menu.empty": {"No matching commands", "没有匹配的命令"},
|
||
"context_mention_menu.label": {"Add context", "添加上下文"},
|
||
"context_mention_menu.empty": {"No matches", "无匹配"},
|
||
"context_mention_menu.loading": {"Searching…", "搜索中…"},
|
||
"context_mention_menu.file": {"Files", "文件"},
|
||
"context_mention_menu.doc": {"Documents", "文档"},
|
||
"context_mention_menu.web": {"Web pages", "网页"},
|
||
"attachment_chip.remove": {"Remove %s", "移除 %s"},
|
||
"attachment_chip.retry": {"Retry upload of %s", "重试上传 %s"},
|
||
"attachment_chip.uploading": {"Uploading %d%%", "上传中 %d%%"},
|
||
"attachment_chip.failed": {"Upload failed", "上传失败"},
|
||
"paste_image_preview.remove": {"Remove image %s", "移除图片 %s"},
|
||
"paste_image_preview.label": {"Pasted images", "粘贴的图片"},
|
||
"drag_drop_overlay.hint": {"Drop files to attach", "松开以添加文件"},
|
||
"drag_drop_overlay.rejected": {"Not accepted: %s", "不支持:%s"},
|
||
"voice_input_button.start": {"Start voice input", "开始语音输入"},
|
||
"voice_input_button.stop": {"Stop recording, %s", "停止录音,%s"},
|
||
"voice_input_button.denied": {"Microphone access denied", "麦克风权限被拒绝"},
|
||
"voice_waveform.label": {"Input level", "输入电平"},
|
||
"voice_waveform.silent": {"No sound detected", "未检测到声音"},
|
||
"context_chips.label": {"Attached context", "已附加的上下文"},
|
||
"context_chips.remove": {"Remove %s", "移除 %s"},
|
||
"context_chips.more": {"+%d more", "另有 %d 项"},
|
||
"context_chips.less": {"Show less", "收起"},
|
||
"model_selector.label": {"Model", "模型"},
|
||
"model_selector.context": {"%s context", "%s 上下文"},
|
||
"model_selector.placeholder": {"Choose a model", "选择模型"},
|
||
"mode_selector.label": {"Mode", "模式"},
|
||
"mode_selector.chat": {"Chat", "对话"},
|
||
"mode_selector.search": {"Search", "搜索"},
|
||
"mode_selector.research": {"Deep research", "深度研究"},
|
||
"mode_selector.agent": {"Agent", "智能体"},
|
||
"tool_toggle_menu.label": {"Tools", "工具"},
|
||
"tool_toggle_menu.count": {"Tools, %d on", "工具,已开 %d 个"},
|
||
"tool_toggle_menu.needs_auth": {"Needs authorization", "需要授权"},
|
||
"tool_toggle_menu.authorize_short": {"Authorize", "授权"},
|
||
"tool_toggle_menu.authorize": {"Authorize %s", "授权 %s"},
|
||
"parameter_panel.label": {"Parameters", "参数"},
|
||
"parameter_panel.reset": {"Reset %s", "重置 %s"},
|
||
"parameter_panel.reset_all": {"Reset all", "全部重置"},
|
||
"parameter_panel.default": {"Default %s", "默认 %s"},
|
||
"token_counter.label": {"About %s of %s tokens", "约 %s / %s 个 token"},
|
||
"token_counter.over": {"%s over the limit", "超出 %s"},
|
||
"context_window_meter.label": {"Context window", "上下文窗口"},
|
||
"context_window_meter.used": {"%s of %s tokens (%d%%)", "%s / %s token(%d%%)"},
|
||
"context_window_meter.warn": {"Context is %d%% full", "上下文已用 %d%%"},
|
||
"context_window_meter.free": {"Free", "剩余"},
|
||
"send_button.send": {"Send", "发送"},
|
||
"send_button.stop": {"Stop generating", "停止生成"},
|
||
"citation_badge.label": {"Source %d: %s", "来源 %d:%s"},
|
||
"source_card.open": {"Open %s", "打开 %s"},
|
||
"sources_panel.label": {"Sources", "来源"},
|
||
"sources_panel.empty": {"No sources", "没有来源"},
|
||
"search_progress.searching": {"Searching for “%s”", "正在搜索“%s”"},
|
||
"search_progress.read": {"Read %d of %d sources", "已读 %d / %d 个来源"},
|
||
"search_progress.done": {"Searched “%s”, read %d sources", "已搜索“%s”,读了 %d 个来源"},
|
||
})
|
||
}
|