From e5bf7282f432d4a1c16a1fdb40b341f2322a2789 Mon Sep 17 00:00:00 2001 From: Augustin-FL Date: Sun, 29 Dec 2024 12:50:44 +0100 Subject: [PATCH] Translate API description in user profile --- fir_api/templates/fir_api/plugins/user_profile.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fir_api/templates/fir_api/plugins/user_profile.html b/fir_api/templates/fir_api/plugins/user_profile.html index ee3e1267..21320bbc 100644 --- a/fir_api/templates/fir_api/plugins/user_profile.html +++ b/fir_api/templates/fir_api/plugins/user_profile.html @@ -6,9 +6,9 @@
FIR API - {% trans "API Access" %}
-

You need to be authenticated in order to use the API. It will accept session or token based authentication. - Tokens can be managed in the administration interface and should be specified as a request header.

- Example:
+

{% trans 'You need to be authenticated in order to use the API. It will accept session or token based authentication.' %} + {% trans 'Tokens can be managed in the administration interface and should be specified as a request header.

' %} + {% trans 'Example:' %}
X-Api: Token {{ user.auth_token.key }}