{% load static %} {% load i18n %}
{% if ppolicy_message %} {% if ppolicy_message_is_html %} {{ ppolicy_message|safe }} {% else %}
{{ ppolicy_message }}
{% endif %} {% else %}

{% trans 'Password Requirements' %}

{% trans 'Passwords must meet the following requirements.' %}

{% if admin %}

{% trans 'Passwords entered by Administrators are only checked for length.' %}

{% endif %} {% if ppolicy.alphabets > 0 %} {% endif %} {% if ppolicy.uppers > 0 %} {% endif %} {% if ppolicy.lowers > 0 %} {% endif %} {% if ppolicy.symbols > 0 %} {% endif %} {% if ppolicy.digits > 0 %} {% endif %} {% if ppolicy.complexity > 0 %} {% endif %} {% if ppolicy.prohibited %} {% endif %} {% if ppolicy.must_not_contain_name %} {% endif %} {% if ppolicy.must_differ_with_old %} {% endif %} {% if ppolicy.must_be_various %} {% endif %} {% if ppolicy.must_be_disorder %} {% endif %}
{% blocktrans context 'password policy' %}length{% endblocktrans %} {% if ppolicy.min > 0 %} {% blocktrans with num=ppolicy.min context 'letters' %}{{ num }} or more{% endblocktrans %} {% endif %} {% if ppolicy.min > 0 and ppolicy.max < 100 %}{% trans ', ' %}{% endif %} {% if ppolicy.max < 100 %} {% blocktrans with num=ppolicy.max context 'letters' %}{{ num }} or less{% endblocktrans %} {% endif %}
{% blocktrans with s=_('Alphabets') %}Number of {{ s }}{% endblocktrans %} {% blocktrans with num=ppolicy.alphabets context 'letters' %}{{ num }} or more{% endblocktrans %}
{% blocktrans with s=_('Uppercases') %}Number of {{ s }}{% endblocktrans %} {% blocktrans with num=ppolicy.uppers context 'letters' %}{{ num }} or more{% endblocktrans %}
{% blocktrans with s=_('Lowercases') %}Number of {{ s }}{% endblocktrans %} {% blocktrans with num=ppolicy.lowers context 'letters' %}{{ num }} or more{% endblocktrans %}
{% blocktrans with s=_('Symbol characters') %}Number of {{ s }}{% endblocktrans %} {% blocktrans with num=ppolicy.symbols context 'letters' %}{{ num }} or more{% endblocktrans %}
{% blocktrans with s=_('Digits') %}Number of {{ s }}{% endblocktrans %} {% blocktrans with num=ppolicy.digits context 'letters' %}{{ num }} or more{% endblocktrans %}
{% blocktrans with s=_('Types of letters') %}Number of {{ s }}{% endblocktrans %} {% blocktrans with num=ppolicy.complexity context 'types' %}{{ num }} or more{% endblocktrans %}
{% trans 'Prohibited characters' %}{{ ppolicy.prohibited }}
{% trans 'Must NOT contain your user name' %}
{% trans 'Must be different from your current password' %}
{% trans 'Must be various' %}
{% trans 'Must be disorder' %}
{% endif %}

{% trans 'The password satisfies these requirements' %}

{% trans 'Please use only letters(a..z and A..Z), numbers(0..9) and allowed special characters' %}

{% trans 'The password is too long' %}

{% trans 'The password is too short' %}

{% trans 'The password does not contain sufficient alphabets' %}

{% trans 'The password does not contain sufficient uppercases' %}

{% trans 'The password does not contain sufficient lowercases' %}

{% trans 'The password does not contain sufficient symbol characters' %}

{% trans 'The password does not contain sufficient digit characters' %}

{% trans 'The password does not meet the complexity requirements' %}

{% trans 'The password contains prohibited characters' %}

{% trans 'The password contains user name' %}

{% trans 'The password is same as old password' %}

{% trans 'The password does not contain enough different characters' %}

{% trans 'The password is too simplistic/systematic' %}

{% trans 'Password and Password (Confirm) does not match' %}