mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
feature<*>: add translation for Simplified Chinese
This commit is contained in:
parent
2054df31b9
commit
5418ccac9e
70 changed files with 1492 additions and 554 deletions
|
@ -261,7 +261,7 @@ namespace SourceGit.Git {
|
|||
|
||||
var checkGitDir = new DirectoryInfo(GitDir);
|
||||
if (!checkGitDir.Exists) {
|
||||
App.RaiseError("GIT_DIR for this repository NOT FOUND!");
|
||||
App.RaiseError(App.Text("GitDirNotFound"));
|
||||
return;
|
||||
} else {
|
||||
GitDir = checkGitDir.FullName;
|
||||
|
@ -1110,7 +1110,7 @@ namespace SourceGit.Git {
|
|||
releasePrefix = GetConfig("gitflow.prefix.release");
|
||||
hotfixPrefix = GetConfig("gitflow.prefix.hotfix");
|
||||
|
||||
if (!IsGitFlowEnabled()) App.RaiseError("Initialize Git-flow failed!");
|
||||
if (!IsGitFlowEnabled()) App.RaiseError(App.Text("InitGitFlowFailed"));
|
||||
|
||||
if (refreshBranches) {
|
||||
Branches(true);
|
||||
|
@ -1136,7 +1136,7 @@ namespace SourceGit.Git {
|
|||
case Branch.Type.Release: args = $"flow release start {name}"; break;
|
||||
case Branch.Type.Hotfix: args = $"flow hotfix start {name}"; break;
|
||||
default:
|
||||
App.RaiseError("Bad git-flow branch type!");
|
||||
App.RaiseError(App.Text("BadGitFlowType"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1165,7 +1165,7 @@ namespace SourceGit.Git {
|
|||
args = $"flow hotfix finish {hotfixName} -m \"Hotfix done\"";
|
||||
break;
|
||||
default:
|
||||
App.RaiseError("Bad git-flow branch type!");
|
||||
App.RaiseError(App.Text("BadGitFlowType"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue