Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main
- master


jobs:
locale-updater:
permissions:
Expand Down Expand Up @@ -34,7 +33,9 @@ jobs:
pip install -e .[dev]

- name: Run locale Update Script
run: python scripts/i18n_updater.py
working-directory:
rest_framework_simplejwt
run: python ../scripts/i18n_updater.py

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
24 changes: 15 additions & 9 deletions rest_framework_simplejwt/locale/ar/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ msgid ""
msgstr ""
"نوع غير معروف '{}'. يجب أن تكون 'leeway' عددًا صحيحًا أو عددًا نسبيًا أو فرق وقت."

#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:58
#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:60
msgid "Token is invalid or expired"
msgstr "تأشيرة المرور غير صالحة أو منتهية الصلاحية"

Expand All @@ -63,7 +63,13 @@ msgstr "تم تحديد خوارزمية غير صالحة"
msgid "No active account found with the given credentials"
msgstr "لم يتم العثور على حساب نشط للبيانات المقدمة"

#: settings.py:73
#: serializers.py:108
#, fuzzy
#| msgid "No active account found with the given credentials"
msgid "No active account found for the given token."
msgstr "لم يتم العثور على حساب نشط للبيانات المقدمة"

#: settings.py:74
msgid ""
"The '{}' setting has been removed. Please refer to '{}' for available "
"settings."
Expand All @@ -90,30 +96,30 @@ msgstr "تنتهي في"
msgid "Token Blacklist"
msgstr "قائمة تأشيرات المرور السوداء"

#: tokens.py:44
#: tokens.py:46
msgid "Cannot create token with no type or lifetime"
msgstr "لا يمكن إنشاء تأشيرة مرور بدون نوع أو عمر"

#: tokens.py:116
#: tokens.py:118
msgid "Token has no id"
msgstr "التأشيرة ليس لها معرف"

#: tokens.py:128
#: tokens.py:130
msgid "Token has no type"
msgstr "التأشيرة ليس لها نوع"

#: tokens.py:131
#: tokens.py:133
msgid "Token has wrong type"
msgstr "التأشيرة لها نوع خاطئ"

#: tokens.py:190
#: tokens.py:192
msgid "Token has no '{}' claim"
msgstr "التأشيرة ليس لديها مطالبة '{}'"

#: tokens.py:195
#: tokens.py:197
msgid "Token '{}' claim has expired"
msgstr "انتهى عمر المطالبة بالتأشيرة '{}'"

#: tokens.py:257
#: tokens.py:259
msgid "Token is blacklisted"
msgstr "التأشيرة مدرجة في القائمة السوداء"
24 changes: 15 additions & 9 deletions rest_framework_simplejwt/locale/cs/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ msgid ""
"Unrecognized type '{}', 'leeway' must be of type int, float or timedelta."
msgstr ""

#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:58
#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:60
msgid "Token is invalid or expired"
msgstr "Token není validní nebo vypršela jeho platnost"

Expand All @@ -60,7 +60,13 @@ msgstr ""
msgid "No active account found with the given credentials"
msgstr "Žádný aktivní účet s danými údaji nebyl nalezen"

#: settings.py:73
#: serializers.py:108
#, fuzzy
#| msgid "No active account found with the given credentials"
msgid "No active account found for the given token."
msgstr "Žádný aktivní účet s danými údaji nebyl nalezen"

#: settings.py:74
msgid ""
"The '{}' setting has been removed. Please refer to '{}' for available "
"settings."
Expand All @@ -86,30 +92,30 @@ msgstr "platí do"
msgid "Token Blacklist"
msgstr "Token Blacklist"

#: tokens.py:44
#: tokens.py:46
msgid "Cannot create token with no type or lifetime"
msgstr "Nelze vytvořit token bez zadaného typu nebo životnosti"

#: tokens.py:116
#: tokens.py:118
msgid "Token has no id"
msgstr "Token nemá žádný identifikátor"

#: tokens.py:128
#: tokens.py:130
msgid "Token has no type"
msgstr "Token nemá žádný typ"

#: tokens.py:131
#: tokens.py:133
msgid "Token has wrong type"
msgstr "Token má špatný typ"

#: tokens.py:190
#: tokens.py:192
msgid "Token has no '{}' claim"
msgstr "Token nemá žádnou hodnotu '{}'"

#: tokens.py:195
#: tokens.py:197
msgid "Token '{}' claim has expired"
msgstr "Hodnota tokenu '{}' vypršela"

#: tokens.py:257
#: tokens.py:259
msgid "Token is blacklisted"
msgstr "Token je na černé listině"
24 changes: 15 additions & 9 deletions rest_framework_simplejwt/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ msgid ""
"Unrecognized type '{}', 'leeway' must be of type int, float or timedelta."
msgstr ""

#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:58
#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:60
msgid "Token is invalid or expired"
msgstr "Ungültiger oder abgelaufener Token"

Expand All @@ -62,7 +62,13 @@ msgstr ""
msgid "No active account found with the given credentials"
msgstr "Kein aktiver Account mit diesen Zugangsdaten gefunden"

#: settings.py:73
#: serializers.py:108
#, fuzzy
#| msgid "No active account found with the given credentials"
msgid "No active account found for the given token."
msgstr "Kein aktiver Account mit diesen Zugangsdaten gefunden"

