diff --git a/server/src/server/settings.py.sample b/server/src/server/settings.py.sample index 7fb39e7d9..456d4fd85 100644 --- a/server/src/server/settings.py.sample +++ b/server/src/server/settings.py.sample @@ -59,6 +59,7 @@ LANGUAGES = ( ('de', ugettext('German')), ('pt', ugettext('Portuguese')), ('it', ugettext('Italian')), + ('eu', ugettext('Basque')), ) LANGUAGE_COOKIE_NAME = 'uds_lang' diff --git a/server/src/uds/web/views/service.py b/server/src/uds/web/views/service.py index 240f4ebb0..861874634 100644 --- a/server/src/uds/web/views/service.py +++ b/server/src/uds/web/views/service.py @@ -53,7 +53,7 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2015-05-27' +__updated__ = '2015-06-05' @webLoginRequired(admin=False) @@ -135,7 +135,7 @@ def clientEnabler(request, idService, idTransport): error += ' (code {0:04X})'.format(e.code) except MaxServicesReachedError: logger.info('Number of service reached MAX for service pool "{}"'.format(idService)) - error = _('Maximum number of services reached. Contact your administrator') + error = errors.errorString(errors.MAX_SERVICES_REACHED) except Exception as e: logger.exception('Error') error = six.text_type(e)