This commit is contained in:
LZX committed 2026-09-18 13:44:44 +08:00
1 parent 85fe316cf1
commit 96358eae07
29 files changed
+11610 -503

No files matched your search

+172 -1
View File
@@ -1156,5 +1156,176 @@
"type": "int"
}
}
}
},
"gitStageChange": "Stage Changes",
"gitUnstageChange": "Unstage Changes",
"gitStageAll": "Stage All Changes",
"gitUnstageAll": "Unstage All Changes",
"gitStageSuccess": "Staged",
"gitUnstageSuccess": "Unstaged",
"gitCommit": "Commit",
"gitCommitMessageHint": "Message",
"gitCommitSuccess": "Commit successful",
"gitCommitFailed": "Commit failed: {error}",
"@gitCommitFailed": {
"placeholders": {
"error": {
"type": "String"
}
}
},
"gitDiscardChange": "Discard Changes",
"gitDiscardConfirm": "Discard Changes?",
"gitDiscardConfirmDesc": "Are you sure you want to discard all unstaged changes in \"{fileName}\"? This cannot be undone.",
"@gitDiscardConfirmDesc": {
"placeholders": {
"fileName": {
"type": "String"
}
}
},
"gitNoCommitMessage": "Please enter a commit message",
"gitNoStagedChangesToCommit": "There are no staged changes. Would you like to stage all changes and commit?",
"gitStageAllAndCommit": "Stage All and Commit",
"gitGraphTitle": "Graph",
"gitNoCommits": "No commit history",
"gitCommitDetails": "Commit Details",
"gitCommitAuthor": "Author",
"gitCommitDate": "Date",
"gitCommitHash": "Commit Hash",
"gitCopyHash": "Copy Hash",
"gitHashCopied": "Commit hash copied to clipboard",
"gitCommitParent": "Parent",
"gitDiscardAll": "Discard All Changes",
"gitDiscardAllChangesTitle": "Discard All Changes?",
"gitDiscardAllChangesConfirm": "Are you sure you want to discard all unstaged changes? Modified files will be restored and untracked files will be cleaned. This cannot be undone.",
"gitDiscardAllStagedTitle": "Discard All Staged Changes?",
"gitDiscardAllStagedConfirm": "Are you sure you want to discard all staged changes? This cannot be undone.",
"gitBranches": "Branches",
"gitCreateBranch": "Create Branch",
"gitBranchNameHint": "Enter branch name",
"gitSwitchBranchSuccess": "Switched to branch {branch}",
"@gitSwitchBranchSuccess": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitCreateBranchSuccess": "Created and switched to branch {branch}",
"@gitCreateBranchSuccess": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitDeleteBranch": "Delete Branch",
"gitDeleteBranchConfirm": "Are you sure you want to delete branch {branch}?",
"@gitDeleteBranchConfirm": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitDeleteBranchSuccess": "Deleted branch {branch}",
"@gitDeleteBranchSuccess": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitCannotDeleteCurrentBranch": "Cannot delete the current branch",
"gitUndoLastCommit": "Undo Last Commit",
"gitUndoLastCommitConfirm": "Are you sure you want to undo the last commit? Changes will be kept in the staging area.",
"gitUndoLastCommitSuccess": "Undid last commit",
"gitStash": "Stash",
"gitStashChanges": "Stash Changes",
"gitStashChangesSuccess": "Stashed current changes",
"gitStashPop": "Pop Latest Stash",
"gitStashPopSuccess": "Restored latest stash",
"gitNoStashFound": "No stashes found",
"gitAddToGitignore": "Add to .gitignore",
"gitAddedToGitignore": "Added to .gitignore",
"gitMoreActions": "More Actions",
"gitOpenFile": "Open File",
"gitTags": "Tags",
"gitCreateTag": "Create Tag",
"gitTagNameHint": "Enter tag name (e.g. v1.0.0)",
"gitTagMessageHint": "Tag message (optional)",
"gitDeleteTag": "Delete Tag",
"gitDeleteTagConfirm": "Are you sure you want to delete tag {tag}?",
"@gitDeleteTagConfirm": {
"placeholders": {
"tag": {
"type": "String"
}
}
},
"gitCreateTagSuccess": "Created tag {tag}",
"@gitCreateTagSuccess": {
"placeholders": {
"tag": {
"type": "String"
}
}
},
"gitDeleteTagSuccess": "Deleted tag {tag}",
"@gitDeleteTagSuccess": {
"placeholders": {
"tag": {
"type": "String"
}
}
},
"gitSwitchTagSuccess": "Checked out to tag {tag}",
"@gitSwitchTagSuccess": {
"placeholders": {
"tag": {
"type": "String"
}
}
},
"gitNoTags": "No tags",
"gitSelectBranchToDelete": "Select branch to delete",
"gitSelectTagToDelete": "Select tag to delete",
"gitSearchBranches": "Search branches...",
"gitSearchTags": "Search tags...",
"gitNoBranches": "No branches",
"gitDiff": "Diff",
"gitDiffOriginal": "Original",
"gitDiffModified": "Modified",
"gitDiffSplitView": "Split View",
"gitDiffUnifiedView": "Unified View",
"gitDiffPrevChange": "Previous Change",
"gitDiffNextChange": "Next Change",
"gitDiffBinaryOrEmpty": "Binary or unsupported file for comparison",
"gitDiffNoChanges": "This file is identical to the base version, no differences found",
"gitDiffStageTooltip": "Stage this file",
"gitDiffUnstageTooltip": "Unstage this file",
"gitDiffDiscardTooltip": "Discard changes in this file",
"gitExpandAll": "Expand All",
"gitLoadMoreCommits": "Load more commits ({count})",
"@gitLoadMoreCommits": {
"placeholders": {
"count": { "type": "int" }
}
},
"gitLoadedCommitsCount": "Showing {loaded} of {total} commits",
"@gitLoadedCommitsCount": {
"placeholders": {
"loaded": { "type": "int" },
"total": { "type": "int" }
}
},
"gitAllCommitsLoaded": "All {count} commits loaded",
"@gitAllCommitsLoaded": {
"placeholders": {
"count": { "type": "int" }
}
},
"gitLoadingMoreCommits": "Loading more commits...",
"searchExpandAllMatchesInFile": "Expand all matches"
}
+672
View File
@@ -3201,6 +3201,678 @@ abstract class AppLocalizations {
int matchCount,
String replaceText,
);
/// No description provided for @gitNotInstalled.
///
/// In zh, this message translates to:
/// **'未检测到 Git'**
String get gitNotInstalled;
/// No description provided for @gitNotInstalledDesc.
///
/// In zh, this message translates to:
/// **'系统中未检测到 Git 命令行工具。请在系统终端或 Linux 容器中安装 git(如执行 apt update && apt install -y git)。'**
String get gitNotInstalledDesc;
/// No description provided for @gitNeedInstall.
///
/// In zh, this message translates to:
/// **'需要安装 Git'**
String get gitNeedInstall;
/// No description provided for @gitInstallAction.
///
/// In zh, this message translates to:
/// **'安装 Git'**
String get gitInstallAction;
/// No description provided for @gitInstallingProgress.
///
/// In zh, this message translates to:
/// **'正在安装 Git...'**
String get gitInstallingProgress;
/// No description provided for @gitInstallSuccess.
///
/// In zh, this message translates to:
/// **'Git 安装成功'**
String get gitInstallSuccess;
/// No description provided for @gitInstallFailed.
///
/// In zh, this message translates to:
/// **'Git 安装失败: {error}'**
String gitInstallFailed(String error);
/// No description provided for @gitNoRepoFound.
///
/// In zh, this message translates to:
/// **'当前工程尚未初始化为 Git 仓库'**
String get gitNoRepoFound;
/// No description provided for @gitNoRepoDesc.
///
/// In zh, this message translates to:
/// **'初始化本地 Git 仓库后,即可使用版本控制、分支管理及变更追踪功能。'**
String get gitNoRepoDesc;
/// No description provided for @gitInitRepo.
///
/// In zh, this message translates to:
/// **'初始化 Git 仓库'**
String get gitInitRepo;
/// No description provided for @gitInitializing.
///
/// In zh, this message translates to:
/// **'正在初始化 Git 仓库...'**
String get gitInitializing;
/// No description provided for @gitInitSuccess.
///
/// In zh, this message translates to:
/// **'Git 仓库初始化成功'**
String get gitInitSuccess;
/// No description provided for @gitInitFailed.
///
/// In zh, this message translates to:
/// **'Git 仓库初始化失败: {error}'**
String gitInitFailed(String error);
/// No description provided for @gitRepository.
///
/// In zh, this message translates to:
/// **'仓库'**
String get gitRepository;
/// No description provided for @gitCurrentBranch.
///
/// In zh, this message translates to:
/// **'当前分支: {branch}'**
String gitCurrentBranch(String branch);
/// No description provided for @gitSwitchRepo.
///
/// In zh, this message translates to:
/// **'切换仓库'**
String get gitSwitchRepo;
/// No description provided for @gitRefresh.
///
/// In zh, this message translates to:
/// **'刷新 Git 状态'**
String get gitRefresh;
/// No description provided for @gitChanges.
///
/// In zh, this message translates to:
/// **'更改'**
String get gitChanges;
/// No description provided for @gitStagedChanges.
///
/// In zh, this message translates to:
/// **'暂存的更改'**
String get gitStagedChanges;
/// No description provided for @gitNoChanges.
///
/// In zh, this message translates to:
/// **'暂无任何文件更改'**
String get gitNoChanges;
/// No description provided for @gitStatusUntracked.
///
/// In zh, this message translates to:
/// **'未跟踪'**
String get gitStatusUntracked;
/// No description provided for @gitStatusModified.
///
/// In zh, this message translates to:
/// **'已修改'**
String get gitStatusModified;
/// No description provided for @gitStatusAdded.
///
/// In zh, this message translates to:
/// **'新增'**
String get gitStatusAdded;
/// No description provided for @gitStatusDeleted.
///
/// In zh, this message translates to:
/// **'已删除'**
String get gitStatusDeleted;
/// No description provided for @gitStatusRenamed.
///
/// In zh, this message translates to:
/// **'重命名'**
String get gitStatusRenamed;
/// No description provided for @gitStatusConflict.
///
/// In zh, this message translates to:
/// **'冲突'**
String get gitStatusConflict;
/// No description provided for @gitMultipleReposDetected.
///
/// In zh, this message translates to:
/// **'检测到多个 Git 仓库 ({count})'**
String gitMultipleReposDetected(int count);
/// No description provided for @gitStageChange.
///
/// In zh, this message translates to:
/// **'暂存更改'**
String get gitStageChange;
/// No description provided for @gitUnstageChange.
///
/// In zh, this message translates to:
/// **'取消暂存更改'**
String get gitUnstageChange;
/// No description provided for @gitStageAll.
///
/// In zh, this message translates to:
/// **'全部暂存更改'**
String get gitStageAll;
/// No description provided for @gitUnstageAll.
///
/// In zh, this message translates to:
/// **'全部取消暂存更改'**
String get gitUnstageAll;
/// No description provided for @gitStageSuccess.
///
/// In zh, this message translates to:
/// **'已暂存'**
String get gitStageSuccess;
/// No description provided for @gitUnstageSuccess.
///
/// In zh, this message translates to:
/// **'已取消暂存'**
String get gitUnstageSuccess;
/// No description provided for @gitCommit.
///
/// In zh, this message translates to:
/// **'提交'**
String get gitCommit;
/// No description provided for @gitCommitMessageHint.
///
/// In zh, this message translates to:
/// **'提交信息'**
String get gitCommitMessageHint;
/// No description provided for @gitCommitSuccess.
///
/// In zh, this message translates to:
/// **'提交成功'**
String get gitCommitSuccess;
/// No description provided for @gitCommitFailed.
///
/// In zh, this message translates to:
/// **'提交失败: {error}'**
String gitCommitFailed(String error);
/// No description provided for @gitDiscardChange.
///
/// In zh, this message translates to:
/// **'放弃更改'**
String get gitDiscardChange;
/// No description provided for @gitDiscardConfirm.
///
/// In zh, this message translates to:
/// **'放弃更改?'**
String get gitDiscardConfirm;
/// No description provided for @gitDiscardConfirmDesc.
///
/// In zh, this message translates to:
/// **'确定要放弃对 \"{fileName}\" 的所有未暂存更改吗?此操作无法撤销。'**
String gitDiscardConfirmDesc(String fileName);
/// No description provided for @gitNoCommitMessage.
///
/// In zh, this message translates to:
/// **'请输入提交信息'**
String get gitNoCommitMessage;
/// No description provided for @gitNoStagedChangesToCommit.
///
/// In zh, this message translates to:
/// **'暂存区没有已暂存的更改,是否全部暂存并直接提交?'**
String get gitNoStagedChangesToCommit;
/// No description provided for @gitStageAllAndCommit.
///
/// In zh, this message translates to:
/// **'全部暂存并提交'**
String get gitStageAllAndCommit;
/// No description provided for @gitGraphTitle.
///
/// In zh, this message translates to:
/// **'图表'**
String get gitGraphTitle;
/// No description provided for @gitNoCommits.
///
/// In zh, this message translates to:
/// **'暂无提交历史'**
String get gitNoCommits;
/// No description provided for @gitCommitDetails.
///
/// In zh, this message translates to:
/// **'提交详情'**
String get gitCommitDetails;
/// No description provided for @gitCommitAuthor.
///
/// In zh, this message translates to:
/// **'作者'**
String get gitCommitAuthor;
/// No description provided for @gitCommitDate.
///
/// In zh, this message translates to:
/// **'提交日期'**
String get gitCommitDate;
/// No description provided for @gitCommitHash.
///
/// In zh, this message translates to:
/// **'提交哈希'**
String get gitCommitHash;
/// No description provided for @gitCopyHash.
///
/// In zh, this message translates to:
/// **'复制哈希'**
String get gitCopyHash;
/// No description provided for @gitHashCopied.
///
/// In zh, this message translates to:
/// **'已复制提交哈希到剪贴板'**
String get gitHashCopied;
/// No description provided for @gitCommitParent.
///
/// In zh, this message translates to:
/// **'父提交'**
String get gitCommitParent;
/// No description provided for @gitDiscardAll.
///
/// In zh, this message translates to:
/// **'全部放弃更改'**
String get gitDiscardAll;
/// No description provided for @gitDiscardAllChangesTitle.
///
/// In zh, this message translates to:
/// **'放弃所有未暂存更改?'**
String get gitDiscardAllChangesTitle;
/// No description provided for @gitDiscardAllChangesConfirm.
///
/// In zh, this message translates to:
/// **'确定要放弃所有未暂存更改吗?所有已修改的文件将恢复,未跟踪的新文件将被清除,此操作无法撤销。'**
String get gitDiscardAllChangesConfirm;
/// No description provided for @gitDiscardAllStagedTitle.
///
/// In zh, this message translates to:
/// **'放弃所有已暂存更改?'**
String get gitDiscardAllStagedTitle;
/// No description provided for @gitDiscardAllStagedConfirm.
///
/// In zh, this message translates to:
/// **'确定要放弃所有已暂存的更改吗?所选文件的修改将被彻底恢复,此操作无法撤销。'**
String get gitDiscardAllStagedConfirm;
/// No description provided for @gitBranches.
///
/// In zh, this message translates to:
/// **'分支'**
String get gitBranches;
/// No description provided for @gitCreateBranch.
///
/// In zh, this message translates to:
/// **'创建新分支'**
String get gitCreateBranch;
/// No description provided for @gitBranchNameHint.
///
/// In zh, this message translates to:
/// **'输入新分支名称'**
String get gitBranchNameHint;
/// No description provided for @gitSwitchBranchSuccess.
///
/// In zh, this message translates to:
/// **'已切换至分支 {branch}'**
String gitSwitchBranchSuccess(String branch);
/// No description provided for @gitCreateBranchSuccess.
///
/// In zh, this message translates to:
/// **'已创建并切换至新分支 {branch}'**
String gitCreateBranchSuccess(String branch);
/// No description provided for @gitDeleteBranch.
///
/// In zh, this message translates to:
/// **'删除分支'**
String get gitDeleteBranch;
/// No description provided for @gitDeleteBranchConfirm.
///
/// In zh, this message translates to:
/// **'确定要删除本地分支 {branch} 吗?'**
String gitDeleteBranchConfirm(String branch);
/// No description provided for @gitDeleteBranchSuccess.
///
/// In zh, this message translates to:
/// **'已删除分支 {branch}'**
String gitDeleteBranchSuccess(String branch);
/// No description provided for @gitCannotDeleteCurrentBranch.
///
/// In zh, this message translates to:
/// **'无法删除当前所在分支'**
String get gitCannotDeleteCurrentBranch;
/// No description provided for @gitUndoLastCommit.
///
/// In zh, this message translates to:
/// **'撤销上次提交'**
String get gitUndoLastCommit;
/// No description provided for @gitUndoLastCommitConfirm.
///
/// In zh, this message translates to:
/// **'确定要撤销上一次提交吗?代码更改将保留在暂存区。'**
String get gitUndoLastCommitConfirm;
/// No description provided for @gitUndoLastCommitSuccess.
///
/// In zh, this message translates to:
/// **'已撤销上一次提交'**
String get gitUndoLastCommitSuccess;
/// No description provided for @gitStash.
///
/// In zh, this message translates to:
/// **'贮藏'**
String get gitStash;
/// No description provided for @gitStashChanges.
///
/// In zh, this message translates to:
/// **'贮藏当前更改'**
String get gitStashChanges;
/// No description provided for @gitStashChangesSuccess.
///
/// In zh, this message translates to:
/// **'已将当前更改暂存至贮藏栈'**
String get gitStashChangesSuccess;
/// No description provided for @gitStashPop.
///
/// In zh, this message translates to:
/// **'恢复最近贮藏 (Pop)'**
String get gitStashPop;
/// No description provided for @gitStashPopSuccess.
///
/// In zh, this message translates to:
/// **'已恢复最近的贮藏更改'**
String get gitStashPopSuccess;
/// No description provided for @gitNoStashFound.
///
/// In zh, this message translates to:
/// **'当前没有可恢复的贮藏记录'**
String get gitNoStashFound;
/// No description provided for @gitAddToGitignore.
///
/// In zh, this message translates to:
/// **'添加到 .gitignore'**
String get gitAddToGitignore;
/// No description provided for @gitAddedToGitignore.
///
/// In zh, this message translates to:
/// **'已添加至 .gitignore'**
String get gitAddedToGitignore;
/// No description provided for @gitMoreActions.
///
/// In zh, this message translates to:
/// **'更多操作'**
String get gitMoreActions;
/// No description provided for @gitOpenFile.
///
/// In zh, this message translates to:
/// **'打开文件'**
String get gitOpenFile;
/// No description provided for @gitTags.
///
/// In zh, this message translates to:
/// **'标签'**
String get gitTags;
/// No description provided for @gitCreateTag.
///
/// In zh, this message translates to:
/// **'创建新标签'**
String get gitCreateTag;
/// No description provided for @gitTagNameHint.
///
/// In zh, this message translates to:
/// **'输入标签名称 (例如 v1.0.0)'**
String get gitTagNameHint;
/// No description provided for @gitTagMessageHint.
///
/// In zh, this message translates to:
/// **'标签附注信息 (可选)'**
String get gitTagMessageHint;
/// No description provided for @gitDeleteTag.
///
/// In zh, this message translates to:
/// **'删除标签'**
String get gitDeleteTag;
/// No description provided for @gitDeleteTagConfirm.
///
/// In zh, this message translates to:
/// **'确定要删除本地标签 {tag} 吗?'**
String gitDeleteTagConfirm(String tag);
/// No description provided for @gitCreateTagSuccess.
///
/// In zh, this message translates to:
/// **'已创建标签 {tag}'**
String gitCreateTagSuccess(String tag);
/// No description provided for @gitDeleteTagSuccess.
///
/// In zh, this message translates to:
/// **'已删除标签 {tag}'**
String gitDeleteTagSuccess(String tag);
/// No description provided for @gitSwitchTagSuccess.
///
/// In zh, this message translates to:
/// **'已检出至标签 {tag}'**
String gitSwitchTagSuccess(String tag);
/// No description provided for @gitNoTags.
///
/// In zh, this message translates to:
/// **'暂无标签'**
String get gitNoTags;
/// No description provided for @gitSelectBranchToDelete.
///
/// In zh, this message translates to:
/// **'选择要删除的分支'**
String get gitSelectBranchToDelete;
/// No description provided for @gitSelectTagToDelete.
///
/// In zh, this message translates to:
/// **'选择要删除的标签'**
String get gitSelectTagToDelete;
/// No description provided for @gitSearchBranches.
///
/// In zh, this message translates to:
/// **'搜索分支...'**
String get gitSearchBranches;
/// No description provided for @gitSearchTags.
///
/// In zh, this message translates to:
/// **'搜索标签...'**
String get gitSearchTags;
/// No description provided for @gitNoBranches.
///
/// In zh, this message translates to:
/// **'暂无分支'**
String get gitNoBranches;
/// No description provided for @gitDiff.
///
/// In zh, this message translates to:
/// **'差异对比'**
String get gitDiff;
/// No description provided for @gitDiffOriginal.
///
/// In zh, this message translates to:
/// **'原始版本'**
String get gitDiffOriginal;
/// No description provided for @gitDiffModified.
///
/// In zh, this message translates to:
/// **'修改版本'**
String get gitDiffModified;
/// No description provided for @gitDiffSplitView.
///
/// In zh, this message translates to:
/// **'双屏分栏'**
String get gitDiffSplitView;
/// No description provided for @gitDiffUnifiedView.
///
/// In zh, this message translates to:
/// **'单屏内联'**
String get gitDiffUnifiedView;
/// No description provided for @gitDiffPrevChange.
///
/// In zh, this message translates to:
/// **'上一处更改'**
String get gitDiffPrevChange;
/// No description provided for @gitDiffNextChange.
///
/// In zh, this message translates to:
/// **'下一处更改'**
String get gitDiffNextChange;
/// No description provided for @gitDiffBinaryOrEmpty.
///
/// In zh, this message translates to:
/// **'二进制或不支持比较的文件'**
String get gitDiffBinaryOrEmpty;
/// No description provided for @gitDiffNoChanges.
///
/// In zh, this message translates to:
/// **'该文件与基准版本完全一致,暂无差异'**
String get gitDiffNoChanges;
/// No description provided for @gitDiffStageTooltip.
///
/// In zh, this message translates to:
/// **'暂存此文件更改'**
String get gitDiffStageTooltip;
/// No description provided for @gitDiffUnstageTooltip.
///
/// In zh, this message translates to:
/// **'取消暂存此文件'**
String get gitDiffUnstageTooltip;
/// No description provided for @gitDiffDiscardTooltip.
///
/// In zh, this message translates to:
/// **'放弃此文件更改'**
String get gitDiffDiscardTooltip;
/// No description provided for @gitExpandAll.
///
/// In zh, this message translates to:
/// **'全部展开'**
String get gitExpandAll;
/// No description provided for @gitLoadMoreCommits.
///
/// In zh, this message translates to:
/// **'加载更多提交 ({count})'**
String gitLoadMoreCommits(int count);
/// No description provided for @gitLoadedCommitsCount.
///
/// In zh, this message translates to:
/// **'已显示 {loaded} / {total} 个提交'**
String gitLoadedCommitsCount(int loaded, int total);
/// No description provided for @gitAllCommitsLoaded.
///
/// In zh, this message translates to:
/// **'已显示全部 {count} 个提交'**
String gitAllCommitsLoaded(int count);
/// No description provided for @gitLoadingMoreCommits.
///
/// In zh, this message translates to:
/// **'正在加载更多提交...'**
String get gitLoadingMoreCommits;
/// No description provided for @searchExpandAllMatchesInFile.
///
/// In zh, this message translates to:
/// **'展开全部匹配项'**
String get searchExpandAllMatchesInFile;
}
class _AppLocalizationsDelegate
+378
View File
@@ -1933,4 +1933,382 @@ class AppLocalizationsEn extends AppLocalizations {
) {
return 'Are you sure you want to replace all $matchCount occurrences in \"$fileName\" with \"$replaceText\"?';
}
@override
String get gitNotInstalled => 'Git Not Found';
@override
String get gitNotInstalledDesc =>
'Git command-line tool was not found on your system. Please install git in your terminal or Linux container (e.g. apt update && apt install -y git).';
@override
String get gitNeedInstall => 'Git Installation Required';
@override
String get gitInstallAction => 'Install Git';
@override
String get gitInstallingProgress => 'Installing Git...';
@override
String get gitInstallSuccess => 'Git installed successfully';
@override
String gitInstallFailed(String error) {
return 'Failed to install Git: $error';
}
@override
String get gitNoRepoFound => 'No Git Repository';
@override
String get gitNoRepoDesc =>
'Initialize a Git repository to start version control, branch management, and tracking code changes.';
@override
String get gitInitRepo => 'Initialize Repository';
@override
String get gitInitializing => 'Initializing Git repository...';
@override
String get gitInitSuccess => 'Git repository initialized successfully';
@override
String gitInitFailed(String error) {
return 'Failed to initialize Git repository: $error';
}
@override
String get gitRepository => 'Repository';
@override
String gitCurrentBranch(String branch) {
return 'Branch: $branch';
}
@override
String get gitSwitchRepo => 'Switch Repository';
@override
String get gitRefresh => 'Refresh Git';
@override
String get gitChanges => 'Changes';
@override
String get gitStagedChanges => 'Staged Changes';
@override
String get gitNoChanges => 'No changes detected';
@override
String get gitStatusUntracked => 'Untracked';
@override
String get gitStatusModified => 'Modified';
@override
String get gitStatusAdded => 'Added';
@override
String get gitStatusDeleted => 'Deleted';
@override
String get gitStatusRenamed => 'Renamed';
@override
String get gitStatusConflict => 'Conflict';
@override
String gitMultipleReposDetected(int count) {
return 'Multiple Repositories ($count)';
}
@override
String get gitStageChange => 'Stage Changes';
@override
String get gitUnstageChange => 'Unstage Changes';
@override
String get gitStageAll => 'Stage All Changes';
@override
String get gitUnstageAll => 'Unstage All Changes';
@override
String get gitStageSuccess => 'Staged';
@override
String get gitUnstageSuccess => 'Unstaged';
@override
String get gitCommit => 'Commit';
@override
String get gitCommitMessageHint => 'Message';
@override
String get gitCommitSuccess => 'Commit successful';
@override
String gitCommitFailed(String error) {
return 'Commit failed: $error';
}
@override
String get gitDiscardChange => 'Discard Changes';
@override
String get gitDiscardConfirm => 'Discard Changes?';
@override
String gitDiscardConfirmDesc(String fileName) {
return 'Are you sure you want to discard all unstaged changes in \"$fileName\"? This cannot be undone.';
}
@override
String get gitNoCommitMessage => 'Please enter a commit message';
@override
String get gitNoStagedChangesToCommit =>
'There are no staged changes. Would you like to stage all changes and commit?';
@override
String get gitStageAllAndCommit => 'Stage All and Commit';
@override
String get gitGraphTitle => 'Graph';
@override
String get gitNoCommits => 'No commit history';
@override
String get gitCommitDetails => 'Commit Details';
@override
String get gitCommitAuthor => 'Author';
@override
String get gitCommitDate => 'Date';
@override
String get gitCommitHash => 'Commit Hash';
@override
String get gitCopyHash => 'Copy Hash';
@override
String get gitHashCopied => 'Commit hash copied to clipboard';
@override
String get gitCommitParent => 'Parent';
@override
String get gitDiscardAll => 'Discard All Changes';
@override
String get gitDiscardAllChangesTitle => 'Discard All Changes?';
@override
String get gitDiscardAllChangesConfirm =>
'Are you sure you want to discard all unstaged changes? Modified files will be restored and untracked files will be cleaned. This cannot be undone.';
@override
String get gitDiscardAllStagedTitle => 'Discard All Staged Changes?';
@override
String get gitDiscardAllStagedConfirm =>
'Are you sure you want to discard all staged changes? This cannot be undone.';
@override
String get gitBranches => 'Branches';
@override
String get gitCreateBranch => 'Create Branch';
@override
String get gitBranchNameHint => 'Enter branch name';
@override
String gitSwitchBranchSuccess(String branch) {
return 'Switched to branch $branch';
}
@override
String gitCreateBranchSuccess(String branch) {
return 'Created and switched to branch $branch';
}
@override
String get gitDeleteBranch => 'Delete Branch';
@override
String gitDeleteBranchConfirm(String branch) {
return 'Are you sure you want to delete branch $branch?';
}
@override
String gitDeleteBranchSuccess(String branch) {
return 'Deleted branch $branch';
}
@override
String get gitCannotDeleteCurrentBranch => 'Cannot delete the current branch';
@override
String get gitUndoLastCommit => 'Undo Last Commit';
@override
String get gitUndoLastCommitConfirm =>
'Are you sure you want to undo the last commit? Changes will be kept in the staging area.';
@override
String get gitUndoLastCommitSuccess => 'Undid last commit';
@override
String get gitStash => 'Stash';
@override
String get gitStashChanges => 'Stash Changes';
@override
String get gitStashChangesSuccess => 'Stashed current changes';
@override
String get gitStashPop => 'Pop Latest Stash';
@override
String get gitStashPopSuccess => 'Restored latest stash';
@override
String get gitNoStashFound => 'No stashes found';
@override
String get gitAddToGitignore => 'Add to .gitignore';
@override
String get gitAddedToGitignore => 'Added to .gitignore';
@override
String get gitMoreActions => 'More Actions';
@override
String get gitOpenFile => 'Open File';
@override
String get gitTags => 'Tags';
@override
String get gitCreateTag => 'Create Tag';
@override
String get gitTagNameHint => 'Enter tag name (e.g. v1.0.0)';
@override
String get gitTagMessageHint => 'Tag message (optional)';
@override
String get gitDeleteTag => 'Delete Tag';
@override
String gitDeleteTagConfirm(String tag) {
return 'Are you sure you want to delete tag $tag?';
}
@override
String gitCreateTagSuccess(String tag) {
return 'Created tag $tag';
}
@override
String gitDeleteTagSuccess(String tag) {
return 'Deleted tag $tag';
}
@override
String gitSwitchTagSuccess(String tag) {
return 'Checked out to tag $tag';
}
@override
String get gitNoTags => 'No tags';
@override
String get gitSelectBranchToDelete => 'Select branch to delete';
@override
String get gitSelectTagToDelete => 'Select tag to delete';
@override
String get gitSearchBranches => 'Search branches...';
@override
String get gitSearchTags => 'Search tags...';
@override
String get gitNoBranches => 'No branches';
@override
String get gitDiff => 'Diff';
@override
String get gitDiffOriginal => 'Original';
@override
String get gitDiffModified => 'Modified';
@override
String get gitDiffSplitView => 'Split View';
@override
String get gitDiffUnifiedView => 'Unified View';
@override
String get gitDiffPrevChange => 'Previous Change';
@override
String get gitDiffNextChange => 'Next Change';
@override
String get gitDiffBinaryOrEmpty =>
'Binary or unsupported file for comparison';
@override
String get gitDiffNoChanges =>
'This file is identical to the base version, no differences found';
@override
String get gitDiffStageTooltip => 'Stage this file';
@override
String get gitDiffUnstageTooltip => 'Unstage this file';
@override
String get gitDiffDiscardTooltip => 'Discard changes in this file';
@override
String get gitExpandAll => 'Expand All';
@override
String gitLoadMoreCommits(int count) {
return 'Load more commits ($count)';
}
@override
String gitLoadedCommitsCount(int loaded, int total) {
return 'Showing $loaded of $total commits';
}
@override
String gitAllCommitsLoaded(int count) {
return 'All $count commits loaded';
}
@override
String get gitLoadingMoreCommits => 'Loading more commits...';
@override
String get searchExpandAllMatchesInFile => 'Expand all matches';
}
+373
View File
@@ -1873,4 +1873,377 @@ class AppLocalizationsZh extends AppLocalizations {
) {
return '确定要在 \"$fileName\" 中将全部 $matchCount 处匹配替换为 \"$replaceText\" 吗?';
}
@override
String get gitNotInstalled => '未检测到 Git';
@override
String get gitNotInstalledDesc =>
'系统中未检测到 Git 命令行工具。请在系统终端或 Linux 容器中安装 git(如执行 apt update && apt install -y git)。';
@override
String get gitNeedInstall => '需要安装 Git';
@override
String get gitInstallAction => '安装 Git';
@override
String get gitInstallingProgress => '正在安装 Git...';
@override
String get gitInstallSuccess => 'Git 安装成功';
@override
String gitInstallFailed(String error) {
return 'Git 安装失败: $error';
}
@override
String get gitNoRepoFound => '当前工程尚未初始化为 Git 仓库';
@override
String get gitNoRepoDesc => '初始化本地 Git 仓库后,即可使用版本控制、分支管理及变更追踪功能。';
@override
String get gitInitRepo => '初始化 Git 仓库';
@override
String get gitInitializing => '正在初始化 Git 仓库...';
@override
String get gitInitSuccess => 'Git 仓库初始化成功';
@override
String gitInitFailed(String error) {
return 'Git 仓库初始化失败: $error';
}
@override
String get gitRepository => '仓库';
@override
String gitCurrentBranch(String branch) {
return '当前分支: $branch';
}
@override
String get gitSwitchRepo => '切换仓库';
@override
String get gitRefresh => '刷新 Git 状态';
@override
String get gitChanges => '更改';
@override
String get gitStagedChanges => '暂存的更改';
@override
String get gitNoChanges => '暂无任何文件更改';
@override
String get gitStatusUntracked => '未跟踪';
@override
String get gitStatusModified => '已修改';
@override
String get gitStatusAdded => '新增';
@override
String get gitStatusDeleted => '已删除';
@override
String get gitStatusRenamed => '重命名';
@override
String get gitStatusConflict => '冲突';
@override
String gitMultipleReposDetected(int count) {
return '检测到多个 Git 仓库 ($count)';
}
@override
String get gitStageChange => '暂存更改';
@override
String get gitUnstageChange => '取消暂存更改';
@override
String get gitStageAll => '全部暂存更改';
@override
String get gitUnstageAll => '全部取消暂存更改';
@override
String get gitStageSuccess => '已暂存';
@override
String get gitUnstageSuccess => '已取消暂存';
@override
String get gitCommit => '提交';
@override
String get gitCommitMessageHint => '提交信息';
@override
String get gitCommitSuccess => '提交成功';
@override
String gitCommitFailed(String error) {
return '提交失败: $error';
}
@override
String get gitDiscardChange => '放弃更改';
@override
String get gitDiscardConfirm => '放弃更改?';
@override
String gitDiscardConfirmDesc(String fileName) {
return '确定要放弃对 \"$fileName\" 的所有未暂存更改吗?此操作无法撤销。';
}
@override
String get gitNoCommitMessage => '请输入提交信息';
@override
String get gitNoStagedChangesToCommit => '暂存区没有已暂存的更改,是否全部暂存并直接提交?';
@override
String get gitStageAllAndCommit => '全部暂存并提交';
@override
String get gitGraphTitle => '图表';
@override
String get gitNoCommits => '暂无提交历史';
@override
String get gitCommitDetails => '提交详情';
@override
String get gitCommitAuthor => '作者';
@override
String get gitCommitDate => '提交日期';
@override
String get gitCommitHash => '提交哈希';
@override
String get gitCopyHash => '复制哈希';
@override
String get gitHashCopied => '已复制提交哈希到剪贴板';
@override
String get gitCommitParent => '父提交';
@override
String get gitDiscardAll => '全部放弃更改';
@override
String get gitDiscardAllChangesTitle => '放弃所有未暂存更改?';
@override
String get gitDiscardAllChangesConfirm =>
'确定要放弃所有未暂存更改吗?所有已修改的文件将恢复,未跟踪的新文件将被清除,此操作无法撤销。';
@override
String get gitDiscardAllStagedTitle => '放弃所有已暂存更改?';
@override
String get gitDiscardAllStagedConfirm =>
'确定要放弃所有已暂存的更改吗?所选文件的修改将被彻底恢复,此操作无法撤销。';
@override
String get gitBranches => '分支';
@override
String get gitCreateBranch => '创建新分支';
@override
String get gitBranchNameHint => '输入新分支名称';
@override
String gitSwitchBranchSuccess(String branch) {
return '已切换至分支 $branch';
}
@override
String gitCreateBranchSuccess(String branch) {
return '已创建并切换至新分支 $branch';
}
@override
String get gitDeleteBranch => '删除分支';
@override
String gitDeleteBranchConfirm(String branch) {
return '确定要删除本地分支 $branch 吗?';
}
@override
String gitDeleteBranchSuccess(String branch) {
return '已删除分支 $branch';
}
@override
String get gitCannotDeleteCurrentBranch => '无法删除当前所在分支';
@override
String get gitUndoLastCommit => '撤销上次提交';
@override
String get gitUndoLastCommitConfirm => '确定要撤销上一次提交吗?代码更改将保留在暂存区。';
@override
String get gitUndoLastCommitSuccess => '已撤销上一次提交';
@override
String get gitStash => '贮藏';
@override
String get gitStashChanges => '贮藏当前更改';
@override
String get gitStashChangesSuccess => '已将当前更改暂存至贮藏栈';
@override
String get gitStashPop => '恢复最近贮藏 (Pop)';
@override
String get gitStashPopSuccess => '已恢复最近的贮藏更改';
@override
String get gitNoStashFound => '当前没有可恢复的贮藏记录';
@override
String get gitAddToGitignore => '添加到 .gitignore';
@override
String get gitAddedToGitignore => '已添加至 .gitignore';
@override
String get gitMoreActions => '更多操作';
@override
String get gitOpenFile => '打开文件';
@override
String get gitTags => '标签';
@override
String get gitCreateTag => '创建新标签';
@override
String get gitTagNameHint => '输入标签名称 (例如 v1.0.0)';
@override
String get gitTagMessageHint => '标签附注信息 (可选)';
@override
String get gitDeleteTag => '删除标签';
@override
String gitDeleteTagConfirm(String tag) {
return '确定要删除本地标签 $tag 吗?';
}
@override
String gitCreateTagSuccess(String tag) {
return '已创建标签 $tag';
}
@override
String gitDeleteTagSuccess(String tag) {
return '已删除标签 $tag';
}
@override
String gitSwitchTagSuccess(String tag) {
return '已检出至标签 $tag';
}
@override
String get gitNoTags => '暂无标签';
@override
String get gitSelectBranchToDelete => '选择要删除的分支';
@override
String get gitSelectTagToDelete => '选择要删除的标签';
@override
String get gitSearchBranches => '搜索分支...';
@override
String get gitSearchTags => '搜索标签...';
@override
String get gitNoBranches => '暂无分支';
@override
String get gitDiff => '差异对比';
@override
String get gitDiffOriginal => '原始版本';
@override
String get gitDiffModified => '修改版本';
@override
String get gitDiffSplitView => '双屏分栏';
@override
String get gitDiffUnifiedView => '单屏内联';
@override
String get gitDiffPrevChange => '上一处更改';
@override
String get gitDiffNextChange => '下一处更改';
@override
String get gitDiffBinaryOrEmpty => '二进制或不支持比较的文件';
@override
String get gitDiffNoChanges => '该文件与基准版本完全一致,暂无差异';
@override
String get gitDiffStageTooltip => '暂存此文件更改';
@override
String get gitDiffUnstageTooltip => '取消暂存此文件';
@override
String get gitDiffDiscardTooltip => '放弃此文件更改';
@override
String get gitExpandAll => '全部展开';
@override
String gitLoadMoreCommits(int count) {
return '加载更多提交 ($count)';
}
@override
String gitLoadedCommitsCount(int loaded, int total) {
return '已显示 $loaded / $total 个提交';
}
@override
String gitAllCommitsLoaded(int count) {
return '已显示全部 $count 个提交';
}
@override
String get gitLoadingMoreCommits => '正在加载更多提交...';
@override
String get searchExpandAllMatchesInFile => '展开全部匹配项';
}
+227 -1
View File
@@ -1101,5 +1101,231 @@
"type": "String"
}
}
}
},
"gitNotInstalled": "未检测到 Git",
"gitNotInstalledDesc": "系统中未检测到 Git 命令行工具。请在系统终端或 Linux 容器中安装 git(如执行 apt update && apt install -y git)。",
"gitNeedInstall": "需要安装 Git",
"gitInstallAction": "安装 Git",
"gitInstallingProgress": "正在安装 Git...",
"gitInstallSuccess": "Git 安装成功",
"gitInstallFailed": "Git 安装失败: {error}",
"@gitInstallFailed": {
"placeholders": {
"error": {
"type": "String"
}
}
},
"gitNoRepoFound": "当前工程尚未初始化为 Git 仓库",
"gitNoRepoDesc": "初始化本地 Git 仓库后,即可使用版本控制、分支管理及变更追踪功能。",
"gitInitRepo": "初始化 Git 仓库",
"gitInitializing": "正在初始化 Git 仓库...",
"gitInitSuccess": "Git 仓库初始化成功",
"gitInitFailed": "Git 仓库初始化失败: {error}",
"@gitInitFailed": {
"placeholders": {
"error": {
"type": "String"
}
}
},
"gitRepository": "仓库",
"gitCurrentBranch": "当前分支: {branch}",
"@gitCurrentBranch": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitSwitchRepo": "切换仓库",
"gitRefresh": "刷新 Git 状态",
"gitChanges": "更改",
"gitStagedChanges": "暂存的更改",
"gitNoChanges": "暂无任何文件更改",
"gitStatusUntracked": "未跟踪",
"gitStatusModified": "已修改",
"gitStatusAdded": "新增",
"gitStatusDeleted": "已删除",
"gitStatusRenamed": "重命名",
"gitStatusConflict": "冲突",
"gitMultipleReposDetected": "检测到多个 Git 仓库 ({count})",
"@gitMultipleReposDetected": {
"placeholders": {
"count": {
"type": "int"
}
}
},
"gitStageChange": "暂存更改",
"gitUnstageChange": "取消暂存更改",
"gitStageAll": "全部暂存更改",
"gitUnstageAll": "全部取消暂存更改",
"gitStageSuccess": "已暂存",
"gitUnstageSuccess": "已取消暂存",
"gitCommit": "提交",
"gitCommitMessageHint": "提交信息",
"gitCommitSuccess": "提交成功",
"gitCommitFailed": "提交失败: {error}",
"@gitCommitFailed": {
"placeholders": {
"error": {
"type": "String"
}
}
},
"gitDiscardChange": "放弃更改",
"gitDiscardConfirm": "放弃更改?",
"gitDiscardConfirmDesc": "确定要放弃对 \"{fileName}\" 的所有未暂存更改吗?此操作无法撤销。",
"@gitDiscardConfirmDesc": {
"placeholders": {
"fileName": {
"type": "String"
}
}
},
"gitNoCommitMessage": "请输入提交信息",
"gitNoStagedChangesToCommit": "暂存区没有已暂存的更改,是否全部暂存并直接提交?",
"gitStageAllAndCommit": "全部暂存并提交",
"gitGraphTitle": "图表",
"gitNoCommits": "暂无提交历史",
"gitCommitDetails": "提交详情",
"gitCommitAuthor": "作者",
"gitCommitDate": "提交日期",
"gitCommitHash": "提交哈希",
"gitCopyHash": "复制哈希",
"gitHashCopied": "已复制提交哈希到剪贴板",
"gitCommitParent": "父提交",
"gitDiscardAll": "全部放弃更改",
"gitDiscardAllChangesTitle": "放弃所有未暂存更改?",
"gitDiscardAllChangesConfirm": "确定要放弃所有未暂存更改吗?所有已修改的文件将恢复,未跟踪的新文件将被清除,此操作无法撤销。",
"gitDiscardAllStagedTitle": "放弃所有已暂存更改?",
"gitDiscardAllStagedConfirm": "确定要放弃所有已暂存的更改吗?所选文件的修改将被彻底恢复,此操作无法撤销。",
"gitBranches": "分支",
"gitCreateBranch": "创建新分支",
"gitBranchNameHint": "输入新分支名称",
"gitSwitchBranchSuccess": "已切换至分支 {branch}",
"@gitSwitchBranchSuccess": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitCreateBranchSuccess": "已创建并切换至新分支 {branch}",
"@gitCreateBranchSuccess": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitDeleteBranch": "删除分支",
"gitDeleteBranchConfirm": "确定要删除本地分支 {branch} 吗?",
"@gitDeleteBranchConfirm": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitDeleteBranchSuccess": "已删除分支 {branch}",
"@gitDeleteBranchSuccess": {
"placeholders": {
"branch": {
"type": "String"
}
}
},
"gitCannotDeleteCurrentBranch": "无法删除当前所在分支",
"gitUndoLastCommit": "撤销上次提交",
"gitUndoLastCommitConfirm": "确定要撤销上一次提交吗?代码更改将保留在暂存区。",
"gitUndoLastCommitSuccess": "已撤销上一次提交",
"gitStash": "贮藏",
"gitStashChanges": "贮藏当前更改",
"gitStashChangesSuccess": "已将当前更改暂存至贮藏栈",
"gitStashPop": "恢复最近贮藏 (Pop)",
"gitStashPopSuccess": "已恢复最近的贮藏更改",
"gitNoStashFound": "当前没有可恢复的贮藏记录",
"gitAddToGitignore": "添加到 .gitignore",
"gitAddedToGitignore": "已添加至 .gitignore",
"gitMoreActions": "更多操作",
"gitOpenFile": "打开文件",
"gitTags": "标签",
"gitCreateTag": "创建新标签",
"gitTagNameHint": "输入标签名称 (例如 v1.0.0)",
"gitTagMessageHint": "标签附注信息 (可选)",
"gitDeleteTag": "删除标签",
"gitDeleteTagConfirm": "确定要删除本地标签 {tag} 吗?",
"@gitDeleteTagConfirm": {
"placeholders": {
"tag": {
"type": "String"
}
}
},
"gitCreateTagSuccess": "已创建标签 {tag}",
"@gitCreateTagSuccess": {
"placeholders": {
"tag": {
"type": "String"
}
}
},
"gitDeleteTagSuccess": "已删除标签 {tag}",
"@gitDeleteTagSuccess": {
"placeholders": {
"tag": {
"type": "String"
}
}
},
"gitSwitchTagSuccess": "已检出至标签 {tag}",
"@gitSwitchTagSuccess": {
"placeholders": {
"tag": {
"type": "String"
}
}
},
"gitNoTags": "暂无标签",
"gitSelectBranchToDelete": "选择要删除的分支",
"gitSelectTagToDelete": "选择要删除的标签",
"gitSearchBranches": "搜索分支...",
"gitSearchTags": "搜索标签...",
"gitNoBranches": "暂无分支",
"gitDiff": "差异对比",
"gitDiffOriginal": "原始版本",
"gitDiffModified": "修改版本",
"gitDiffSplitView": "双屏分栏",
"gitDiffUnifiedView": "单屏内联",
"gitDiffPrevChange": "上一处更改",
"gitDiffNextChange": "下一处更改",
"gitDiffBinaryOrEmpty": "二进制或不支持比较的文件",
"gitDiffNoChanges": "该文件与基准版本完全一致,暂无差异",
"gitDiffStageTooltip": "暂存此文件更改",
"gitDiffUnstageTooltip": "取消暂存此文件",
"gitDiffDiscardTooltip": "放弃此文件更改",
"gitExpandAll": "全部展开",
"gitLoadMoreCommits": "加载更多提交 ({count})",
"@gitLoadMoreCommits": {
"placeholders": {
"count": { "type": "int" }
}
},
"gitLoadedCommitsCount": "已显示 {loaded} / {total} 个提交",
"@gitLoadedCommitsCount": {
"placeholders": {
"loaded": { "type": "int" },
"total": { "type": "int" }
}
},
"gitAllCommitsLoaded": "已显示全部 {count} 个提交",
"@gitAllCommitsLoaded": {
"placeholders": {
"count": { "type": "int" }
}
},
"gitLoadingMoreCommits": "正在加载更多提交...",
"searchExpandAllMatchesInFile": "展开全部匹配项"
}