Fix for when the 'migrate' command drops the custom default language. (Using suggested fix) (#17190)
P.S. No ticket for this Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6af00ee2ce
Коммит
5226aa5ca3
@@ -273,6 +273,10 @@ func configSetCmdF(command *cobra.Command, args []string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func configMigrateCmdF(command *cobra.Command, args []string) error {
|
func configMigrateCmdF(command *cobra.Command, args []string) error {
|
||||||
|
if err := utils.TranslationsPreInit(); err != nil {
|
||||||
|
return errors.Wrap(err, "failed to load translations while migrating config")
|
||||||
|
}
|
||||||
|
|
||||||
from := args[0]
|
from := args[0]
|
||||||
to := args[1]
|
to := args[1]
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user