messages + gitignore

This commit is contained in:
Kloadut 2012-10-07 18:00:28 +02:00
parent e527bf71f6
commit ebf1e7d684
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View file

@ -3,6 +3,7 @@
# Packages # Packages
*.egg *.egg
*.egg-info *.egg-info
*.swp
dist dist
build build
eggs eggs

6
lib/yunohost_messages.py Normal file
View file

@ -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 "