Projet

Général

Profil

Bug #73664

filr_rest: remplacer django.utils.translation.ugettext_lazy par ...gettext_lazy

Ajouté par Thomas Noël il y a plus d'un an. Mis à jour il y a plus d'un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
20 janvier 2023
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Faire comme #68576 car dans les warning des tests :

passerelle/apps/filr_rest/models.py:35
  /home/thomas/src/passerelle/passerelle/apps/filr_rest/models.py:35: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
    verbose_name=_('Webservice Base URL'),

passerelle/apps/filr_rest/models.py:38
  /home/thomas/src/passerelle/passerelle/apps/filr_rest/models.py:38: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
    category = _('File Storage')

passerelle/apps/filr_rest/models.py:41
  /home/thomas/src/passerelle/passerelle/apps/filr_rest/models.py:41: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
    verbose_name = _('Filr')

passerelle/apps/filr_rest/models.py:79
  /home/thomas/src/passerelle/passerelle/apps/filr_rest/models.py:79: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
    description=_('Upload a file'),

passerelle/apps/filr_rest/models.py:120
  /home/thomas/src/passerelle/passerelle/apps/filr_rest/models.py:120: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
    description=_('Share a folder to external users'),

passerelle/apps/filr_rest/models.py:151
  /home/thomas/src/passerelle/passerelle/apps/filr_rest/models.py:151: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
    description=_('Delete a folder'),

Révisions associées

Révision 99bf0d0a (diff)
Ajouté par Thomas Noël il y a plus d'un an

filr_rest/django4: replaced ugettext calls with gettext* calls (#73664)

Historique

#1

Mis à jour par Thomas Noël il y a plus d'un an

  • Tracker changé de Support à Bug
#2

Mis à jour par Robot Gitea il y a plus d'un an

  • Statut changé de Nouveau à Solution proposée
  • Assigné à mis à Thomas Noël

Thomas NOEL (tnoel) a ouvert une pull request sur Gitea concernant cette demande :

#3

Mis à jour par Robot Gitea il y a plus d'un an

  • Statut changé de Solution proposée à Solution validée

Emmanuel Cazenave (ecazenave) a approuvé une pull request sur Gitea concernant cette demande :

#4

Mis à jour par Thomas Noël il y a plus d'un an

  • Statut changé de Solution validée à Résolu (à déployer)
commit 99bf0d0a5105f57a365879f261265c82fc3d9ad9
Author: Thomas NOËL <tnoel@entrouvert.com>
Date:   Fri Jan 20 17:27:56 2023 +0100

    filr_rest/django4: replaced ugettext calls with gettext* calls (#73664)

#5

Mis à jour par Transition automatique il y a plus d'un an

  • Statut changé de Résolu (à déployer) à Solution déployée
#6

Mis à jour par Transition automatique il y a environ un an

Automatic expiration

Formats disponibles : Atom PDF