diff --git a/src/core/constants.py b/src/core/constants.py index 57cf14f9..0a1ec95c 100644 --- a/src/core/constants.py +++ b/src/core/constants.py @@ -32,6 +32,7 @@ class Const(object): APP_NAME_FILE = u'sat' APP_NAME_FULL = u'%s (%s)' % (APP_NAME_SHORT, APP_NAME) APP_VERSION = u'0.7.0D' # Please add 'D' at the end for dev versions + APP_RELEASE_NAME = u'La Commune' APP_URL = u'http://salut-a-toi.org' diff --git a/src/core/sat_main.py b/src/core/sat_main.py index 6d870dbc..60ea0fa4 100644 --- a/src/core/sat_main.py +++ b/src/core/sat_main.py @@ -129,14 +129,14 @@ class SAT(service.Service): @property def full_version(self): - """Return the full version of SàT (with extra data when in development mode)""" + """Return the full version of SàT (with release name and extra data when in development mode)""" version = self.version if version[-1] == 'D': # we are in debug version, we add extra data try: return self._version_cache except AttributeError: - self._version_cache = u"{} ({})".format(version, utils.getRepositoryData(sat)) + self._version_cache = u"{} « {} » ({})".format(version, C.APP_RELEASE_NAME, utils.getRepositoryData(sat)) return self._version_cache else: return version