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:
parent
3584ff189b
commit
92db63d01d
@ -59,6 +59,7 @@ LANGUAGES = (
|
||||
('de', ugettext('German')),
|
||||
('pt', ugettext('Portuguese')),
|
||||
('it', ugettext('Italian')),
|
||||
('eu', ugettext('Basque')),
|
||||
)
|
||||
|
||||
LANGUAGE_COOKIE_NAME = 'uds_lang'
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user