pluserable.strings module

Strings for easy internationalization.

class pluserable.strings.UIStringsBase[source]

Bases: object

A class containing all GUI strings in the application.

User apps can simply subclass and change whatever text they want.

activation_check_email = 'Thank you for registering! Please check your e-mail now. You can continue by clicking the activation link we have sent you. If you do not receive an e-mail in the next 5 minutes please check your spam folder!'
activation_code_not_found = 'That activation code cannot be found in the system. Maybe you already used it -- in this case, just try logging in. If you cannot, (from the login page) click on "Forgot password" to set a password and activate your user.'
activation_code_not_found_title = 'Activation code not found'
activation_code_not_match = 'That code does not belong to that user.'
activation_code_not_match_title = 'Code and user do not match'
activation_email_plain = 'Please validate your email and activate your account by visiting:\nACTIVATION_LINK\n\nThe above link is only valid for one use, so after this process you can delete this email message.'
activation_email_subject = 'Please activate your account!'
activation_email_verified = 'Your e-mail address has been verified. Thank you!'
activation_email_verified_title = 'E-mail verified!'
edit_profile_done = 'Your profile has been updated.'
edit_profile_email_present = 'That email address ({email}) belongs to another user.'
email_domain_blocked = 'The domain {} is not acceptable.'
inactive_account = 'Your account is not active; please check your e-mail.'
login_button = 'Log in'
login_done = 'You are now logged in.'
login_is_blocked = 'Your login attempt was ignored. You must wait {seconds} seconds (until {until} UTC) before retrying. This wait helps prevent brute force attacks on your password. The waiting time is exponentially increased each time the credentials are found incorrect.'
logout_done = 'You have logged out.'
registration_done = 'You have been registered. You may log in now!'
registration_email_exists = 'Sorry, an account with the email {} already exists. Try logging in instead.'
registration_username_exists = 'Sorry, an account with this username already exists. Please enter another one.'
reset_password_done = 'Your password has been reset!'
reset_password_email_body = "Hello, {username}!\n\nSomeone requested resetting your password. If it was you, click here:\n{link}\n\nIf you don't want to change your password, please ignore this email message.\n\nRegards,\n{domain}\n"
reset_password_email_must_exist = 'We have no user with the email "{}". Try correcting this address or trying another.'
reset_password_email_sent = 'Please check your e-mail to finish resetting your password.'
reset_password_email_subject = 'Reset your password'
unacceptable_characters = 'Contains unacceptable characters.'
user_not_found = 'That user cannot be found in the system.'
user_not_found_title = 'User not found'
username_may_not_contain_at = 'May not contain this character: @'
wrong_email = 'Wrong email or password.'
wrong_username = 'Wrong username or password.'
pluserable.strings.get_strings(reg)[source]

Return the configured Strings class.