diff options
author | Denis Palashevskii <palash.denis@outlook.com> | 2021-06-09 16:09:19 +0400 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-07-27 21:30:08 +1000 |
commit | 63cb304a822a7f0166f3ac57daee96b7e86d89ad (patch) | |
tree | 931c8c7d3ead42f84a4966098e7da37d47ccb014 /pkg | |
parent | 6e579dc6e4a87a2521b89dcf8df9f0d20422cd62 (diff) |
Fix translations, make formatter happy
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/commands/pull_request.go | 4 | ||||
-rw-r--r-- | pkg/i18n/dutch.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkg/commands/pull_request.go b/pkg/commands/pull_request.go index 72eec9ff4..c06a27e2e 100644 --- a/pkg/commands/pull_request.go +++ b/pkg/commands/pull_request.go @@ -38,7 +38,7 @@ func NewService(typeName string, repositoryDomain string, siteDomain string) *Se Name: repositoryDomain, PullRequestURL: func(owner string, repository string, from string, to string) string { if to == "" { - return fmt.Sprintf("https://%s/%s/%s/compare/%s?expand=1",siteDomain, owner, repository, from) + return fmt.Sprintf("https://%s/%s/%s/compare/%s?expand=1", siteDomain, owner, repository, from) } else { return fmt.Sprintf("https://%s/%s/%s/compare/%s...%s?expand=1", siteDomain, owner, repository, to, from) } @@ -151,7 +151,7 @@ func (pr *PullRequest) getPullRequestURL(from *models.Branch, to *models.Branch) repoInfo := getRepoInfoFromURL(repoURL) toBranchName := "" if to != nil { - toBranchName = to.Name + toBranchName = to.Name } pullRequestURL := gitService.PullRequestURL(repoInfo.Owner, repoInfo.Repository, from.Name, toBranchName) diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go index fca78466e..cd8e2160c 100644 --- a/pkg/i18n/dutch.go +++ b/pkg/i18n/dutch.go @@ -396,7 +396,7 @@ func dutchTranslationSet() TranslationSet { LcInitSubmodule: "initialiseer submodule", LcViewBulkSubmoduleOptions: "bekijk bulk submodule opties", LcViewStashFiles: "bekijk bestanden van stash entry", - CreatePullRequestOptions: "Creëer pull request opties", - LcCreatePullRequestOptions: "creëer pull request opties", + CreatePullRequestOptions: "Bekijk opties voor pull-aanvraag", + LcCreatePullRequestOptions: "bekijk opties voor pull-aanvraag", } } |