#: settings.py:74
msgid ""
"The '{}' setting has been removed. Please refer to '{}' for available "
"settings."
Expand Down Expand Up @@ -90,30 +96,30 @@ msgstr "läuft ab am"
msgid "Token Blacklist"
msgstr "Token Blacklist"

#: tokens.py:44
#: tokens.py:46
msgid "Cannot create token with no type or lifetime"
msgstr "Ein Token ohne Typ oder Lebensdauer kann nicht erstellt werden"

#: tokens.py:116
#: tokens.py:118
msgid "Token has no id"
msgstr "Token hat keine Id"

#: tokens.py:128
#: tokens.py:130
msgid "Token has no type"
msgstr "Token hat keinen Typ"

#: tokens.py:131
#: tokens.py:133
msgid "Token has wrong type"
msgstr "Token hat den falschen Typ"

#: tokens.py:190
#: tokens.py:192
msgid "Token has no '{}' claim"
msgstr "Token hat kein '{}' Recht"

#: tokens.py:195
#: tokens.py:197
msgid "Token '{}' claim has expired"
msgstr "Das Tokenrecht '{}' ist abgelaufen"

#: tokens.py:257
#: tokens.py:259
msgid "Token is blacklisted"
msgstr "Token steht auf der Blacklist"
24 changes: 15 additions & 9 deletions rest_framework_simplejwt/locale/es/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ msgid ""
"Unrecognized type '{}', 'leeway' must be of type int, float or timedelta."
msgstr ""

#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:58
#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:60
msgid "Token is invalid or expired"
msgstr "El token es inválido o ha expirado"

Expand All @@ -62,7 +62,13 @@ msgstr "Algoritmo especificado no válido"
msgid "No active account found with the given credentials"
msgstr "La combinación de credenciales no tiene una cuenta activa"

#: settings.py:73
#: serializers.py:108
#, fuzzy
#| msgid "No active account found with the given credentials"
msgid "No active account found for the given token."
msgstr "La combinación de credenciales no tiene una cuenta activa"

#: settings.py:74
msgid ""
"The '{}' setting has been removed. Please refer to '{}' for available "
"settings."
Expand Down Expand Up @@ -90,30 +96,30 @@ msgstr "expira en"
msgid "Token Blacklist"
msgstr "Lista negra de Tokens"

#: tokens.py:44
#: tokens.py:46
msgid "Cannot create token with no type or lifetime"
msgstr "No se puede crear un token sin tipo o de tan larga vida"

#: tokens.py:116
#: tokens.py:118
msgid "Token has no id"
msgstr "El token no tiene id"

#: tokens.py:128
#: tokens.py:130
msgid "Token has no type"
msgstr "El token no tiene tipo"

#: tokens.py:131
#: tokens.py:133
msgid "Token has wrong type"
msgstr "El token tiene un tipo incorrecto"

#: tokens.py:190
#: tokens.py:192
msgid "Token has no '{}' claim"
msgstr "El token no tiene el privilegio '{}'"

#: tokens.py:195
#: tokens.py:197
msgid "Token '{}' claim has expired"
msgstr "El privilegio '{}' del token ha expirado"

#: tokens.py:257
#: tokens.py:259
msgid "Token is blacklisted"
msgstr "El token está en lista negra"
25 changes: 16 additions & 9 deletions rest_framework_simplejwt/locale/es_AR/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgid ""
"Unrecognized type '{}', 'leeway' must be of type int, float or timedelta."
msgstr ""

#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:58
#: backends.py:104 backends.py:154 exceptions.py:47 tokens.py:60
msgid "Token is invalid or expired"
msgstr "El token es inválido o ha expirado"

Expand All @@ -68,7 +68,14 @@ msgid "No active account found with the given credentials"
msgstr ""
"No se encontró una cuenta de usuario activa para las credenciales dadas"

#: settings.py:73
#: serializers.py:108
#, fuzzy
#| msgid "No active account found with the given credentials"
msgid "No active account found for the given token."
msgstr ""
"No se encontró una cuenta de usuario activa para las credenciales dadas"

#: settings.py:74
msgid ""
"The '{}' setting has been removed. Please refer to '{}' for available "
"settings."
Expand Down Expand Up @@ -96,30 +103,30 @@ msgstr "expira en"
msgid "Token Blacklist"
msgstr "Lista negra de Tokens"

#: tokens.py:44
#: tokens.py:46
msgid "Cannot create token with no type or lifetime"
msgstr "No es posible crear un token sin tipo o tiempo de vida"

#: tokens.py:116
#: tokens.py:118
msgid "Token has no id"
msgstr "El token no tiene id"

#: tokens.py:128
#: tokens.py:130
msgid "Token has no type"
msgstr "El token no tiene tipo"

#: tokens.py:131
#: tokens.py:133
msgid "Token has wrong type"
msgstr "El token tiene un tipo incorrecto"

#: tokens.py:190
#: tokens.py:192
msgid "Token has no '{}' claim"
msgstr "El token no tiene el privilegio '{}'"

#: tokens.py:195
#: tokens.py:197
msgid "Token '{}' claim has expired"
msgstr "El privilegio '{}' del token ha expirado"

#: tokens.py:257
#: tokens.py:259
msgid "Token is blacklisted"
msgstr "El token está en la lista negra"
Loading
Loading