mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge branch 'dev' into enh-dns-autoconf
This commit is contained in:
commit
c8a28882b7
1 changed files with 2 additions and 2 deletions
|
@ -913,8 +913,8 @@ class DisplayTextQuestion(Question):
|
|||
"warning": "yellow",
|
||||
"danger": "red",
|
||||
}
|
||||
text = m18n.g(self.style) if self.style != "danger" else m18n.n("danger")
|
||||
return colorize(text, color[self.style]) + f" {text}"
|
||||
prompt = m18n.g(self.style) if self.style != "danger" else m18n.n("danger")
|
||||
return colorize(prompt, color[self.style]) + f" {text}"
|
||||
else:
|
||||
return text
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue