diff --git a/.gitignore b/.gitignore index f24cd995..7b37eaee 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # Packages *.egg *.egg-info +*.swp dist build eggs diff --git a/lib/yunohost_messages.py b/lib/yunohost_messages.py new file mode 100644 index 00000000..d192cdc5 --- /dev/null +++ b/lib/yunohost_messages.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- + +error = "\033[31m\033[1m" + _("Error:") + "\033[m " +interrupt = "\033[31m\033[1m" + _("Interrupt:") + "\033[m " +notice = "\033[34m\033[1m" + _("Notice:") + "\033[m " +success = "\033[33m\033[1m" + _("Success:") + "\033[m "