mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-07 06:52:28 +00:00
fix(web): 完善 Files 页面 i18n (#607)
* fix(web): 补全 Files 页面 i18n * fix(web): 修正 Files git 错误聚合翻译
This commit is contained in:
@@ -4,6 +4,7 @@ export default {
|
||||
'authorizing': 'Authorizing…',
|
||||
'loading.session': 'Loading session…',
|
||||
'loading.git': 'Loading Git status…',
|
||||
'loading.file': 'Loading file…',
|
||||
'loading.files': 'Loading files…',
|
||||
'loading.messages': 'Loading messages…',
|
||||
'loading.machines': 'Loading machines…',
|
||||
@@ -180,6 +181,46 @@ export default {
|
||||
'diff.title': 'Diff',
|
||||
'diff.view': 'View',
|
||||
|
||||
// Files page
|
||||
'files.page.title': 'Files',
|
||||
'files.page.refresh': 'Refresh',
|
||||
'files.page.searchPlaceholder': 'Search files',
|
||||
'files.projectRoot': 'project root',
|
||||
'files.branch.detached': 'detached HEAD',
|
||||
'files.branch.summary': '{staged} staged, {unstaged} unstaged',
|
||||
'files.tab.changes': 'Changes',
|
||||
'files.tab.directories': 'Directories',
|
||||
'files.search.empty': 'No files match your search.',
|
||||
'files.search.error.failed': 'Failed to search files.',
|
||||
'files.search.error.failedWithDetail': 'Failed to search files: {error}',
|
||||
'files.changes.section.staged': 'Staged Changes ({n})',
|
||||
'files.changes.section.unstaged': 'Unstaged Changes ({n})',
|
||||
'files.changes.empty.unavailable': 'Git status unavailable. Use Directories to browse all files, or search.',
|
||||
'files.changes.empty.none': 'No changes detected. Use Directories to browse all files, or search.',
|
||||
'files.changes.error.gitStatusUnavailable': 'Git status unavailable.',
|
||||
'files.changes.error.gitStatusUnavailableWithDetail': 'Git status unavailable: {error}',
|
||||
'files.changes.error.unstagedDiffUnavailableWithDetail': 'Unstaged diff unavailable: {error}',
|
||||
'files.changes.error.stagedDiffUnavailableWithDetail': 'Staged diff unavailable: {error}',
|
||||
'files.directories.empty': 'Empty directory.',
|
||||
'files.directories.error.listFailed': 'Failed to list directory.',
|
||||
'files.directories.error.listFailedWithDetail': 'Failed to list directory: {error}',
|
||||
|
||||
// File page
|
||||
'file.page.fallbackName': 'File',
|
||||
'file.page.unknownPath': 'Unknown path',
|
||||
'file.page.copyPath': 'Copy path',
|
||||
'file.page.copyContent': 'Copy file content',
|
||||
'file.page.tab.diff': 'Diff',
|
||||
'file.page.tab.file': 'File',
|
||||
'file.page.missingPath': 'No file path provided.',
|
||||
'file.page.binary': 'This looks like a binary file. It cannot be displayed.',
|
||||
'file.page.empty': 'File is empty.',
|
||||
'file.page.noChanges': 'No changes to display.',
|
||||
'file.error.readFailed': 'Failed to read file.',
|
||||
'file.error.readFailedWithDetail': 'Failed to read file: {error}',
|
||||
'file.error.diffUnavailable': 'Diff unavailable.',
|
||||
'file.error.diffUnavailableWithDetail': 'Diff unavailable: {error}',
|
||||
|
||||
// Tool card
|
||||
'tool.askQuestion': 'Other',
|
||||
'tool.edit': 'Edit',
|
||||
|
||||
Reference in New Issue
Block a user