mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-19 00:28:03 +02:00
type i18n
This commit is contained in:
go.modgo.summain.go
pkg
app
commands
dummies.gogit.gogit_test.goloading_commits.goloading_commits_test.gopatch_rebases.gopull_request.gorebasing.go
gui
branches_panel.gocherry_picking.gocommit_files_panel.gocommit_message_panel.gocommits_panel.goconfirmation_panel.gocredentials_panel.gocustom_commands.godiffing.godiscard_changes_menu_panel.gofiles_panel.gofiltering.gofiltering_menu_panel.gogit_flow.goglobal_handlers.gogui.gokeybindings.golayout.golist_context.gomenu_panel.gomerge_panel.gomodes.gooptions_menu_panel.gopatch_options_panel.goquitting.gorebase_options_panel.gorecent_repos_panel.goreflog_panel.goremote_branches_panel.goremotes_panel.goreset_menu_panel.gostaging_panel.gostash_panel.gostatus_panel.gosub_commits_panel.gosubmodules_panel.gotags_panel.goundoing.goview_helpers.goworkspace_reset_options_panel.go
i18n
updates
utils
scripts
vendor
@ -94,7 +94,7 @@ func (pr *PullRequest) Create(branch *models.Branch) error {
|
||||
branchExistsOnRemote := pr.GitCommand.CheckRemoteBranchExists(branch)
|
||||
|
||||
if !branchExistsOnRemote {
|
||||
return errors.New(pr.GitCommand.Tr.SLocalize("NoBranchOnRemote"))
|
||||
return errors.New(pr.GitCommand.Tr.NoBranchOnRemote)
|
||||
}
|
||||
|
||||
repoURL := pr.GitCommand.GetRemoteURL()
|
||||
@ -108,7 +108,7 @@ func (pr *PullRequest) Create(branch *models.Branch) error {
|
||||
}
|
||||
|
||||
if gitService == nil {
|
||||
return errors.New(pr.GitCommand.Tr.SLocalize("UnsupportedGitService"))
|
||||
return errors.New(pr.GitCommand.Tr.UnsupportedGitService)
|
||||
}
|
||||
|
||||
repoInfo := getRepoInfoFromURL(repoURL)
|
||||
|
Reference in New Issue
Block a user