
    wdfr                     d    d dl mZmZ d dlmZ  G d de          Z G d dej                  ZdS )    )ugettext	ungettext)formc                       e Zd ZdZd Zd ZdS )DjangoTranslationszl
    A translations object for WTForms that gets its messages from django's
    translations providers.
    c                      t          |          S N)r   )selfstrings     \/var/www/book.euthymeo.com/html/venv/lib/python3.11/site-packages/wtforms/ext/django/i18n.pygettextzDjangoTranslations.gettext
   s        c                 $    t          |||          S r	   )r   )r
   singularpluralns       r   ngettextzDjangoTranslations.ngettext   s    61---r   N)__name__
__module____qualname____doc__r   r    r   r   r   r      s<              . . . . .r   r   c                   ,    e Zd ZdZ e            Zd ZdS )FormzK
    A Form derivative which uses the translations engine from django.
    c                     | j         S r	   )_django_translations)r
   s    r   _get_translationszForm._get_translations   s    ((r   N)r   r   r   r   r   r   r   r   r   r   r   r      s>          .-//) ) ) ) )r   r   N)django.utils.translationr   r   wtformsr   objectr   r   r   r   r   <module>r!      s    8 8 8 8 8 8 8 8      	. 	. 	. 	. 	. 	. 	. 	.) ) ) ) )49 ) ) ) ) )r   