diff --git a/canaille/core/configuration.py b/canaille/core/configuration.py index 0cb54552..0a6db1ba 100644 --- a/canaille/core/configuration.py +++ b/canaille/core/configuration.py @@ -381,5 +381,5 @@ class CoreSettings(BaseModel): If set, user passwords expire after this delay. Users are forced to change their password when the lifetime of the password is over. The duration value is expressed in `ISO8601 format `_. - Example a delay of 60 days is written "P60D". + For example, delay of 60 days is written "P60D". """ diff --git a/canaille/core/models.py b/canaille/core/models.py index 98ba9232..fc332980 100644 --- a/canaille/core/models.py +++ b/canaille/core/models.py @@ -101,7 +101,7 @@ class User(Model): """ password_last_update: datetime.datetime | None = None - """Specifies the last time the entry's password was changed. + """Specifies the last time the user password was changed. By default, the date of creation of the password is retained. """ diff --git a/doc/locales/doc.pot b/doc/locales/doc.pot index b6f4647d..e883fba1 100644 --- a/doc/locales/doc.pot +++ b/doc/locales/doc.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: canaille 0.0.56\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-12-22 16:12+0100\n" +"POT-Creation-Date: 2024-12-22 16:35+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -4414,7 +4414,7 @@ msgstr "" #: ../../docstring of canaille.core.configuration.CoreSettings.PASSWORD_LIFETIME:3 #: 4262b875a3a148dab5e94595cb2a981f -msgid "If set, user passwords expire after this delay. Users are forced to change their password when the lifetime of the password is over. The duration value is expressed in `ISO8601 format `_. Example a delay of 60 days is written \"P60D\"." +msgid "If set, user passwords expire after this delay. Users are forced to change their password when the lifetime of the password is over. The duration value is expressed in `ISO8601 format `_. For example, delay of 60 days is written \"P60D\"." msgstr "" #: ../../docstring of canaille.core.configuration.CoreSettings.SENTRY_DSN:1 @@ -5172,7 +5172,7 @@ msgstr "" #: ../../docstring of canaille.core.models.User.password_last_update:1 #: f1bb412648244da18357a6e88d57836b -msgid "Specifies the last time the entry's password was changed. By default, the date of creation of the password is retained." +msgid "Specifies the last time the user password was changed. By default, the date of creation of the password is retained." msgstr "" #: ../../docstring of canaille.core.models.User.phone_numbers:1