1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-23 21:51:07 +02:00

Apply suggestions from code review

Co-authored-by: Mark Kopenga <mkopenga@gmail.com>
This commit is contained in:
Denis Palashevskii 2021-06-08 11:01:19 +04:00 committed by Jesse Duffield
parent bccf203a18
commit 0a63f701e5
2 changed files with 5 additions and 7 deletions

View File

@ -155,11 +155,9 @@ func (pr *PullRequest) getPullRequestURL(from *models.Branch, to *models.Branch)
}
repoInfo := getRepoInfoFromURL(repoURL)
var toBranchName string
if to == nil {
toBranchName = ""
} else {
toBranchName = to.Name
toBranchName := ""
if to != nil {
toBranchName = to.Name
}
pullRequestURL := gitService.PullRequestURL(repoInfo.Owner, repoInfo.Repository, from.Name, toBranchName)

View File

@ -396,7 +396,7 @@ func dutchTranslationSet() TranslationSet {
LcInitSubmodule: "initialiseer submodule",
LcViewBulkSubmoduleOptions: "bekijk bulk submodule opties",
LcViewStashFiles: "bekijk bestanden van stash entry",
CreatePullRequestOptions: "Maak opties voor pull-aanvragen",
LcCreatePullRequestOptions: "maak opties voor pull-aanvragen",
CreatePullRequestOptions: "Creëer pull request opties",
LcCreatePullRequestOptions: "creëer pull request opties",
}
}