1
# Copyright 2010 Canonical Ltd. This software is licensed under the
2
# GNU Affero General Public License version 3 (see the file LICENSE).
4
from django.conf import settings
5
from django.utils.translation import ugettext_lazy as _
8
class Launchpad(object):
9
template_dir = 'launchpad'
10
name = _('Launchpad Login Service')
11
provides_access = _('A Lauchpad Login Service account is free and gives '
12
'you access to Ubuntu One, the Ubuntu Shop '
13
'and many more usefulservices.')
14
create_account = _('Create a Launchpad Login Service account')
15
server_info = _('This is the Launchpad login service, built on OpenID. '
16
'The service enables you to use your Launchpad account '
17
'to log into OpenID-enabled sites around the Internet.')
21
template_dir = 'ubuntu'
22
name = _('Ubuntu Single Sign On')
23
provides_access = _('An Ubuntu Single Sign On account is free and gives '
24
'you access to Ubuntu One, the Ubuntu Shop '
25
'and many more usefulservices.')
26
create_account = _('Create an Ubuntu Single Sign On account')
27
server_info = _('This is the Ubuntu SSO service, built on OpenID. The '
28
'service enables you to use your Ubuntu SSO account to '
29
'log into various sites run by Canonical and Ubuntu.')
31
current_brand = globals()[settings.BRAND]()