~nataliabidart/ubuntu-sso-client/no-maximize

« back to all changes in this revision

Viewing changes to ubuntu_sso/gui.py

  • Committer: Tarmac
  • Author(s): natalia.bidart at canonical
  • Date: 2010-08-24 13:32:55 UTC
  • mfrom: (579.1.7 translation-friendly)
  • Revision ID: tarmac-20100824133255-zx0z7p2ro0gzix8z
Added modifications to setup.py and a new po/ directory with the file that has strings that need translation (LP: #616515).

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
 
41
41
_ = gettext.gettext
 
42
gettext.textdomain('ubuntu-sso-client')
 
43
 
42
44
DBusGMainLoop(set_as_default=True)
43
45
logger = setupLogging('ubuntu_sso.gui')
44
46
 
175
177
    PASSWORD_CHANGED = _('Your password was successfully changed.')
176
178
    PASSWORD1_ENTRY = RESET_PASSWORD1_ENTRY = _('Password')
177
179
    PASSWORD2_ENTRY = RESET_PASSWORD2_ENTRY = _('Re-type Password')
178
 
    PASSWORD_HELP = _('The password must have a minimum of 8 characters and '
 
180
    PASSWORD_HELP = _('The password must have a minimum of 8 characters and ' \
179
181
                      'include one uppercase character and one number.')
180
 
    PASSWORD_MISMATCH = _('The passwords don\'t match, please double check '
 
182
    PASSWORD_MISMATCH = _('The passwords don\'t match, please double check ' \
181
183
                          'and try entering them again.')
182
184
    PASSWORD_TOO_WEAK = _('The password is too weak.')
183
185
    REQUEST_PASSWORD_TOKEN_LABEL = _('To reset your password enter your ' \
190
192
                               'along with your new password.')
191
193
    SUCCESS = _('The process finished successfully. Congratulations!')
192
194
    TC = _('Terms & Conditions')
193
 
    TC_NOT_ACCEPTED = _('Agreeing to the Ubuntu One Terms & Conditions is '
 
195
    TC_NOT_ACCEPTED = _('Agreeing to the Ubuntu One Terms & Conditions is ' \
194
196
                        'required to subscribe.')
195
197
    UNKNOWN_ERROR = _('There was an error when trying to complete the ' \
196
198
                      'process. Please check the information and try again.')
197
 
    VERIFY_EMAIL_LABEL = _("""Enter verification code.
198
 
 
199
 
A verification code has just been sent to your email address.
200
 
Please enter your code from the email. An example is shown below.""")
 
199
    VERIFY_EMAIL_LABEL = _('Enter verification code.\n\nA verification code ' \
 
200
                           'has just been sent to your email address.\n' \
 
201
                           'Please enter your code from the email. ' \
 
202
                           'An example is shown below.')
201
203
    YES_TO_TC = _('I agree with the %(app_name)s ')  # Terms&Conditions button
202
204
    YES_TO_UPDATES = _('Yes! Email me %(app_name)s tips and updates.')
203
205