1
This commit is contained in:
1 parent
4614825b7f
commit
6f5d1ed570
19 files changed
+9864
-99
No files matched your search
@@ -1294,6 +1294,325 @@
|
||||
"gitSearchBranches": "Search branches...",
|
||||
"gitSearchTags": "Search tags...",
|
||||
"gitNoBranches": "No branches",
|
||||
|
||||
"gitRemoteBranches": "Remote Branches",
|
||||
"gitLocalBranches": "Local Branches",
|
||||
"gitNoRemoteBranches": "No remote branches yet — fetch first",
|
||||
"gitCheckoutRemoteBranch": "Check out as local branch",
|
||||
"gitRemoteBranchCheckedOut": "Already checked out locally",
|
||||
"gitCheckoutRemoteBranchSuccess": "Created and switched to local branch {branch} from {remote}",
|
||||
"@gitCheckoutRemoteBranchSuccess": {
|
||||
"placeholders": {
|
||||
"remote": {
|
||||
"type": "String"
|
||||
},
|
||||
"branch": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitSearchRemoteBranches": "Search remote branches...",
|
||||
|
||||
"gitRepairCheck": "Repository Check",
|
||||
"gitRepairCheckRunning": "Checking...",
|
||||
"gitRepairCheckHealthy": "Repository is intact, no missing objects",
|
||||
"gitRepairCheckHealthyHint": "Object database verified. Committing and syncing should work normally.",
|
||||
"gitRepairCheckObjectLoss": "Missing objects detected ({count} problems)",
|
||||
"@gitRepairCheckObjectLoss": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRepairCheckObjectLossHint": "This kind of damage causes \"Error building trees\" on commit. It usually happens when the container is rebuilt and .git/objects is lost. Back up the project directory first, then follow the advice below.",
|
||||
"gitRepairCheckDangling": "{count} dangling objects (normal, no action needed)",
|
||||
"@gitRepairCheckDangling": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRepairCheckFailed": "The check could not complete",
|
||||
"gitRepairCheckFailedHint": "The repository may be large or the command timed out. Try again later.",
|
||||
"gitRepairCheckRerun": "Run Again",
|
||||
"gitRepairAdviceTitle": "How to handle this",
|
||||
"gitRepairAdviceRemoveStale": "Uncommitted broken entries: run git reset to realign the index with the last commit, then stage the files again.",
|
||||
"gitRepairAdviceRestore": "Damaged committed history: re-clone from the remote, or restore from another copy.",
|
||||
|
||||
"gitClone": "Clone Repository",
|
||||
"gitCloneUrl": "Repository URL",
|
||||
"gitCloneUrlHint": "https://github.com/user/repo.git",
|
||||
"gitCloneDirName": "Local directory name",
|
||||
"gitCloneDirNameHint": "Leave empty to derive from the URL",
|
||||
"gitCloneBranch": "Branch (optional)",
|
||||
"gitCloneBranchHint": "Leave empty to use the remote default branch",
|
||||
"gitCloneDepth": "Shallow clone depth (optional)",
|
||||
"gitCloneDepthHint": "e.g. 1 clones only the latest commit",
|
||||
"gitCloneUrlRequired": "Please enter a repository URL",
|
||||
"gitCloneDirRequired": "Please enter a local directory name",
|
||||
"gitCloneDirExists": "Directory already exists, choose another name",
|
||||
"gitCloneRunning": "Cloning...",
|
||||
"gitCloneSuccess": "Clone complete: {name}",
|
||||
"@gitCloneSuccess": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitCloneFailed": "Clone failed",
|
||||
"gitCloneCancel": "Cancel clone",
|
||||
|
||||
"gitPushTargetTooltip": "Push target: {name}\n{reason}",
|
||||
"@gitPushTargetTooltip": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
},
|
||||
"reason": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitPushReasonPushRemote": "Set by branch config branch.*.pushRemote",
|
||||
"gitPushReasonPushDefault": "Set by repo config remote.pushDefault",
|
||||
"gitPushReasonUpstream": "The upstream remote of this branch",
|
||||
"gitPushReasonBranchRemote": "Set by branch config branch.*.remote",
|
||||
"gitPushReasonFallback": "Default remote (origin preferred)",
|
||||
"gitPushReasonOverridden": "You switched it manually in this session",
|
||||
"gitFetchTargetTooltip": "Fetch target: {name}",
|
||||
"@gitFetchTargetTooltip": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitTogglePushTarget": "Choose push target",
|
||||
"gitSyncCloudTooltip": "Sync: fetch / pull / push",
|
||||
"gitPushTargetChanged": "Push target switched to {name}",
|
||||
"@gitPushTargetChanged": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitPushTargetDiffers": "Push target differs from upstream",
|
||||
"gitPushTargetDiffersNotice": "Pull from {upstream}, push to {push}",
|
||||
"@gitPushTargetDiffersNotice": {
|
||||
"placeholders": {
|
||||
"upstream": {
|
||||
"type": "String"
|
||||
},
|
||||
"push": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteRoleUpstream": "Upstream (fetch)",
|
||||
|
||||
"gitErrAuthFailed": "Authentication failed: invalid or expired token, or username mismatch",
|
||||
"gitErrAuthFailedHint": "Check the token in Git Accounts, and make sure the username matches your login name on that platform.",
|
||||
"gitErrWritePermissionDenied": "This account has no write access to this repository",
|
||||
"gitErrWritePermissionDeniedHint": "If this is someone else's repository (upstream), fork it to your own account first, then point the remote at your fork (e.g. https://github.com/your-name/repo.git).",
|
||||
"gitErrRepositoryNotFound": "Repository not found, or this account has no access to it",
|
||||
"gitErrRepositoryNotFoundHint": "GitHub returns 404 for both \"no permission\" and \"does not exist\". Verify the remote URL and that the token can access this repository.",
|
||||
"gitErrProxyAuthRequired": "The network proxy requires authentication",
|
||||
"gitErrProxyAuthRequiredHint": "This network goes through an authenticated proxy (HTTP 407). Check the proxy configuration and credentials inside the container.",
|
||||
"gitErrRequestRejected": "The server rejected this request",
|
||||
"gitErrRequestRejectedHint": "Usually means the pushed content or branch reference is invalid (HTTP 422), e.g. a branch name that violates platform rules or a blocked commit.",
|
||||
"gitErrRateLimited": "Too many requests, rate limited by the platform",
|
||||
"gitErrRateLimitedHint": "Wait a few minutes and retry (HTTP 429). Retrying repeatedly will extend the limit.",
|
||||
"gitErrHttpError": "The server returned an error status code",
|
||||
"gitErrHttpErrorHint": "Check the status code below: 401 invalid token, 403 no permission, 404 not found or no access, 407 proxy auth required, 429 rate limited.",
|
||||
"gitErrPasswordAuthDisabled": "This platform has disabled password authentication",
|
||||
"gitErrPasswordAuthDisabledHint": "Add the account again using a personal access token (PAT) in Git Accounts.",
|
||||
"gitErrNetworkUnreachable": "Cannot reach the remote server over the network",
|
||||
"gitErrNetworkUnreachableHint": "Check your network connection and the container DNS configuration (/etc/resolv.conf).",
|
||||
"gitErrSshPublicKeyDenied": "SSH public key authentication was rejected",
|
||||
"gitErrSshPublicKeyDeniedHint": "Make sure the container's public key is added to the platform's SSH keys, or switch to HTTPS with an access token.",
|
||||
"gitErrSshKeyUnusable": "The SSH private key is unusable (bad permissions or format)",
|
||||
"gitErrSshKeyUnusableHint": "The private key must have mode 600. You can regenerate the key pair in Git Accounts.",
|
||||
"gitErrHostKeyUnverified": "The server host fingerprint is not confirmed yet, connection aborted",
|
||||
"gitErrHostKeyUnverifiedHint": "The first connection requires confirming the host fingerprint. If the server key changed, clear ~/.ssh/known_hosts in the container and retry.",
|
||||
"gitErrNonFastForward": "Push rejected: the remote has commits you do not have locally",
|
||||
"gitErrNonFastForwardHint": "Pull first (rebase mode) to merge the remote changes, then push again.",
|
||||
"gitErrStaleForcePush": "Force push rejected: someone else updated the remote branch",
|
||||
"gitErrStaleForcePushHint": "Fetch the latest remote state first, review the differences, then force push again.",
|
||||
"gitErrConflictDetected": "Merge/rebase conflicts must be resolved manually",
|
||||
"gitErrConflictDetectedHint": "Resolve the conflicting files one by one, or abort this operation (git rebase --abort).",
|
||||
"gitErrLocalChanges": "Local uncommitted changes would be overwritten, operation aborted",
|
||||
"gitErrLocalChangesHint": "Commit your changes first, or stash them, then retry.",
|
||||
"gitErrNoUpstream": "This branch is not tracking a remote branch yet",
|
||||
"gitErrNoUpstreamHint": "Use Publish Branch to push it to the remote and set up tracking.",
|
||||
"gitErrRefLockFailed": "A Git reference file is locked (stale lock)",
|
||||
"gitErrRefLockFailedHint": "Another Git process may be running. Retry shortly, or remove the .lock files under .git.",
|
||||
"gitErrOutOfSpace": "Not enough storage space on the device",
|
||||
"gitErrOutOfSpaceHint": "Free up space in the container or on the device, then retry.",
|
||||
"gitErrTimeout": "Operation timed out",
|
||||
"gitErrTimeoutHint": "Large repositories or slow networks can time out. Watch the progress in the terminal instead, or retry on a better connection.",
|
||||
"gitErrIncomplete": "The operation did not finish, and no specific error was returned",
|
||||
"gitErrIncompleteHint": "It was most likely interrupted by a timeout or a dropped connection. For large repositories, run fetch in the terminal to watch progress, or retry on a better connection.",
|
||||
"gitErrUnknown": "Git operation failed",
|
||||
"gitErrUnknownHint": "Expand the raw output below for details.",
|
||||
"gitRawOutput": "Raw output",
|
||||
|
||||
"gitElapsed": "Elapsed {time}",
|
||||
"@gitElapsed": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitElapsedMinutesSeconds": "{minutes}:{seconds}",
|
||||
"@gitElapsedMinutesSeconds": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "int"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"gitFetch": "Fetch",
|
||||
"gitFetchTooltip": "Fetch the latest commits from the remote without merging",
|
||||
"gitPull": "Pull",
|
||||
"gitPullTooltip": "Pull remote commits and rebase the current branch onto them",
|
||||
"gitPush": "Push",
|
||||
"gitPushTooltip": "Push local commits to the remote",
|
||||
"gitPublishBranch": "Publish Branch",
|
||||
"gitPublishBranchTooltip": "Push this local branch to the remote and set up tracking",
|
||||
"gitSync": "Sync",
|
||||
"gitSyncTooltip": "Pull remote changes, then push local commits",
|
||||
"gitCancelOperation": "Cancel",
|
||||
"gitRemoteOperationRunning": "Remote operation in progress...",
|
||||
"gitRemoteOperationCancelled": "Operation cancelled",
|
||||
"gitRemoteOperationBusy": "Another remote operation is already running",
|
||||
"gitFetchSuccess": "Fetch completed",
|
||||
"gitFetchNoChanges": "Already up to date",
|
||||
"gitPullSuccess": "Pull completed",
|
||||
"gitPullAlreadyUpToDate": "Already up to date, nothing to pull",
|
||||
"gitPushSuccess": "Push completed",
|
||||
"gitPushUpToDate": "Remote is already up to date, nothing to push",
|
||||
"gitNoRemoteConfigured": "No Remote Configured",
|
||||
"gitNoRemoteDesc": "Add a remote repository URL to fetch, pull, and push your code.",
|
||||
"gitAddRemote": "Add Remote",
|
||||
"gitRemoteManagement": "Remote Repositories",
|
||||
"gitRemoteName": "Remote Name",
|
||||
"gitRemoteNameHint": "e.g. origin",
|
||||
"gitRemoteUrl": "Remote URL",
|
||||
"gitRemoteUrlHint": "https://github.com/user/repo.git or git@github.com:user/repo.git",
|
||||
"gitRemotePushUrl": "Push URL (optional)",
|
||||
"gitRemotePushUrlHint": "Leave empty to use the fetch URL",
|
||||
"gitRemoteNameRequired": "Please enter a remote name",
|
||||
"gitRemoteUrlRequired": "Please enter a remote URL",
|
||||
"gitRemoteAdded": "Added remote {name}",
|
||||
"@gitRemoteAdded": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteRemoved": "Removed remote {name}",
|
||||
"@gitRemoteRemoved": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteRenamed": "Renamed {old} to {newName}",
|
||||
"@gitRemoteRenamed": {
|
||||
"placeholders": {
|
||||
"old": {
|
||||
"type": "String"
|
||||
},
|
||||
"newName": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteUrlUpdated": "Remote URL updated",
|
||||
"gitRemotePruned": "Pruned stale remote branches",
|
||||
"gitRemoteRemoveConfirm": "Remove remote {name}? Your local code will not be deleted.",
|
||||
"@gitRemoteRemoveConfirm": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteEdit": "Edit Remote",
|
||||
"gitRemoteFetchUrl": "Fetch URL",
|
||||
"gitRemoteSetPushUrl": "Set Push URL",
|
||||
"gitRemotePrune": "Prune Stale Branches",
|
||||
"gitCheckConnection": "Test Connection",
|
||||
"gitCheckConnectionSuccess": "Connection OK, authentication works",
|
||||
"gitNoRemotes": "No remotes",
|
||||
"gitFetchFailed": "Fetch failed",
|
||||
"gitPullFailed": "Pull failed",
|
||||
"gitPushFailed": "Push failed",
|
||||
"gitForcePush": "Force Push",
|
||||
"gitForcePushTooltip": "Overwrite the remote branch (uses --force-with-lease for safety)",
|
||||
"gitForcePushWarning": "Force pushing overwrites the remote branch with your local commits and may discard other people's work.",
|
||||
"gitForcePushConfirm": "Confirm Force Push",
|
||||
"gitForcePushConfirmDesc": "This rewrites the history of remote branch {branch}. Only use it when you are certain nobody else pushed new commits.",
|
||||
"@gitForcePushConfirmDesc": {
|
||||
"placeholders": {
|
||||
"branch": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitForcePushUseLease": "Use safe force push (--force-with-lease)",
|
||||
"gitPullThenPush": "Pull Then Push",
|
||||
"gitPullThenPushDesc": "The remote has commits you do not have. Pull and merge them before pushing.",
|
||||
"gitConflictAbort": "Abort Rebase",
|
||||
"gitConflictAbortConfirm": "Abort this rebase and return to the state before it started?",
|
||||
"gitUncommittedChangesTitle": "Uncommitted Changes",
|
||||
"gitUncommittedChangesDesc": "Local uncommitted changes must be handled before pulling, or they may be overwritten.",
|
||||
"gitUncommittedStashAndPull": "Stash and Pull",
|
||||
"gitUncommittedCommitFirst": "Commit First",
|
||||
"gitUncommittedCancel": "Cancel",
|
||||
"gitStashAndPullSuccess": "Stashed local changes and pulled successfully",
|
||||
"gitViewOperationLog": "View Details",
|
||||
"gitHideOperationLog": "Hide Details",
|
||||
"gitAheadBehind": "{ahead} ahead / {behind} behind",
|
||||
"@gitAheadBehind": {
|
||||
"placeholders": {
|
||||
"ahead": {
|
||||
"type": "int"
|
||||
},
|
||||
"behind": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitUpstreamGone": "Upstream branch no longer exists",
|
||||
"gitBehindTooltip": "{behind} commits behind the remote",
|
||||
"@gitBehindTooltip": {
|
||||
"placeholders": {
|
||||
"behind": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitAheadTooltip": "{ahead} commits ahead of the remote",
|
||||
"@gitAheadTooltip": {
|
||||
"placeholders": {
|
||||
"ahead": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"gitDiff": "Diff",
|
||||
"gitDiffOriginal": "Original",
|
||||
"gitDiffModified": "Modified",
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -2250,6 +2250,605 @@ class AppLocalizationsEn extends AppLocalizations {
|
||||
@override
|
||||
String get gitNoBranches => 'No branches';
|
||||
|
||||
@override
|
||||
String get gitRemoteBranches => 'Remote Branches';
|
||||
|
||||
@override
|
||||
String get gitLocalBranches => 'Local Branches';
|
||||
|
||||
@override
|
||||
String get gitNoRemoteBranches => 'No remote branches yet — fetch first';
|
||||
|
||||
@override
|
||||
String get gitCheckoutRemoteBranch => 'Check out as local branch';
|
||||
|
||||
@override
|
||||
String get gitRemoteBranchCheckedOut => 'Already checked out locally';
|
||||
|
||||
@override
|
||||
String gitCheckoutRemoteBranchSuccess(String remote, String branch) {
|
||||
return 'Created and switched to local branch $branch from $remote';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitSearchRemoteBranches => 'Search remote branches...';
|
||||
|
||||
@override
|
||||
String get gitRepairCheck => 'Repository Check';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckRunning => 'Checking...';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckHealthy =>
|
||||
'Repository is intact, no missing objects';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckHealthyHint =>
|
||||
'Object database verified. Committing and syncing should work normally.';
|
||||
|
||||
@override
|
||||
String gitRepairCheckObjectLoss(int count) {
|
||||
return 'Missing objects detected ($count problems)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRepairCheckObjectLossHint =>
|
||||
'This kind of damage causes \"Error building trees\" on commit. It usually happens when the container is rebuilt and .git/objects is lost. Back up the project directory first, then follow the advice below.';
|
||||
|
||||
@override
|
||||
String gitRepairCheckDangling(int count) {
|
||||
return '$count dangling objects (normal, no action needed)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRepairCheckFailed => 'The check could not complete';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckFailedHint =>
|
||||
'The repository may be large or the command timed out. Try again later.';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckRerun => 'Run Again';
|
||||
|
||||
@override
|
||||
String get gitRepairAdviceTitle => 'How to handle this';
|
||||
|
||||
@override
|
||||
String get gitRepairAdviceRemoveStale =>
|
||||
'Uncommitted broken entries: run git reset to realign the index with the last commit, then stage the files again.';
|
||||
|
||||
@override
|
||||
String get gitRepairAdviceRestore =>
|
||||
'Damaged committed history: re-clone from the remote, or restore from another copy.';
|
||||
|
||||
@override
|
||||
String get gitClone => 'Clone Repository';
|
||||
|
||||
@override
|
||||
String get gitCloneUrl => 'Repository URL';
|
||||
|
||||
@override
|
||||
String get gitCloneUrlHint => 'https://github.com/user/repo.git';
|
||||
|
||||
@override
|
||||
String get gitCloneDirName => 'Local directory name';
|
||||
|
||||
@override
|
||||
String get gitCloneDirNameHint => 'Leave empty to derive from the URL';
|
||||
|
||||
@override
|
||||
String get gitCloneBranch => 'Branch (optional)';
|
||||
|
||||
@override
|
||||
String get gitCloneBranchHint =>
|
||||
'Leave empty to use the remote default branch';
|
||||
|
||||
@override
|
||||
String get gitCloneDepth => 'Shallow clone depth (optional)';
|
||||
|
||||
@override
|
||||
String get gitCloneDepthHint => 'e.g. 1 clones only the latest commit';
|
||||
|
||||
@override
|
||||
String get gitCloneUrlRequired => 'Please enter a repository URL';
|
||||
|
||||
@override
|
||||
String get gitCloneDirRequired => 'Please enter a local directory name';
|
||||
|
||||
@override
|
||||
String get gitCloneDirExists =>
|
||||
'Directory already exists, choose another name';
|
||||
|
||||
@override
|
||||
String get gitCloneRunning => 'Cloning...';
|
||||
|
||||
@override
|
||||
String gitCloneSuccess(String name) {
|
||||
return 'Clone complete: $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitCloneFailed => 'Clone failed';
|
||||
|
||||
@override
|
||||
String get gitCloneCancel => 'Cancel clone';
|
||||
|
||||
@override
|
||||
String gitPushTargetTooltip(String name, String reason) {
|
||||
return 'Push target: $name\n$reason';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitPushReasonPushRemote =>
|
||||
'Set by branch config branch.*.pushRemote';
|
||||
|
||||
@override
|
||||
String get gitPushReasonPushDefault =>
|
||||
'Set by repo config remote.pushDefault';
|
||||
|
||||
@override
|
||||
String get gitPushReasonUpstream => 'The upstream remote of this branch';
|
||||
|
||||
@override
|
||||
String get gitPushReasonBranchRemote =>
|
||||
'Set by branch config branch.*.remote';
|
||||
|
||||
@override
|
||||
String get gitPushReasonFallback => 'Default remote (origin preferred)';
|
||||
|
||||
@override
|
||||
String get gitPushReasonOverridden =>
|
||||
'You switched it manually in this session';
|
||||
|
||||
@override
|
||||
String gitFetchTargetTooltip(String name) {
|
||||
return 'Fetch target: $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitTogglePushTarget => 'Choose push target';
|
||||
|
||||
@override
|
||||
String get gitSyncCloudTooltip => 'Sync: fetch / pull / push';
|
||||
|
||||
@override
|
||||
String gitPushTargetChanged(String name) {
|
||||
return 'Push target switched to $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitPushTargetDiffers => 'Push target differs from upstream';
|
||||
|
||||
@override
|
||||
String gitPushTargetDiffersNotice(String upstream, String push) {
|
||||
return 'Pull from $upstream, push to $push';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRemoteRoleUpstream => 'Upstream (fetch)';
|
||||
|
||||
@override
|
||||
String get gitErrAuthFailed =>
|
||||
'Authentication failed: invalid or expired token, or username mismatch';
|
||||
|
||||
@override
|
||||
String get gitErrAuthFailedHint =>
|
||||
'Check the token in Git Accounts, and make sure the username matches your login name on that platform.';
|
||||
|
||||
@override
|
||||
String get gitErrWritePermissionDenied =>
|
||||
'This account has no write access to this repository';
|
||||
|
||||
@override
|
||||
String get gitErrWritePermissionDeniedHint =>
|
||||
'If this is someone else\'s repository (upstream), fork it to your own account first, then point the remote at your fork (e.g. https://github.com/your-name/repo.git).';
|
||||
|
||||
@override
|
||||
String get gitErrRepositoryNotFound =>
|
||||
'Repository not found, or this account has no access to it';
|
||||
|
||||
@override
|
||||
String get gitErrRepositoryNotFoundHint =>
|
||||
'GitHub returns 404 for both \"no permission\" and \"does not exist\". Verify the remote URL and that the token can access this repository.';
|
||||
|
||||
@override
|
||||
String get gitErrProxyAuthRequired =>
|
||||
'The network proxy requires authentication';
|
||||
|
||||
@override
|
||||
String get gitErrProxyAuthRequiredHint =>
|
||||
'This network goes through an authenticated proxy (HTTP 407). Check the proxy configuration and credentials inside the container.';
|
||||
|
||||
@override
|
||||
String get gitErrRequestRejected => 'The server rejected this request';
|
||||
|
||||
@override
|
||||
String get gitErrRequestRejectedHint =>
|
||||
'Usually means the pushed content or branch reference is invalid (HTTP 422), e.g. a branch name that violates platform rules or a blocked commit.';
|
||||
|
||||
@override
|
||||
String get gitErrRateLimited =>
|
||||
'Too many requests, rate limited by the platform';
|
||||
|
||||
@override
|
||||
String get gitErrRateLimitedHint =>
|
||||
'Wait a few minutes and retry (HTTP 429). Retrying repeatedly will extend the limit.';
|
||||
|
||||
@override
|
||||
String get gitErrHttpError => 'The server returned an error status code';
|
||||
|
||||
@override
|
||||
String get gitErrHttpErrorHint =>
|
||||
'Check the status code below: 401 invalid token, 403 no permission, 404 not found or no access, 407 proxy auth required, 429 rate limited.';
|
||||
|
||||
@override
|
||||
String get gitErrPasswordAuthDisabled =>
|
||||
'This platform has disabled password authentication';
|
||||
|
||||
@override
|
||||
String get gitErrPasswordAuthDisabledHint =>
|
||||
'Add the account again using a personal access token (PAT) in Git Accounts.';
|
||||
|
||||
@override
|
||||
String get gitErrNetworkUnreachable =>
|
||||
'Cannot reach the remote server over the network';
|
||||
|
||||
@override
|
||||
String get gitErrNetworkUnreachableHint =>
|
||||
'Check your network connection and the container DNS configuration (/etc/resolv.conf).';
|
||||
|
||||
@override
|
||||
String get gitErrSshPublicKeyDenied =>
|
||||
'SSH public key authentication was rejected';
|
||||
|
||||
@override
|
||||
String get gitErrSshPublicKeyDeniedHint =>
|
||||
'Make sure the container\'s public key is added to the platform\'s SSH keys, or switch to HTTPS with an access token.';
|
||||
|
||||
@override
|
||||
String get gitErrSshKeyUnusable =>
|
||||
'The SSH private key is unusable (bad permissions or format)';
|
||||
|
||||
@override
|
||||
String get gitErrSshKeyUnusableHint =>
|
||||
'The private key must have mode 600. You can regenerate the key pair in Git Accounts.';
|
||||
|
||||
@override
|
||||
String get gitErrHostKeyUnverified =>
|
||||
'The server host fingerprint is not confirmed yet, connection aborted';
|
||||
|
||||
@override
|
||||
String get gitErrHostKeyUnverifiedHint =>
|
||||
'The first connection requires confirming the host fingerprint. If the server key changed, clear ~/.ssh/known_hosts in the container and retry.';
|
||||
|
||||
@override
|
||||
String get gitErrNonFastForward =>
|
||||
'Push rejected: the remote has commits you do not have locally';
|
||||
|
||||
@override
|
||||
String get gitErrNonFastForwardHint =>
|
||||
'Pull first (rebase mode) to merge the remote changes, then push again.';
|
||||
|
||||
@override
|
||||
String get gitErrStaleForcePush =>
|
||||
'Force push rejected: someone else updated the remote branch';
|
||||
|
||||
@override
|
||||
String get gitErrStaleForcePushHint =>
|
||||
'Fetch the latest remote state first, review the differences, then force push again.';
|
||||
|
||||
@override
|
||||
String get gitErrConflictDetected =>
|
||||
'Merge/rebase conflicts must be resolved manually';
|
||||
|
||||
@override
|
||||
String get gitErrConflictDetectedHint =>
|
||||
'Resolve the conflicting files one by one, or abort this operation (git rebase --abort).';
|
||||
|
||||
@override
|
||||
String get gitErrLocalChanges =>
|
||||
'Local uncommitted changes would be overwritten, operation aborted';
|
||||
|
||||
@override
|
||||
String get gitErrLocalChangesHint =>
|
||||
'Commit your changes first, or stash them, then retry.';
|
||||
|
||||
@override
|
||||
String get gitErrNoUpstream =>
|
||||
'This branch is not tracking a remote branch yet';
|
||||
|
||||
@override
|
||||
String get gitErrNoUpstreamHint =>
|
||||
'Use Publish Branch to push it to the remote and set up tracking.';
|
||||
|
||||
@override
|
||||
String get gitErrRefLockFailed =>
|
||||
'A Git reference file is locked (stale lock)';
|
||||
|
||||
@override
|
||||
String get gitErrRefLockFailedHint =>
|
||||
'Another Git process may be running. Retry shortly, or remove the .lock files under .git.';
|
||||
|
||||
@override
|
||||
String get gitErrOutOfSpace => 'Not enough storage space on the device';
|
||||
|
||||
@override
|
||||
String get gitErrOutOfSpaceHint =>
|
||||
'Free up space in the container or on the device, then retry.';
|
||||
|
||||
@override
|
||||
String get gitErrTimeout => 'Operation timed out';
|
||||
|
||||
@override
|
||||
String get gitErrTimeoutHint =>
|
||||
'Large repositories or slow networks can time out. Watch the progress in the terminal instead, or retry on a better connection.';
|
||||
|
||||
@override
|
||||
String get gitErrIncomplete =>
|
||||
'The operation did not finish, and no specific error was returned';
|
||||
|
||||
@override
|
||||
String get gitErrIncompleteHint =>
|
||||
'It was most likely interrupted by a timeout or a dropped connection. For large repositories, run fetch in the terminal to watch progress, or retry on a better connection.';
|
||||
|
||||
@override
|
||||
String get gitErrUnknown => 'Git operation failed';
|
||||
|
||||
@override
|
||||
String get gitErrUnknownHint => 'Expand the raw output below for details.';
|
||||
|
||||
@override
|
||||
String get gitRawOutput => 'Raw output';
|
||||
|
||||
@override
|
||||
String gitElapsed(String time) {
|
||||
return 'Elapsed $time';
|
||||
}
|
||||
|
||||
@override
|
||||
String gitElapsedMinutesSeconds(int minutes, String seconds) {
|
||||
return '$minutes:$seconds';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitFetch => 'Fetch';
|
||||
|
||||
@override
|
||||
String get gitFetchTooltip =>
|
||||
'Fetch the latest commits from the remote without merging';
|
||||
|
||||
@override
|
||||
String get gitPull => 'Pull';
|
||||
|
||||
@override
|
||||
String get gitPullTooltip =>
|
||||
'Pull remote commits and rebase the current branch onto them';
|
||||
|
||||
@override
|
||||
String get gitPush => 'Push';
|
||||
|
||||
@override
|
||||
String get gitPushTooltip => 'Push local commits to the remote';
|
||||
|
||||
@override
|
||||
String get gitPublishBranch => 'Publish Branch';
|
||||
|
||||
@override
|
||||
String get gitPublishBranchTooltip =>
|
||||
'Push this local branch to the remote and set up tracking';
|
||||
|
||||
@override
|
||||
String get gitSync => 'Sync';
|
||||
|
||||
@override
|
||||
String get gitSyncTooltip => 'Pull remote changes, then push local commits';
|
||||
|
||||
@override
|
||||
String get gitCancelOperation => 'Cancel';
|
||||
|
||||
@override
|
||||
String get gitRemoteOperationRunning => 'Remote operation in progress...';
|
||||
|
||||
@override
|
||||
String get gitRemoteOperationCancelled => 'Operation cancelled';
|
||||
|
||||
@override
|
||||
String get gitRemoteOperationBusy =>
|
||||
'Another remote operation is already running';
|
||||
|
||||
@override
|
||||
String get gitFetchSuccess => 'Fetch completed';
|
||||
|
||||
@override
|
||||
String get gitFetchNoChanges => 'Already up to date';
|
||||
|
||||
@override
|
||||
String get gitPullSuccess => 'Pull completed';
|
||||
|
||||
@override
|
||||
String get gitPullAlreadyUpToDate => 'Already up to date, nothing to pull';
|
||||
|
||||
@override
|
||||
String get gitPushSuccess => 'Push completed';
|
||||
|
||||
@override
|
||||
String get gitPushUpToDate => 'Remote is already up to date, nothing to push';
|
||||
|
||||
@override
|
||||
String get gitNoRemoteConfigured => 'No Remote Configured';
|
||||
|
||||
@override
|
||||
String get gitNoRemoteDesc =>
|
||||
'Add a remote repository URL to fetch, pull, and push your code.';
|
||||
|
||||
@override
|
||||
String get gitAddRemote => 'Add Remote';
|
||||
|
||||
@override
|
||||
String get gitRemoteManagement => 'Remote Repositories';
|
||||
|
||||
@override
|
||||
String get gitRemoteName => 'Remote Name';
|
||||
|
||||
@override
|
||||
String get gitRemoteNameHint => 'e.g. origin';
|
||||
|
||||
@override
|
||||
String get gitRemoteUrl => 'Remote URL';
|
||||
|
||||
@override
|
||||
String get gitRemoteUrlHint =>
|
||||
'https://github.com/user/repo.git or git@github.com:user/repo.git';
|
||||
|
||||
@override
|
||||
String get gitRemotePushUrl => 'Push URL (optional)';
|
||||
|
||||
@override
|
||||
String get gitRemotePushUrlHint => 'Leave empty to use the fetch URL';
|
||||
|
||||
@override
|
||||
String get gitRemoteNameRequired => 'Please enter a remote name';
|
||||
|
||||
@override
|
||||
String get gitRemoteUrlRequired => 'Please enter a remote URL';
|
||||
|
||||
@override
|
||||
String gitRemoteAdded(String name) {
|
||||
return 'Added remote $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String gitRemoteRemoved(String name) {
|
||||
return 'Removed remote $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String gitRemoteRenamed(String old, String newName) {
|
||||
return 'Renamed $old to $newName';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRemoteUrlUpdated => 'Remote URL updated';
|
||||
|
||||
@override
|
||||
String get gitRemotePruned => 'Pruned stale remote branches';
|
||||
|
||||
@override
|
||||
String gitRemoteRemoveConfirm(String name) {
|
||||
return 'Remove remote $name? Your local code will not be deleted.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRemoteEdit => 'Edit Remote';
|
||||
|
||||
@override
|
||||
String get gitRemoteFetchUrl => 'Fetch URL';
|
||||
|
||||
@override
|
||||
String get gitRemoteSetPushUrl => 'Set Push URL';
|
||||
|
||||
@override
|
||||
String get gitRemotePrune => 'Prune Stale Branches';
|
||||
|
||||
@override
|
||||
String get gitCheckConnection => 'Test Connection';
|
||||
|
||||
@override
|
||||
String get gitCheckConnectionSuccess => 'Connection OK, authentication works';
|
||||
|
||||
@override
|
||||
String get gitNoRemotes => 'No remotes';
|
||||
|
||||
@override
|
||||
String get gitFetchFailed => 'Fetch failed';
|
||||
|
||||
@override
|
||||
String get gitPullFailed => 'Pull failed';
|
||||
|
||||
@override
|
||||
String get gitPushFailed => 'Push failed';
|
||||
|
||||
@override
|
||||
String get gitForcePush => 'Force Push';
|
||||
|
||||
@override
|
||||
String get gitForcePushTooltip =>
|
||||
'Overwrite the remote branch (uses --force-with-lease for safety)';
|
||||
|
||||
@override
|
||||
String get gitForcePushWarning =>
|
||||
'Force pushing overwrites the remote branch with your local commits and may discard other people\'s work.';
|
||||
|
||||
@override
|
||||
String get gitForcePushConfirm => 'Confirm Force Push';
|
||||
|
||||
@override
|
||||
String gitForcePushConfirmDesc(String branch) {
|
||||
return 'This rewrites the history of remote branch $branch. Only use it when you are certain nobody else pushed new commits.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitForcePushUseLease => 'Use safe force push (--force-with-lease)';
|
||||
|
||||
@override
|
||||
String get gitPullThenPush => 'Pull Then Push';
|
||||
|
||||
@override
|
||||
String get gitPullThenPushDesc =>
|
||||
'The remote has commits you do not have. Pull and merge them before pushing.';
|
||||
|
||||
@override
|
||||
String get gitConflictAbort => 'Abort Rebase';
|
||||
|
||||
@override
|
||||
String get gitConflictAbortConfirm =>
|
||||
'Abort this rebase and return to the state before it started?';
|
||||
|
||||
@override
|
||||
String get gitUncommittedChangesTitle => 'Uncommitted Changes';
|
||||
|
||||
@override
|
||||
String get gitUncommittedChangesDesc =>
|
||||
'Local uncommitted changes must be handled before pulling, or they may be overwritten.';
|
||||
|
||||
@override
|
||||
String get gitUncommittedStashAndPull => 'Stash and Pull';
|
||||
|
||||
@override
|
||||
String get gitUncommittedCommitFirst => 'Commit First';
|
||||
|
||||
@override
|
||||
String get gitUncommittedCancel => 'Cancel';
|
||||
|
||||
@override
|
||||
String get gitStashAndPullSuccess =>
|
||||
'Stashed local changes and pulled successfully';
|
||||
|
||||
@override
|
||||
String get gitViewOperationLog => 'View Details';
|
||||
|
||||
@override
|
||||
String get gitHideOperationLog => 'Hide Details';
|
||||
|
||||
@override
|
||||
String gitAheadBehind(int ahead, int behind) {
|
||||
return '$ahead ahead / $behind behind';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitUpstreamGone => 'Upstream branch no longer exists';
|
||||
|
||||
@override
|
||||
String gitBehindTooltip(int behind) {
|
||||
return '$behind commits behind the remote';
|
||||
}
|
||||
|
||||
@override
|
||||
String gitAheadTooltip(int ahead) {
|
||||
return '$ahead commits ahead of the remote';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitDiff => 'Diff';
|
||||
|
||||
|
||||
@@ -2187,6 +2187,558 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
@override
|
||||
String get gitNoBranches => '暂无分支';
|
||||
|
||||
@override
|
||||
String get gitRemoteBranches => '远端分支';
|
||||
|
||||
@override
|
||||
String get gitLocalBranches => '本地分支';
|
||||
|
||||
@override
|
||||
String get gitNoRemoteBranches => '暂无远端分支,请先执行抓取';
|
||||
|
||||
@override
|
||||
String get gitCheckoutRemoteBranch => '检出为本地分支';
|
||||
|
||||
@override
|
||||
String get gitRemoteBranchCheckedOut => '该远端分支已在本地检出';
|
||||
|
||||
@override
|
||||
String gitCheckoutRemoteBranchSuccess(String remote, String branch) {
|
||||
return '已基于 $remote 创建并切换到本地分支 $branch';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitSearchRemoteBranches => '搜索远端分支...';
|
||||
|
||||
@override
|
||||
String get gitRepairCheck => '仓库自检';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckRunning => '正在自检...';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckHealthy => '仓库完整,未发现对象丢失';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckHealthyHint => '对象库校验通过,可以正常提交与同步。';
|
||||
|
||||
@override
|
||||
String gitRepairCheckObjectLoss(int count) {
|
||||
return '检测到对象丢失($count 处问题)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRepairCheckObjectLossHint =>
|
||||
'这类损坏会导致提交时报错 Error building trees。常见原因是容器被重建导致 .git/objects 丢失。建议先备份项目目录,再按下方提示处理。';
|
||||
|
||||
@override
|
||||
String gitRepairCheckDangling(int count) {
|
||||
return '另有 $count 个悬空对象(正常现象,无需处理)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRepairCheckFailed => '自检未能完成';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckFailedHint => '可能因为仓库过大或执行超时,可稍后重试。';
|
||||
|
||||
@override
|
||||
String get gitRepairCheckRerun => '重新自检';
|
||||
|
||||
@override
|
||||
String get gitRepairAdviceTitle => '如何处理';
|
||||
|
||||
@override
|
||||
String get gitRepairAdviceRemoveStale =>
|
||||
'未提交的损坏条目:执行 git reset 让索引与最后一次提交对齐,然后重新暂存需要的文件。';
|
||||
|
||||
@override
|
||||
String get gitRepairAdviceRestore => '已提交的历史损坏:需要从远端重新克隆,或从其他副本恢复。';
|
||||
|
||||
@override
|
||||
String get gitClone => '克隆远程仓库';
|
||||
|
||||
@override
|
||||
String get gitCloneUrl => '仓库地址';
|
||||
|
||||
@override
|
||||
String get gitCloneUrlHint => 'https://github.com/user/repo.git';
|
||||
|
||||
@override
|
||||
String get gitCloneDirName => '本地目录名';
|
||||
|
||||
@override
|
||||
String get gitCloneDirNameHint => '留空则从地址自动推导';
|
||||
|
||||
@override
|
||||
String get gitCloneBranch => '指定分支(可选)';
|
||||
|
||||
@override
|
||||
String get gitCloneBranchHint => '留空则使用远端默认分支';
|
||||
|
||||
@override
|
||||
String get gitCloneDepth => '浅克隆深度(可选)';
|
||||
|
||||
@override
|
||||
String get gitCloneDepthHint => '如 1 表示只克隆最近 1 个提交';
|
||||
|
||||
@override
|
||||
String get gitCloneUrlRequired => '请输入仓库地址';
|
||||
|
||||
@override
|
||||
String get gitCloneDirRequired => '请输入本地目录名';
|
||||
|
||||
@override
|
||||
String get gitCloneDirExists => '目录已存在,请换一个名字';
|
||||
|
||||
@override
|
||||
String get gitCloneRunning => '正在克隆...';
|
||||
|
||||
@override
|
||||
String gitCloneSuccess(String name) {
|
||||
return '克隆完成:$name';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitCloneFailed => '克隆失败';
|
||||
|
||||
@override
|
||||
String get gitCloneCancel => '取消克隆';
|
||||
|
||||
@override
|
||||
String gitPushTargetTooltip(String name, String reason) {
|
||||
return '推送目标:$name\n$reason';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitPushReasonPushRemote => '由分支配置 branch.*.pushRemote 决定';
|
||||
|
||||
@override
|
||||
String get gitPushReasonPushDefault => '由仓库配置 remote.pushDefault 决定';
|
||||
|
||||
@override
|
||||
String get gitPushReasonUpstream => '当前分支的上游远程';
|
||||
|
||||
@override
|
||||
String get gitPushReasonBranchRemote => '由分支配置 branch.*.remote 决定';
|
||||
|
||||
@override
|
||||
String get gitPushReasonFallback => '默认远程(origin 优先)';
|
||||
|
||||
@override
|
||||
String get gitPushReasonOverridden => '你已在本次会话中手动切换';
|
||||
|
||||
@override
|
||||
String gitFetchTargetTooltip(String name) {
|
||||
return '抓取目标:$name';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitTogglePushTarget => '选择推送目标';
|
||||
|
||||
@override
|
||||
String get gitSyncCloudTooltip => '同步:抓取 / 拉取 / 推送';
|
||||
|
||||
@override
|
||||
String gitPushTargetChanged(String name) {
|
||||
return '推送目标已切换为 $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitPushTargetDiffers => '推送目标与上游不同';
|
||||
|
||||
@override
|
||||
String gitPushTargetDiffersNotice(String upstream, String push) {
|
||||
return '拉取走 $upstream,推送走 $push';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRemoteRoleUpstream => '上游(拉取)';
|
||||
|
||||
@override
|
||||
String get gitErrAuthFailed => '认证失败:令牌无效、已过期或用户名不匹配';
|
||||
|
||||
@override
|
||||
String get gitErrAuthFailedHint => '请到「Git 账号管理」检查令牌是否有效,并确认账号用户名与平台登录名一致。';
|
||||
|
||||
@override
|
||||
String get gitErrWritePermissionDenied => '当前账号对该仓库没有写权限';
|
||||
|
||||
@override
|
||||
String get gitErrWritePermissionDeniedHint =>
|
||||
'若这是别人的仓库(上游),请先 Fork 到你自己的账号,再把远端地址改为你的 Fork(如 https://github.com/你的用户名/仓库.git)。';
|
||||
|
||||
@override
|
||||
String get gitErrRepositoryNotFound => '仓库不存在,或当前账号无权访问';
|
||||
|
||||
@override
|
||||
String get gitErrRepositoryNotFoundHint =>
|
||||
'GitHub 对「无权限」和「不存在」都返回 404。请确认远端地址拼写正确,且该令牌有权访问该仓库。';
|
||||
|
||||
@override
|
||||
String get gitErrProxyAuthRequired => '网络代理需要认证';
|
||||
|
||||
@override
|
||||
String get gitErrProxyAuthRequiredHint =>
|
||||
'当前网络经过需要认证的代理(HTTP 407)。请检查容器内代理配置与凭据。';
|
||||
|
||||
@override
|
||||
String get gitErrRequestRejected => '服务器拒绝了本次请求';
|
||||
|
||||
@override
|
||||
String get gitErrRequestRejectedHint =>
|
||||
'通常表示推送内容或分支引用不合法(HTTP 422),例如分支名不符合平台规则或提交信息被策略拦截。';
|
||||
|
||||
@override
|
||||
String get gitErrRateLimited => '请求过于频繁,已被平台限流';
|
||||
|
||||
@override
|
||||
String get gitErrRateLimitedHint => '请稍等几分钟后重试(HTTP 429)。短时间内反复重试会延长限制时间。';
|
||||
|
||||
@override
|
||||
String get gitErrHttpError => '服务器返回了错误状态码';
|
||||
|
||||
@override
|
||||
String get gitErrHttpErrorHint =>
|
||||
'请根据下方状态码排查:401 令牌无效、403 无权限、404 仓库不存在或无权访问、407 需要代理认证、429 被限流。';
|
||||
|
||||
@override
|
||||
String get gitErrPasswordAuthDisabled => '该平台已禁用账号密码认证';
|
||||
|
||||
@override
|
||||
String get gitErrPasswordAuthDisabledHint =>
|
||||
'请在「Git 账号管理」中使用个人访问令牌 (PAT) 重新添加账号。';
|
||||
|
||||
@override
|
||||
String get gitErrNetworkUnreachable => '网络无法连接到远端服务器';
|
||||
|
||||
@override
|
||||
String get gitErrNetworkUnreachableHint =>
|
||||
'请检查网络连接,以及容器内 DNS 配置(/etc/resolv.conf)是否正常。';
|
||||
|
||||
@override
|
||||
String get gitErrSshPublicKeyDenied => 'SSH 公钥认证被拒绝';
|
||||
|
||||
@override
|
||||
String get gitErrSshPublicKeyDeniedHint =>
|
||||
'请确认容器内的公钥已添加到平台的 SSH Keys 中,或改用 HTTPS + 访问令牌。';
|
||||
|
||||
@override
|
||||
String get gitErrSshKeyUnusable => 'SSH 私钥无法使用(权限或格式异常)';
|
||||
|
||||
@override
|
||||
String get gitErrSshKeyUnusableHint => '私钥权限需为 600。可在「Git 账号管理」中重新生成密钥对。';
|
||||
|
||||
@override
|
||||
String get gitErrHostKeyUnverified => '目标服务器的主机指纹尚未确认,连接被中断';
|
||||
|
||||
@override
|
||||
String get gitErrHostKeyUnverifiedHint =>
|
||||
'首次连接需要确认主机指纹。若刚更换过服务器密钥,请清理容器内 ~/.ssh/known_hosts 后重试。';
|
||||
|
||||
@override
|
||||
String get gitErrNonFastForward => '推送被拒绝:远端存在本地尚无的提交';
|
||||
|
||||
@override
|
||||
String get gitErrNonFastForwardHint => '请先执行 Pull(rebase 方式)合并远端改动,再重新推送。';
|
||||
|
||||
@override
|
||||
String get gitErrStaleForcePush => '强推被拒绝:远端分支已被他人更新';
|
||||
|
||||
@override
|
||||
String get gitErrStaleForcePushHint => '请先执行 Fetch 获取最新远端状态,确认差异后再强制推送。';
|
||||
|
||||
@override
|
||||
String get gitErrConflictDetected => '合并/rebase 出现冲突,需要手动解决';
|
||||
|
||||
@override
|
||||
String get gitErrConflictDetectedHint =>
|
||||
'请逐个解决冲突文件,或放弃本次操作(git rebase --abort)。';
|
||||
|
||||
@override
|
||||
String get gitErrLocalChanges => '本地未提交的改动会被覆盖,操作已中止';
|
||||
|
||||
@override
|
||||
String get gitErrLocalChangesHint => '请先提交改动,或将其贮藏(stash)后再执行。';
|
||||
|
||||
@override
|
||||
String get gitErrNoUpstream => '当前分支尚未关联远端分支';
|
||||
|
||||
@override
|
||||
String get gitErrNoUpstreamHint => '请使用「发布分支」将本地分支推送到远端并建立追踪关系。';
|
||||
|
||||
@override
|
||||
String get gitErrRefLockFailed => 'Git 引用文件被占用(存在残留锁)';
|
||||
|
||||
@override
|
||||
String get gitErrRefLockFailedHint =>
|
||||
'可能有另一个 Git 进程正在运行。稍后重试,或清理 .git 目录下的 .lock 文件。';
|
||||
|
||||
@override
|
||||
String get gitErrOutOfSpace => '设备存储空间不足';
|
||||
|
||||
@override
|
||||
String get gitErrOutOfSpaceHint => '请清理容器或设备空间后重试。';
|
||||
|
||||
@override
|
||||
String get gitErrTimeout => '操作超时';
|
||||
|
||||
@override
|
||||
String get gitErrTimeoutHint => '仓库较大或网络较慢时可能超时。可改用终端观察进度,或在网络较好时重试。';
|
||||
|
||||
@override
|
||||
String get gitErrIncomplete => '操作未完成,但没有返回具体错误信息';
|
||||
|
||||
@override
|
||||
String get gitErrIncompleteHint =>
|
||||
'通常是被超时或网络中断打断。仓库较大时建议改用终端执行 fetch 观察进度,或稍后在网络较好时重试。';
|
||||
|
||||
@override
|
||||
String get gitErrUnknown => 'Git 操作失败';
|
||||
|
||||
@override
|
||||
String get gitErrUnknownHint => '请展开下方原始输出查看详细信息。';
|
||||
|
||||
@override
|
||||
String get gitRawOutput => '原始输出';
|
||||
|
||||
@override
|
||||
String gitElapsed(String time) {
|
||||
return '已用 $time';
|
||||
}
|
||||
|
||||
@override
|
||||
String gitElapsedMinutesSeconds(int minutes, String seconds) {
|
||||
return '$minutes:$seconds';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitFetch => '抓取';
|
||||
|
||||
@override
|
||||
String get gitFetchTooltip => '从远端抓取最新提交(不合并到本地)';
|
||||
|
||||
@override
|
||||
String get gitPull => '拉取';
|
||||
|
||||
@override
|
||||
String get gitPullTooltip => '拉取远端提交并以 rebase 方式合并到当前分支';
|
||||
|
||||
@override
|
||||
String get gitPush => '推送';
|
||||
|
||||
@override
|
||||
String get gitPushTooltip => '将本地提交推送到远端';
|
||||
|
||||
@override
|
||||
String get gitPublishBranch => '发布分支';
|
||||
|
||||
@override
|
||||
String get gitPublishBranchTooltip => '将本地分支推送到远端并建立追踪关系';
|
||||
|
||||
@override
|
||||
String get gitSync => '同步';
|
||||
|
||||
@override
|
||||
String get gitSyncTooltip => '先拉取远端改动,再推送本地提交';
|
||||
|
||||
@override
|
||||
String get gitCancelOperation => '取消';
|
||||
|
||||
@override
|
||||
String get gitRemoteOperationRunning => '云端操作进行中...';
|
||||
|
||||
@override
|
||||
String get gitRemoteOperationCancelled => '操作已取消';
|
||||
|
||||
@override
|
||||
String get gitRemoteOperationBusy => '已有云端操作正在进行,请稍候';
|
||||
|
||||
@override
|
||||
String get gitFetchSuccess => '抓取完成';
|
||||
|
||||
@override
|
||||
String get gitFetchNoChanges => '已是最新状态';
|
||||
|
||||
@override
|
||||
String get gitPullSuccess => '拉取完成';
|
||||
|
||||
@override
|
||||
String get gitPullAlreadyUpToDate => '已是最新,无需拉取';
|
||||
|
||||
@override
|
||||
String get gitPushSuccess => '推送完成';
|
||||
|
||||
@override
|
||||
String get gitPushUpToDate => '远端已是最新,无需推送';
|
||||
|
||||
@override
|
||||
String get gitNoRemoteConfigured => '尚未配置远程仓库';
|
||||
|
||||
@override
|
||||
String get gitNoRemoteDesc => '添加远程仓库地址后,即可抓取、拉取与推送代码。';
|
||||
|
||||
@override
|
||||
String get gitAddRemote => '添加远程仓库';
|
||||
|
||||
@override
|
||||
String get gitRemoteManagement => '远程仓库管理';
|
||||
|
||||
@override
|
||||
String get gitRemoteName => '远程名称';
|
||||
|
||||
@override
|
||||
String get gitRemoteNameHint => '例如 origin';
|
||||
|
||||
@override
|
||||
String get gitRemoteUrl => '远程地址';
|
||||
|
||||
@override
|
||||
String get gitRemoteUrlHint =>
|
||||
'https://github.com/user/repo.git 或 git@github.com:user/repo.git';
|
||||
|
||||
@override
|
||||
String get gitRemotePushUrl => '推送地址(可选)';
|
||||
|
||||
@override
|
||||
String get gitRemotePushUrlHint => '留空则与抓取地址相同';
|
||||
|
||||
@override
|
||||
String get gitRemoteNameRequired => '请输入远程名称';
|
||||
|
||||
@override
|
||||
String get gitRemoteUrlRequired => '请输入远程地址';
|
||||
|
||||
@override
|
||||
String gitRemoteAdded(String name) {
|
||||
return '已添加远程仓库 $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String gitRemoteRemoved(String name) {
|
||||
return '已移除远程仓库 $name';
|
||||
}
|
||||
|
||||
@override
|
||||
String gitRemoteRenamed(String old, String newName) {
|
||||
return '已将 $old 重命名为 $newName';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRemoteUrlUpdated => '已更新远程地址';
|
||||
|
||||
@override
|
||||
String get gitRemotePruned => '已清理远端已删除的分支';
|
||||
|
||||
@override
|
||||
String gitRemoteRemoveConfirm(String name) {
|
||||
return '确定要移除远程仓库 $name 吗?本地代码不会被删除。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitRemoteEdit => '编辑远程仓库';
|
||||
|
||||
@override
|
||||
String get gitRemoteFetchUrl => '抓取地址';
|
||||
|
||||
@override
|
||||
String get gitRemoteSetPushUrl => '设置推送地址';
|
||||
|
||||
@override
|
||||
String get gitRemotePrune => '清理失效分支';
|
||||
|
||||
@override
|
||||
String get gitCheckConnection => '检测连接';
|
||||
|
||||
@override
|
||||
String get gitCheckConnectionSuccess => '连接正常,认证可用';
|
||||
|
||||
@override
|
||||
String get gitNoRemotes => '暂无远程仓库';
|
||||
|
||||
@override
|
||||
String get gitFetchFailed => '抓取失败';
|
||||
|
||||
@override
|
||||
String get gitPullFailed => '拉取失败';
|
||||
|
||||
@override
|
||||
String get gitPushFailed => '推送失败';
|
||||
|
||||
@override
|
||||
String get gitForcePush => '强制推送';
|
||||
|
||||
@override
|
||||
String get gitForcePushTooltip => '覆盖远端分支(使用 --force-with-lease 安全校验)';
|
||||
|
||||
@override
|
||||
String get gitForcePushWarning => '强制推送会用本地提交覆盖远端分支,可能导致他人提交丢失。';
|
||||
|
||||
@override
|
||||
String get gitForcePushConfirm => '确认强制推送';
|
||||
|
||||
@override
|
||||
String gitForcePushConfirmDesc(String branch) {
|
||||
return '该操作将改写远端 $branch 分支的历史。仅在确认远端没有他人新提交时使用。';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitForcePushUseLease => '使用安全强推(--force-with-lease)';
|
||||
|
||||
@override
|
||||
String get gitPullThenPush => '先拉取再推送';
|
||||
|
||||
@override
|
||||
String get gitPullThenPushDesc => '远端存在本地没有的提交,先拉取合并后再推送。';
|
||||
|
||||
@override
|
||||
String get gitConflictAbort => '放弃本次变基';
|
||||
|
||||
@override
|
||||
String get gitConflictAbortConfirm => '确定要放弃本次变基操作并回到操作前的状态吗?';
|
||||
|
||||
@override
|
||||
String get gitUncommittedChangesTitle => '存在未提交的改动';
|
||||
|
||||
@override
|
||||
String get gitUncommittedChangesDesc => '拉取前需要先处理本地未提交的改动,否则可能被覆盖。';
|
||||
|
||||
@override
|
||||
String get gitUncommittedStashAndPull => '贮藏并拉取';
|
||||
|
||||
@override
|
||||
String get gitUncommittedCommitFirst => '先去提交';
|
||||
|
||||
@override
|
||||
String get gitUncommittedCancel => '取消';
|
||||
|
||||
@override
|
||||
String get gitStashAndPullSuccess => '已贮藏本地改动并完成拉取';
|
||||
|
||||
@override
|
||||
String get gitViewOperationLog => '查看详情';
|
||||
|
||||
@override
|
||||
String get gitHideOperationLog => '收起详情';
|
||||
|
||||
@override
|
||||
String gitAheadBehind(int ahead, int behind) {
|
||||
return '领先 $ahead / 落后 $behind';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitUpstreamGone => '上游分支已不存在';
|
||||
|
||||
@override
|
||||
String gitBehindTooltip(int behind) {
|
||||
return '本地落后远端 $behind 个提交';
|
||||
}
|
||||
|
||||
@override
|
||||
String gitAheadTooltip(int ahead) {
|
||||
return '本地领先远端 $ahead 个提交';
|
||||
}
|
||||
|
||||
@override
|
||||
String get gitDiff => '差异对比';
|
||||
|
||||
|
||||
@@ -1294,6 +1294,325 @@
|
||||
"gitSearchBranches": "搜索分支...",
|
||||
"gitSearchTags": "搜索标签...",
|
||||
"gitNoBranches": "暂无分支",
|
||||
|
||||
"gitRemoteBranches": "远端分支",
|
||||
"gitLocalBranches": "本地分支",
|
||||
"gitNoRemoteBranches": "暂无远端分支,请先执行抓取",
|
||||
"gitCheckoutRemoteBranch": "检出为本地分支",
|
||||
"gitRemoteBranchCheckedOut": "该远端分支已在本地检出",
|
||||
"gitCheckoutRemoteBranchSuccess": "已基于 {remote} 创建并切换到本地分支 {branch}",
|
||||
"@gitCheckoutRemoteBranchSuccess": {
|
||||
"placeholders": {
|
||||
"remote": {
|
||||
"type": "String"
|
||||
},
|
||||
"branch": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitSearchRemoteBranches": "搜索远端分支...",
|
||||
|
||||
"gitRepairCheck": "仓库自检",
|
||||
"gitRepairCheckRunning": "正在自检...",
|
||||
"gitRepairCheckHealthy": "仓库完整,未发现对象丢失",
|
||||
"gitRepairCheckHealthyHint": "对象库校验通过,可以正常提交与同步。",
|
||||
"gitRepairCheckObjectLoss": "检测到对象丢失({count} 处问题)",
|
||||
"@gitRepairCheckObjectLoss": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRepairCheckObjectLossHint": "这类损坏会导致提交时报错 Error building trees。常见原因是容器被重建导致 .git/objects 丢失。建议先备份项目目录,再按下方提示处理。",
|
||||
"gitRepairCheckDangling": "另有 {count} 个悬空对象(正常现象,无需处理)",
|
||||
"@gitRepairCheckDangling": {
|
||||
"placeholders": {
|
||||
"count": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRepairCheckFailed": "自检未能完成",
|
||||
"gitRepairCheckFailedHint": "可能因为仓库过大或执行超时,可稍后重试。",
|
||||
"gitRepairCheckRerun": "重新自检",
|
||||
"gitRepairAdviceTitle": "如何处理",
|
||||
"gitRepairAdviceRemoveStale": "未提交的损坏条目:执行 git reset 让索引与最后一次提交对齐,然后重新暂存需要的文件。",
|
||||
"gitRepairAdviceRestore": "已提交的历史损坏:需要从远端重新克隆,或从其他副本恢复。",
|
||||
|
||||
"gitClone": "克隆远程仓库",
|
||||
"gitCloneUrl": "仓库地址",
|
||||
"gitCloneUrlHint": "https://github.com/user/repo.git",
|
||||
"gitCloneDirName": "本地目录名",
|
||||
"gitCloneDirNameHint": "留空则从地址自动推导",
|
||||
"gitCloneBranch": "指定分支(可选)",
|
||||
"gitCloneBranchHint": "留空则使用远端默认分支",
|
||||
"gitCloneDepth": "浅克隆深度(可选)",
|
||||
"gitCloneDepthHint": "如 1 表示只克隆最近 1 个提交",
|
||||
"gitCloneUrlRequired": "请输入仓库地址",
|
||||
"gitCloneDirRequired": "请输入本地目录名",
|
||||
"gitCloneDirExists": "目录已存在,请换一个名字",
|
||||
"gitCloneRunning": "正在克隆...",
|
||||
"gitCloneSuccess": "克隆完成:{name}",
|
||||
"@gitCloneSuccess": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitCloneFailed": "克隆失败",
|
||||
"gitCloneCancel": "取消克隆",
|
||||
|
||||
"gitPushTargetTooltip": "推送目标:{name}\n{reason}",
|
||||
"@gitPushTargetTooltip": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
},
|
||||
"reason": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitPushReasonPushRemote": "由分支配置 branch.*.pushRemote 决定",
|
||||
"gitPushReasonPushDefault": "由仓库配置 remote.pushDefault 决定",
|
||||
"gitPushReasonUpstream": "当前分支的上游远程",
|
||||
"gitPushReasonBranchRemote": "由分支配置 branch.*.remote 决定",
|
||||
"gitPushReasonFallback": "默认远程(origin 优先)",
|
||||
"gitPushReasonOverridden": "你已在本次会话中手动切换",
|
||||
"gitFetchTargetTooltip": "抓取目标:{name}",
|
||||
"@gitFetchTargetTooltip": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitTogglePushTarget": "选择推送目标",
|
||||
"gitSyncCloudTooltip": "同步:抓取 / 拉取 / 推送",
|
||||
"gitPushTargetChanged": "推送目标已切换为 {name}",
|
||||
"@gitPushTargetChanged": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitPushTargetDiffers": "推送目标与上游不同",
|
||||
"gitPushTargetDiffersNotice": "拉取走 {upstream},推送走 {push}",
|
||||
"@gitPushTargetDiffersNotice": {
|
||||
"placeholders": {
|
||||
"upstream": {
|
||||
"type": "String"
|
||||
},
|
||||
"push": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteRoleUpstream": "上游(拉取)",
|
||||
|
||||
"gitErrAuthFailed": "认证失败:令牌无效、已过期或用户名不匹配",
|
||||
"gitErrAuthFailedHint": "请到「Git 账号管理」检查令牌是否有效,并确认账号用户名与平台登录名一致。",
|
||||
"gitErrWritePermissionDenied": "当前账号对该仓库没有写权限",
|
||||
"gitErrWritePermissionDeniedHint": "若这是别人的仓库(上游),请先 Fork 到你自己的账号,再把远端地址改为你的 Fork(如 https://github.com/你的用户名/仓库.git)。",
|
||||
"gitErrRepositoryNotFound": "仓库不存在,或当前账号无权访问",
|
||||
"gitErrRepositoryNotFoundHint": "GitHub 对「无权限」和「不存在」都返回 404。请确认远端地址拼写正确,且该令牌有权访问该仓库。",
|
||||
"gitErrProxyAuthRequired": "网络代理需要认证",
|
||||
"gitErrProxyAuthRequiredHint": "当前网络经过需要认证的代理(HTTP 407)。请检查容器内代理配置与凭据。",
|
||||
"gitErrRequestRejected": "服务器拒绝了本次请求",
|
||||
"gitErrRequestRejectedHint": "通常表示推送内容或分支引用不合法(HTTP 422),例如分支名不符合平台规则或提交信息被策略拦截。",
|
||||
"gitErrRateLimited": "请求过于频繁,已被平台限流",
|
||||
"gitErrRateLimitedHint": "请稍等几分钟后重试(HTTP 429)。短时间内反复重试会延长限制时间。",
|
||||
"gitErrHttpError": "服务器返回了错误状态码",
|
||||
"gitErrHttpErrorHint": "请根据下方状态码排查:401 令牌无效、403 无权限、404 仓库不存在或无权访问、407 需要代理认证、429 被限流。",
|
||||
"gitErrPasswordAuthDisabled": "该平台已禁用账号密码认证",
|
||||
"gitErrPasswordAuthDisabledHint": "请在「Git 账号管理」中使用个人访问令牌 (PAT) 重新添加账号。",
|
||||
"gitErrNetworkUnreachable": "网络无法连接到远端服务器",
|
||||
"gitErrNetworkUnreachableHint": "请检查网络连接,以及容器内 DNS 配置(/etc/resolv.conf)是否正常。",
|
||||
"gitErrSshPublicKeyDenied": "SSH 公钥认证被拒绝",
|
||||
"gitErrSshPublicKeyDeniedHint": "请确认容器内的公钥已添加到平台的 SSH Keys 中,或改用 HTTPS + 访问令牌。",
|
||||
"gitErrSshKeyUnusable": "SSH 私钥无法使用(权限或格式异常)",
|
||||
"gitErrSshKeyUnusableHint": "私钥权限需为 600。可在「Git 账号管理」中重新生成密钥对。",
|
||||
"gitErrHostKeyUnverified": "目标服务器的主机指纹尚未确认,连接被中断",
|
||||
"gitErrHostKeyUnverifiedHint": "首次连接需要确认主机指纹。若刚更换过服务器密钥,请清理容器内 ~/.ssh/known_hosts 后重试。",
|
||||
"gitErrNonFastForward": "推送被拒绝:远端存在本地尚无的提交",
|
||||
"gitErrNonFastForwardHint": "请先执行 Pull(rebase 方式)合并远端改动,再重新推送。",
|
||||
"gitErrStaleForcePush": "强推被拒绝:远端分支已被他人更新",
|
||||
"gitErrStaleForcePushHint": "请先执行 Fetch 获取最新远端状态,确认差异后再强制推送。",
|
||||
"gitErrConflictDetected": "合并/rebase 出现冲突,需要手动解决",
|
||||
"gitErrConflictDetectedHint": "请逐个解决冲突文件,或放弃本次操作(git rebase --abort)。",
|
||||
"gitErrLocalChanges": "本地未提交的改动会被覆盖,操作已中止",
|
||||
"gitErrLocalChangesHint": "请先提交改动,或将其贮藏(stash)后再执行。",
|
||||
"gitErrNoUpstream": "当前分支尚未关联远端分支",
|
||||
"gitErrNoUpstreamHint": "请使用「发布分支」将本地分支推送到远端并建立追踪关系。",
|
||||
"gitErrRefLockFailed": "Git 引用文件被占用(存在残留锁)",
|
||||
"gitErrRefLockFailedHint": "可能有另一个 Git 进程正在运行。稍后重试,或清理 .git 目录下的 .lock 文件。",
|
||||
"gitErrOutOfSpace": "设备存储空间不足",
|
||||
"gitErrOutOfSpaceHint": "请清理容器或设备空间后重试。",
|
||||
"gitErrTimeout": "操作超时",
|
||||
"gitErrTimeoutHint": "仓库较大或网络较慢时可能超时。可改用终端观察进度,或在网络较好时重试。",
|
||||
"gitErrIncomplete": "操作未完成,但没有返回具体错误信息",
|
||||
"gitErrIncompleteHint": "通常是被超时或网络中断打断。仓库较大时建议改用终端执行 fetch 观察进度,或稍后在网络较好时重试。",
|
||||
"gitErrUnknown": "Git 操作失败",
|
||||
"gitErrUnknownHint": "请展开下方原始输出查看详细信息。",
|
||||
"gitRawOutput": "原始输出",
|
||||
|
||||
"gitElapsed": "已用 {time}",
|
||||
"@gitElapsed": {
|
||||
"placeholders": {
|
||||
"time": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitElapsedMinutesSeconds": "{minutes}:{seconds}",
|
||||
"@gitElapsedMinutesSeconds": {
|
||||
"placeholders": {
|
||||
"minutes": {
|
||||
"type": "int"
|
||||
},
|
||||
"seconds": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"gitFetch": "抓取",
|
||||
"gitFetchTooltip": "从远端抓取最新提交(不合并到本地)",
|
||||
"gitPull": "拉取",
|
||||
"gitPullTooltip": "拉取远端提交并以 rebase 方式合并到当前分支",
|
||||
"gitPush": "推送",
|
||||
"gitPushTooltip": "将本地提交推送到远端",
|
||||
"gitPublishBranch": "发布分支",
|
||||
"gitPublishBranchTooltip": "将本地分支推送到远端并建立追踪关系",
|
||||
"gitSync": "同步",
|
||||
"gitSyncTooltip": "先拉取远端改动,再推送本地提交",
|
||||
"gitCancelOperation": "取消",
|
||||
"gitRemoteOperationRunning": "云端操作进行中...",
|
||||
"gitRemoteOperationCancelled": "操作已取消",
|
||||
"gitRemoteOperationBusy": "已有云端操作正在进行,请稍候",
|
||||
"gitFetchSuccess": "抓取完成",
|
||||
"gitFetchNoChanges": "已是最新状态",
|
||||
"gitPullSuccess": "拉取完成",
|
||||
"gitPullAlreadyUpToDate": "已是最新,无需拉取",
|
||||
"gitPushSuccess": "推送完成",
|
||||
"gitPushUpToDate": "远端已是最新,无需推送",
|
||||
"gitNoRemoteConfigured": "尚未配置远程仓库",
|
||||
"gitNoRemoteDesc": "添加远程仓库地址后,即可抓取、拉取与推送代码。",
|
||||
"gitAddRemote": "添加远程仓库",
|
||||
"gitRemoteManagement": "远程仓库管理",
|
||||
"gitRemoteName": "远程名称",
|
||||
"gitRemoteNameHint": "例如 origin",
|
||||
"gitRemoteUrl": "远程地址",
|
||||
"gitRemoteUrlHint": "https://github.com/user/repo.git 或 git@github.com:user/repo.git",
|
||||
"gitRemotePushUrl": "推送地址(可选)",
|
||||
"gitRemotePushUrlHint": "留空则与抓取地址相同",
|
||||
"gitRemoteNameRequired": "请输入远程名称",
|
||||
"gitRemoteUrlRequired": "请输入远程地址",
|
||||
"gitRemoteAdded": "已添加远程仓库 {name}",
|
||||
"@gitRemoteAdded": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteRemoved": "已移除远程仓库 {name}",
|
||||
"@gitRemoteRemoved": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteRenamed": "已将 {old} 重命名为 {newName}",
|
||||
"@gitRemoteRenamed": {
|
||||
"placeholders": {
|
||||
"old": {
|
||||
"type": "String"
|
||||
},
|
||||
"newName": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteUrlUpdated": "已更新远程地址",
|
||||
"gitRemotePruned": "已清理远端已删除的分支",
|
||||
"gitRemoteRemoveConfirm": "确定要移除远程仓库 {name} 吗?本地代码不会被删除。",
|
||||
"@gitRemoteRemoveConfirm": {
|
||||
"placeholders": {
|
||||
"name": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitRemoteEdit": "编辑远程仓库",
|
||||
"gitRemoteFetchUrl": "抓取地址",
|
||||
"gitRemoteSetPushUrl": "设置推送地址",
|
||||
"gitRemotePrune": "清理失效分支",
|
||||
"gitCheckConnection": "检测连接",
|
||||
"gitCheckConnectionSuccess": "连接正常,认证可用",
|
||||
"gitNoRemotes": "暂无远程仓库",
|
||||
"gitFetchFailed": "抓取失败",
|
||||
"gitPullFailed": "拉取失败",
|
||||
"gitPushFailed": "推送失败",
|
||||
"gitForcePush": "强制推送",
|
||||
"gitForcePushTooltip": "覆盖远端分支(使用 --force-with-lease 安全校验)",
|
||||
"gitForcePushWarning": "强制推送会用本地提交覆盖远端分支,可能导致他人提交丢失。",
|
||||
"gitForcePushConfirm": "确认强制推送",
|
||||
"gitForcePushConfirmDesc": "该操作将改写远端 {branch} 分支的历史。仅在确认远端没有他人新提交时使用。",
|
||||
"@gitForcePushConfirmDesc": {
|
||||
"placeholders": {
|
||||
"branch": {
|
||||
"type": "String"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitForcePushUseLease": "使用安全强推(--force-with-lease)",
|
||||
"gitPullThenPush": "先拉取再推送",
|
||||
"gitPullThenPushDesc": "远端存在本地没有的提交,先拉取合并后再推送。",
|
||||
"gitConflictAbort": "放弃本次变基",
|
||||
"gitConflictAbortConfirm": "确定要放弃本次变基操作并回到操作前的状态吗?",
|
||||
"gitUncommittedChangesTitle": "存在未提交的改动",
|
||||
"gitUncommittedChangesDesc": "拉取前需要先处理本地未提交的改动,否则可能被覆盖。",
|
||||
"gitUncommittedStashAndPull": "贮藏并拉取",
|
||||
"gitUncommittedCommitFirst": "先去提交",
|
||||
"gitUncommittedCancel": "取消",
|
||||
"gitStashAndPullSuccess": "已贮藏本地改动并完成拉取",
|
||||
"gitViewOperationLog": "查看详情",
|
||||
"gitHideOperationLog": "收起详情",
|
||||
"gitAheadBehind": "领先 {ahead} / 落后 {behind}",
|
||||
"@gitAheadBehind": {
|
||||
"placeholders": {
|
||||
"ahead": {
|
||||
"type": "int"
|
||||
},
|
||||
"behind": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitUpstreamGone": "上游分支已不存在",
|
||||
"gitBehindTooltip": "本地落后远端 {behind} 个提交",
|
||||
"@gitBehindTooltip": {
|
||||
"placeholders": {
|
||||
"behind": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
"gitAheadTooltip": "本地领先远端 {ahead} 个提交",
|
||||
"@gitAheadTooltip": {
|
||||
"placeholders": {
|
||||
"ahead": {
|
||||
"type": "int"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"gitDiff": "差异对比",
|
||||
"gitDiffOriginal": "原始版本",
|
||||
"gitDiffModified": "修改版本",
|
||||
|
||||
Reference in new issue
Block a user