Files
DevFlow/src/i18n/en/fileExplorer.ts
T
lxy ec9f0bf1ea 优化: 工程实体化(description/stack/status)+ 概览工程列表
- project_modules 加 description/status 列(V40 迁移,stack V34 已有)+ models/repo/INSERT/UPDATE/SELECT 映射

- FileExplorer 工程 CRUD 弹窗加 description(textarea)/stack(input)/status(select)输入,工程有完整身份

- ProjectDetail 概览工程列表升级:name+status badge+path + description 段(2行省略)+ stack tag

- 老工程兼容(None=active),update 部分更新语义,status 归一(active/archived)
2026-08-05 22:10:07 +08:00

52 lines
1.8 KiB
TypeScript

export default {
fileExplorer: {
// Tab label
tabTitle: '📁 Files',
// Toolbar
refresh: 'Refresh',
refreshing: 'Refreshing…',
// Detach window
detachTitle: 'File Explorer',
// File tree
loading: 'Loading…',
emptyDir: 'Empty directory',
// File preview
selectFileHint: '← Select a file on the left to preview',
loadingFile: 'Loading file…',
binaryNotSupported: 'Binary file preview not supported',
truncated: 'File too large, only first 1MB shown',
// Errors
loadFailed: 'Failed to load',
// Diff
showDiff: 'Show Diff',
showContent: 'Show Content',
// Toolbar (current module actions)
editCurrentModule: 'Edit current module',
deleteCurrentModule: 'Delete current module',
addModuleTitle: 'Add module',
detachToWindow: 'Detach to separate window',
// Module management
addModule: 'Add Module',
adding: 'Adding…',
moduleName: 'Module Name',
moduleNamePlaceholder: 'e.g. frontend, backend',
modulePath: 'Directory Path',
modulePathPlaceholder: 'e.g. D:/projects/my-app/frontend',
moduleGitUrl: 'Git URL',
moduleGitUrlPlaceholder: 'https://github.com/… (optional)',
// V40 module entity: description / stack / status
optSuffix: '(optional)',
moduleDescription: 'Description',
moduleDescriptionPlaceholder: 'e.g. Frontend web app / Backend API service / Infrastructure',
moduleStack: 'Tech Stack',
moduleStackPlaceholder: 'comma-separated, e.g. Vue, TypeScript, Vite',
moduleStatus: 'Status',
moduleStatusActive: 'Active',
moduleStatusArchived: 'Archived',
editModule: 'Edit Module',
removeModule: 'Remove Module',
removeConfirm: 'Are you sure to remove module "{name}"? This action cannot be undone.',
scanSubmodules: 'Scan sub-repositories',
},
}