Projet

Général

Profil

0001-manager-remove-dubious-non-breakable-spaces-in-trans.patch

Nicolas Roche, 01 octobre 2020 09:23

Télécharger (6,28 ko)

Voir les différences:

Subject: [PATCH] manager: remove dubious non-breakable spaces in translatable
 strings (#47206)

 .../templates/authentic2/manager/role_members_table.html        | 2 +-
 .../templates/authentic2/manager/service_roles_table.html       | 2 +-
 .../templates/authentic2/manager/user_authorizations_table.html | 2 +-
 .../manager/templates/authentic2/manager/user_roles_table.html  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
src/authentic2/manager/templates/authentic2/manager/role_members_table.html
1 1
{% extends "authentic2/manager/table.html" %}
2 2

  
3 3
{% load i18n %}
4 4

  
5 5
  {% block table.head.last.column %}
6 6
    <th></th>
7 7
  {% endblock %}
8 8
  {% block table.tbody.last.column %}
9
  <td class="remove-icon-column">{% if table.context.view.can_manage_members and row.record.direct %}<a class="js-remove-object" data-confirm="{% blocktrans with username=row.record.get_full_name role=table.context.object %}Do you really want to remove user &quot;{{ username }}&quot; from role &quot;{{ role }}&quot;&nbsp;?{% endblocktrans %}" href="#" data-pk-arg="user"><span class="icon-remove-sign"></span></a>{% endif %}</td>
9
  <td class="remove-icon-column">{% if table.context.view.can_manage_members and row.record.direct %}<a class="js-remove-object" data-confirm="{% blocktrans with username=row.record.get_full_name role=table.context.object %}Do you really want to remove user &quot;{{ username }}&quot; from role &quot;{{ role }}&quot;?{% endblocktrans %}" href="#" data-pk-arg="user"><span class="icon-remove-sign"></span></a>{% endif %}</td>
10 10
  {% endblock %}
src/authentic2/manager/templates/authentic2/manager/service_roles_table.html
1 1
{% extends "authentic2/manager/table.html" %}
2 2

  
3 3
{% load i18n %}
4 4

  
5 5
  {% block table.head.last.column %}
6 6
    <th></th>
7 7
  {% endblock %}
8 8
  {% block table.tbody.last.column %}
9
    <td class="remove-icon-column">{% if table.context.view.can_change %}<a class="js-remove-object" data-confirm="{% blocktrans with name=row.record.name slug=table.context.object %}Do you really want to remove role &quot;{{ name }}&quot; from service &quot;{{ slug }}&quot;&nbsp;?{% endblocktrans %}" href="#" data-pk-arg="role"><span class="icon-remove-sign"></span></a>{% endif %}</td>
9
    <td class="remove-icon-column">{% if table.context.view.can_change %}<a class="js-remove-object" data-confirm="{% blocktrans with name=row.record.name slug=table.context.object %}Do you really want to remove role &quot;{{ name }}&quot; from service &quot;{{ slug }}&quot;?{% endblocktrans %}" href="#" data-pk-arg="role"><span class="icon-remove-sign"></span></a>{% endif %}</td>
10 10
  {% endblock %}
src/authentic2/manager/templates/authentic2/manager/user_authorizations_table.html
4 4

  
5 5
{% block table.head.last.column %}
6 6
<th></th>
7 7
{% endblock %}
8 8

  
9 9
{% block table.tbody.last.column %}
10 10
<td class="remove-icon-column">
11 11
  <a class="{% if not table.context.view.can_manage_authorizations %} disabled {% else %} js-remove-object {% endif %}"
12
     data-confirm="{% blocktrans with client=row.record.client username=table.context.object.get_full_name %}Do you really want to remove &quot;{{ client }}&quot; service granted access to &quot;{{ username }}&quot; profile data &nbsp;?{% endblocktrans %}"
12
     data-confirm="{% blocktrans with client=row.record.client username=table.context.object.get_full_name %}Do you really want to remove &quot;{{ client }}&quot; service granted access to &quot;{{ username }}&quot; profile data?{% endblocktrans %}"
13 13
     href="#" data-pk-arg="auth_id">
14 14
    <span class="icon-remove-sign"></span>
15 15
  </a>
16 16
</td>
17 17
{% endblock %}
18 18

  
src/authentic2/manager/templates/authentic2/manager/user_roles_table.html
3 3
{% load i18n %}
4 4

  
5 5
  {% block table.head.last.column %}
6 6
    <th></th>
7 7
  {% endblock %}
8 8
  {% block table.tbody.last.column %}
9 9
  <td class="remove-icon-column">
10 10
    {% if table.context.view.can_change and row.record.member %}
11
      <a class="{% if not row.record.can_manage_members %} disabled {% else %} js-remove-object {% endif %}" data-confirm="{% blocktrans with name=row.record.name username=table.context.object.get_full_name %}Do you really want to remove role &quot;{{ name }}&quot; from user &quot;{{ username }}&quot;&nbsp;?{% endblocktrans %}" href="#" data-pk-arg="role" title="{% if not row.record.can_manage_members %}{% trans "This role is synchronised from LDAP, changing members is not allowed." %}{% endif %}"><span class="icon-remove-sign"></span></a>
11
      <a class="{% if not row.record.can_manage_members %} disabled {% else %} js-remove-object {% endif %}" data-confirm="{% blocktrans with name=row.record.name username=table.context.object.get_full_name %}Do you really want to remove role &quot;{{ name }}&quot; from user &quot;{{ username }}&quot;?{% endblocktrans %}" href="#" data-pk-arg="role" title="{% if not row.record.can_manage_members %}{% trans "This role is synchronised from LDAP, changing members is not allowed." %}{% endif %}"><span class="icon-remove-sign"></span></a>
12 12
    {% endif %}
13 13
  </td>
14 14
  {% endblock %}
15
-