(function(){
    if(!window.StudioI18n) return;
    window.StudioI18n.register({
        "common.apiSettings": { zh: "API 设置", en: "API Settings" },
        "common.comfyuiSettings": { zh: "工作流设置", en: "Workflow Settings" },
        "common.darkMode": { zh: "黑夜模式", en: "Dark Mode" },
        "common.language": { zh: "中文", en: "English" },
        "common.cancel": { zh: "取消", en: "Cancel" },
        "common.confirm": { zh: "确定", en: "Confirm" },
        "common.save": { zh: "保存", en: "Save" },
        "common.delete": { zh: "删除", en: "Delete" },
        "common.edit": { zh: "编辑", en: "Edit" },
        "common.run": { zh: "运行", en: "Run" },
        "common.running": { zh: "运行中", en: "Running" },
        "common.custom": { zh: "自定义", en: "Custom" },
        "common.close": { zh: "关闭", en: "Close" },
        "common.loading": { zh: "加载中...", en: "Loading..." },
        "common.project": { zh: "项目主页", en: "Project" },
        "common.moreSettings": { zh: "更多设置", en: "More Settings" },
        "update.available": { zh: "发现更新", en: "Update Available" },
        "update.openProject": { zh: "打开项目", en: "Open Project" },
        "update.oneClick": { zh: "一键更新", en: "Update" },
        "update.versionLine": { zh: "本地 {local} · 最新 {remote}", en: "Local {local} · Latest {remote}" },
        "nav.textToImage": { zh: "文生图", en: "Text to Image" },
        "nav.home": { zh: "首页", en: "Home" },
        "nav.localTools": { zh: "本地功能", en: "Local Tools" },
        "nav.enhance": { zh: "细节增强", en: "Enhance" },
        "nav.imageEdit": { zh: "图片编辑", en: "Image Edit" },
        "nav.angle": { zh: "角度控制", en: "Angle Control" },
        "nav.online": { zh: "图片生成", en: "Image Generation" },
        "nav.video": { zh: "视频生成", en: "Video Generation" },
        "nav.gpt": { zh: "对话", en: "Chat" },
        "nav.prompt": { zh: "提示词", en: "Prompt" },
        "nav.canvas": { zh: "无限画布", en: "Infinite Canvas" },
        "nav.assetManager": { zh: "素材库", en: "Assets" },
        "nav.profile": { zh: "个人信息", en: "Profile" },
        "nav.team": { zh: "我的团队", en: "My Team" },
        "nav.admin": { zh: "管理后台", en: "Admin Console" },
        "bulk.manage": { zh: "管理", en: "Manage" },
        "bulk.selectAll": { zh: "全选", en: "Select All" },
        "bulk.deselectAll": { zh: "取消全选", en: "Deselect All" },
        "bulk.deleteSelected": { zh: "删除所选", en: "Delete" },
        "bulk.exit": { zh: "完成", en: "Done" },
        "bulk.selectedCount": { zh: "已选 {n} 张", en: "{n} selected" },
        "bulk.deleteConfirm": { zh: "确认删除选中的 {n} 张图片？此操作不可恢复。", en: "Delete the selected {n} image(s)? This cannot be undone." },
        "bulk.deleting": { zh: "删除中…", en: "Deleting…" },
        "bulk.noSelection": { zh: "请先选择要删除的图片", en: "Select images to delete first" }
    });
})();
