{% extends "base.html" %} {% load i18n %} {% load translations %} {% load authnames %} {% load crispy_forms_tags %} {% block breadcrumbs %}
  • {% trans "Your profile" %}
  • {% endblock %} {% block content %} {% if form.errors or userform.errors or subscriptionform.errors %} {% trans "Please fix errors in the form." as msg %} {% show_message "error" msg %} {% endif %}
    {% csrf_token %}

    {% documentation_icon 'user/profile' 'languages' right=True %}{% trans "Languages" %}

    {% crispy languagesform %}

    {% blocktrans %}Only languages which are currently being translated are listed. If you want to translate to another language, please request it first on the project you want to translate.{% endblocktrans %}

    {% documentation_icon 'user/profile' 'preferences' right=True %}{% trans "Preferences" %}

    {{ usersettingsform|crispy }} {{ dashboardsettingsform|crispy }}

    {% documentation_icon 'user/profile' 'subscriptions' right=True %}{% trans "Watched projects" %}

    {% crispy subscriptionform %}

    {% trans "Watched projects are also shown on dashboard, so choose all projects you want to translate." %}

    {% documentation_icon 'user/profile' 'subscriptions' right=True %}{% trans "Notification settings" %}

    {% for form in notification_forms %}
    {% crispy form %}
    {% endfor %}

    {% documentation_icon 'user/profile' right=True %}{% trans "Account" %}

    {% crispy userform %}

    {% trans "Your name and email will appear as author on the commits." %}

    {% documentation_icon 'user/profile' 'authentication' right=True %}{% trans "Current user identities" %}

    {% for assoc in associated %} {% endfor %}
    {% trans "Identity" %} {% trans "User ID" %} {% trans "Action" %}
    {% trans "Password" %} {{ request.user.username }} {% if request.user.has_usable_password %}{% trans "Change password" %}{% else %}{% trans "Set password" %}{% endif %}
    {% auth_name assoc.provider '' ' ' %} {{ assoc.uid }} {% if associated.count > 1 %} {% trans "Disconnect" %} {% endif %}
    {% if new_backends %}

    {% trans "Add new association" %}

    {% for name in new_backends %} {% auth_name name %} {% endfor %}
    {% endif %}

    {% trans "Removal" %}

    {% trans "Removal of the account deletes all your private data." %}

    {% trans "User data" %}

    {% trans "You can download all your private data." %}

    {% trans "Your summary" %}

    {% with request.user as user %} {% include 'user-activity.html' %} {% endwith %} {% url 'user_page' user=request.user.username as user_page%}
    {% trans "Your public profile" %} {{ user_page }}
    {% if enable_avatars %}

    {% documentation_icon 'user/profile' 'avatar' right=True %}{% trans "Your avatar" %}

    {% endif %}

    {% trans "Description" %}

    {% blocktrans %}Audit log shows important changes on your account. In case you see something suspicious don't hesitate to contact us.{% endblocktrans %}

    {% trans "Audit log" %}

    {% for log in auditlog %} {% if not user.is_demo %} {% else %} {% endif %} {% empty %} {% endfor %}
    {% trans "When" %} {% trans "Account activity" %} {% trans "IP address" %} {% trans "User agent" %}
    {{ log.timestamp|naturaltime }} {{ log.get_message }}{{ log.address }} {{ log.user_agent }}{% trans "Hidden" %} {% trans "Hidden" %}
    {% trans "No recent activity found!" %}

    {% documentation_icon 'api' right=True %}{% trans "API access" %}

    {% blocktrans %}You can control Weblate using HTTP REST API and API key is used to authenticate to it.{% endblocktrans %}

    {% trans "Your personal API key:" %} {{ user.auth_token.key }}
    {% trans "Regenerate API key" %}
    {% trans "API root URL:" %} {{ site_url }}{% url 'api:api-root' %}
    {% trans "API usage example:" %}
    curl \
        -H "Authorization: Token {{ user.auth_token.key }}" \
        {{ site_url }}{% url 'api:api-root' %}
    
    {% trans "CLI usage example:" %}
    wlc \
        --key {{ user.auth_token.key }} \
        --url {{ site_url }}{% url 'api:api-root' %} \
        list-projects
    
    {% if has_gitexport %}

    {% documentation_icon 'admin/optionals' 'git-exporter' right=True %}{% trans "Accessing Git repositories" %}

    {% blocktrans %}The API key is also used to authenticate to automatically exported Git repositories.{% endblocktrans %}

    git clone 'https://{{ user.username }}:{{ user.auth_token.key }}@{{ site_domain }}/git/PROJECT/COMPONENT/'
    {% endif %}

    {% trans "Licenses" %}

    {% trans "Please pay attention to the licensing information as these specify how others are allowed to use your translations." %}

    {% trans "By registering you agree to use your name and email in the commits and provide your contribution under license defined by each translated project." %}

    {% if user.contributoragreement_set.all %}

    {% trans "You have agreed to the following as a contributor:" %}

    {% endif %} {% if licenses %}

    {% trans "Following translations have explicitly specified their licensing and copyright conditions:" %}

    {% for component in licenses %} {% endfor %}
    {% trans "Project" %}{% trans "License" %}
    {{ component }} {% if component.license_url %} {{ component.license }}

    {% else %} {{ component.license }} {% endif %}
    {% endif %}
    {% csrf_token %}
    {% endblock %}