1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-08 21:18:00 +03:00

Added Basque to sample language list and fixed a literal on services

This commit is contained in:
Adolfo Gómez García 2015-06-05 13:01:30 +02:00
parent 3584ff189b
commit 92db63d01d
2 changed files with 3 additions and 2 deletions

View File

@ -59,6 +59,7 @@ LANGUAGES = (
('de', ugettext('German')),
('pt', ugettext('Portuguese')),
('it', ugettext('Italian')),
('eu', ugettext('Basque')),
)
LANGUAGE_COOKIE_NAME = 'uds_lang'

View File

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