English update

master-3.5
parent 8a1456c182
commit 5dab34aa14

@ -57,7 +57,7 @@ class ClUpdateProfileAction(Action):
'depend': Tasks.has('migrate_repository')
},
{'name': 'check_datavars',
'error': _("Profile not found in master branch"),
'error': _("Profile not found in master"),
'condition': lambda Get: not Get('update.cl_update_profile_datavars')
},
{'name': 'drop_binhosts',

@ -1021,7 +1021,8 @@ class VariableClUpdateProfileUrl(Variable):
if (repo_name in self.rep_names and
self.Get('cl_action') == self.check_action):
raise CriticalError(
_("You need update repositories before change profile"))
_("You need to update the repositories before "
"you change the profile"))
git = Git()
return git.get_url(profile, "origin") or self.default_url
except CriticalError as e:

Loading…
Cancel
Save