Skip to content

Commit

Permalink
chore(yay): update po (#2180)
Browse files Browse the repository at this point in the history
* update po

* avoid extra translate work
  • Loading branch information
Jguer committed May 22, 2023
1 parent fdcf6ef commit df3dbfa
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 79 deletions.
4 changes: 2 additions & 2 deletions pkg/upgrade/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ func (u *UpgradeService) UserExcludeUpgrades(graph *topo.Graph[string, *dep.Inst

if len(allUp.PulledDeps) > 0 {
u.log.Printf("%s"+text.Bold(" %d ")+"%s\n", text.Bold(text.Cyan("::")),
len(allUp.PulledDeps), text.Bold(gotext.Get("%s will also be installed for this operation",
len(allUp.PulledDeps), text.Bold(gotext.Get("%s will also be installed for this operation.",
gotext.GetN("dependency", "dependencies", len(allUp.PulledDeps)))))
allUp.PrintDeps(u.log)
}
Expand All @@ -298,7 +298,7 @@ func (u *UpgradeService) UserExcludeUpgrades(graph *topo.Graph[string, *dep.Inst
len(allUp.Up), text.Bold(gotext.Get("%s to upgrade/install.", gotext.GetN("package", "packages", len(allUp.Up)))))
allUp.Print(u.log)

u.log.Infoln(gotext.Get("%s to exclude: (eg: \"1 2 3\", \"1-3\", \"^4\" or repo name)", gotext.GetN("package", "packages", len(allUp.Up))))
u.log.Infoln(gotext.Get("Packages to exclude: (eg: \"1 2 3\", \"1-3\", \"^4\" or repo name)"))
u.log.Warnln(gotext.Get("Excluding packages may cause partial upgrades and break systems"))

numbers, err := u.log.GetInput(u.cfg.AnswerUpgrade, settings.NoConfirm)
Expand Down

0 comments on commit df3dbfa

Please sign in to comment.