chore: run make fmt and make i18n

This commit is contained in:
Maxim Slipenko 2025-01-22 18:12:26 +03:00
parent 309ecf784f
commit fd643ea6cd
5 changed files with 44 additions and 45 deletions

2
gen.go

@ -34,7 +34,7 @@ func GenCmd() *cli.Command {
Usage: gotext.Get("Generate a ALR script from a template"), Usage: gotext.Get("Generate a ALR script from a template"),
Aliases: []string{"gen"}, Aliases: []string{"gen"},
Subcommands: []*cli.Command{ Subcommands: []*cli.Command{
&cli.Command{ {
Name: "pip", Name: "pip",
Usage: gotext.Get("Generate a ALR script for a pip module"), Usage: gotext.Get("Generate a ALR script for a pip module"),
Flags: []cli.Flag{ Flags: []cli.Flag{

@ -36,7 +36,7 @@ import (
) )
func HelperCmd() *cli.Command { func HelperCmd() *cli.Command {
var helperListCmd = &cli.Command{ helperListCmd := &cli.Command{
Name: "list", Name: "list",
Usage: gotext.Get("List all the available helper commands"), Usage: gotext.Get("List all the available helper commands"),
Aliases: []string{"ls"}, Aliases: []string{"ls"},

@ -37,7 +37,6 @@ import (
) )
func InstallCmd() *cli.Command { func InstallCmd() *cli.Command {
return &cli.Command{ return &cli.Command{
Name: "install", Name: "install",
Usage: gotext.Get("Install a new package"), Usage: gotext.Get("Install a new package"),

@ -27,7 +27,7 @@ msgid ""
msgstr "" msgstr ""
#: build.go:71 #: build.go:71
msgid "Error pulling repos" msgid "Error pulling repositories"
msgstr "" msgstr ""
#: build.go:78 #: build.go:78
@ -66,6 +66,10 @@ msgstr ""
msgid "Unable to create new cache directory" msgid "Unable to create new cache directory"
msgstr "" msgstr ""
#: fix.go:62
msgid "Error pulling repos"
msgstr ""
#: fix.go:66 #: fix.go:66
msgid "Done" msgid "Done"
msgstr "" msgstr ""
@ -102,55 +106,55 @@ msgstr ""
msgid "Show all information, not just for the current distro" msgid "Show all information, not just for the current distro"
msgstr "" msgstr ""
#: info.go:59 #: info.go:57
msgid "Error initialization database"
msgstr ""
#: info.go:64
msgid "Command info expected at least 1 argument, got %d" msgid "Command info expected at least 1 argument, got %d"
msgstr "" msgstr ""
#: info.go:73 #: info.go:78
msgid "Error finding packages" msgid "Error finding packages"
msgstr "" msgstr ""
#: info.go:89 #: info.go:94
msgid "Error parsing os-release file" msgid "Error parsing os-release file"
msgstr "" msgstr ""
#: info.go:98 #: info.go:103
msgid "Error resolving overrides" msgid "Error resolving overrides"
msgstr "" msgstr ""
#: info.go:107 info.go:113 #: info.go:112 info.go:118
msgid "Error encoding script variables" msgid "Error encoding script variables"
msgstr "" msgstr ""
#: install.go:43 #: install.go:42
msgid "Install a new package" msgid "Install a new package"
msgstr "" msgstr ""
#: install.go:57 #: install.go:56
msgid "Command install expected at least 1 argument, got %d" msgid "Command install expected at least 1 argument, got %d"
msgstr "" msgstr ""
#: install.go:70 #: install.go:91
msgid "Error pulling repositories"
msgstr ""
#: install.go:92
msgid "Error getting packages" msgid "Error getting packages"
msgstr "" msgstr ""
#: install.go:101 #: install.go:100
msgid "Error iterating over packages" msgid "Error iterating over packages"
msgstr "" msgstr ""
#: install.go:114 #: install.go:113
msgid "Remove an installed package" msgid "Remove an installed package"
msgstr "" msgstr ""
#: install.go:119 #: install.go:118
msgid "Command remove expected at least 1 argument, got %d" msgid "Command remove expected at least 1 argument, got %d"
msgstr "" msgstr ""
#: install.go:131 #: install.go:130
msgid "Error removing packages" msgid "Error removing packages"
msgstr "" msgstr ""
@ -255,10 +259,6 @@ msgstr ""
msgid "List ALR repo packages" msgid "List ALR repo packages"
msgstr "" msgstr ""
#: list.go:54
msgid "Error initialization database"
msgstr ""
#: list.go:91 #: list.go:91
msgid "Error listing installed packages" msgid "Error listing installed packages"
msgstr "" msgstr ""

@ -35,7 +35,7 @@ msgid ""
msgstr "" msgstr ""
#: build.go:71 #: build.go:71
msgid "Error pulling repos" msgid "Error pulling repositories"
msgstr "" msgstr ""
#: build.go:78 #: build.go:78
@ -74,6 +74,10 @@ msgstr ""
msgid "Unable to create new cache directory" msgid "Unable to create new cache directory"
msgstr "" msgstr ""
#: fix.go:62
msgid "Error pulling repos"
msgstr ""
#: fix.go:66 #: fix.go:66
msgid "Done" msgid "Done"
msgstr "" msgstr ""
@ -110,55 +114,55 @@ msgstr "Напечатать информацию о пакете"
msgid "Show all information, not just for the current distro" msgid "Show all information, not just for the current distro"
msgstr "Показывать всю информацию, а не только для текущего дистрибутива" msgstr "Показывать всю информацию, а не только для текущего дистрибутива"
#: info.go:59 #: info.go:57
msgid "Error initialization database"
msgstr ""
#: info.go:64
msgid "Command info expected at least 1 argument, got %d" msgid "Command info expected at least 1 argument, got %d"
msgstr "" msgstr ""
#: info.go:73 #: info.go:78
msgid "Error finding packages" msgid "Error finding packages"
msgstr "" msgstr ""
#: info.go:89 #: info.go:94
msgid "Error parsing os-release file" msgid "Error parsing os-release file"
msgstr "" msgstr ""
#: info.go:98 #: info.go:103
msgid "Error resolving overrides" msgid "Error resolving overrides"
msgstr "" msgstr ""
#: info.go:107 info.go:113 #: info.go:112 info.go:118
msgid "Error encoding script variables" msgid "Error encoding script variables"
msgstr "" msgstr ""
#: install.go:43 #: install.go:42
msgid "Install a new package" msgid "Install a new package"
msgstr "" msgstr ""
#: install.go:57 #: install.go:56
msgid "Command install expected at least 1 argument, got %d" msgid "Command install expected at least 1 argument, got %d"
msgstr "" msgstr ""
#: install.go:70 #: install.go:91
msgid "Error pulling repositories"
msgstr ""
#: install.go:92
msgid "Error getting packages" msgid "Error getting packages"
msgstr "" msgstr ""
#: install.go:101 #: install.go:100
msgid "Error iterating over packages" msgid "Error iterating over packages"
msgstr "" msgstr ""
#: install.go:114 #: install.go:113
msgid "Remove an installed package" msgid "Remove an installed package"
msgstr "" msgstr ""
#: install.go:119 #: install.go:118
msgid "Command remove expected at least 1 argument, got %d" msgid "Command remove expected at least 1 argument, got %d"
msgstr "" msgstr ""
#: install.go:131 #: install.go:130
msgid "Error removing packages" msgid "Error removing packages"
msgstr "" msgstr ""
@ -263,10 +267,6 @@ msgstr "ОШИБКА"
msgid "List ALR repo packages" msgid "List ALR repo packages"
msgstr "" msgstr ""
#: list.go:54
msgid "Error initialization database"
msgstr ""
#: list.go:91 #: list.go:91
msgid "Error listing installed packages" msgid "Error listing installed packages"
msgstr "" msgstr ""