diff --git a/i18n/admin.pot b/i18n/admin.pot index e13dec20b..da6eab140 100644 --- a/i18n/admin.pot +++ b/i18n/admin.pot @@ -1,33 +1,33 @@ # Translations template for starlette-admin. -# Copyright (C) 2023 ORGANIZATION +# Copyright (C) 2026 ORGANIZATION # This file is distributed under the same license as the starlette-admin # project. -# FIRST AUTHOR , 2023. +# FIRST AUTHOR , 2026. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: starlette-admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-10-28 16:32-0500\n" +"POT-Creation-Date: 2026-04-22 14:12+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.13.0\n" +"Generated-By: Babel 2.18.0\n" #: starlette_admin/actions.py:11 starlette_admin/actions.py:107 #: starlette_admin/templates/modals/actions.html:12 msgid "Yes, Proceed" msgstr "" -#: starlette_admin/auth.py:31 +#: starlette_admin/auth.py:37 msgid "Administrator" msgstr "" -#: starlette_admin/base.py:44 starlette_admin/contrib/odmantic/admin.py:17 +#: starlette_admin/base.py:53 starlette_admin/contrib/odmantic/admin.py:17 #: starlette_admin/contrib/sqla/admin.py:28 #: starlette_admin/templates/create.html:7 #: starlette_admin/templates/detail.html:8 @@ -35,45 +35,49 @@ msgstr "" msgid "Admin" msgstr "" -#: starlette_admin/base.py:254 +#: starlette_admin/base.py:293 #, python-format msgid "Model with identity %(identity)s not found" msgstr "" #: starlette_admin/templates/forms/_delete.html:8 -#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:461 -#: starlette_admin/views.py:498 +#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:463 +#: starlette_admin/views.py:500 msgid "Delete" msgstr "" -#: starlette_admin/views.py:462 +#: starlette_admin/views.py:464 msgid "Are you sure you want to delete selected items?" msgstr "" -#: starlette_admin/views.py:463 +#: starlette_admin/views.py:465 msgid "Yes, delete all" msgstr "" -#: starlette_admin/views.py:468 starlette_admin/views.py:507 +#: starlette_admin/views.py:471 starlette_admin/views.py:509 #, python-format msgid "Item was successfully deleted" msgid_plural "%(count)d items were successfully deleted" msgstr[0] "" msgstr[1] "" -#: starlette_admin/views.py:476 +#: starlette_admin/views.py:478 msgid "View" msgstr "" -#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:488 +#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:490 msgid "Edit" msgstr "" -#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:499 +#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:501 msgid "Are you sure you want to delete this item?" msgstr "" -#: starlette_admin/views.py:818 +#: starlette_admin/views.py:503 +msgid "Yes, delete" +msgstr "" + +#: starlette_admin/views.py:907 msgid "All" msgstr "" @@ -117,11 +121,16 @@ msgstr "" msgid "Detail" msgstr "" -#: starlette_admin/templates/detail.html:47 +#: starlette_admin/templates/detail.html:53 +#: starlette_admin/templates/list.html:67 +msgid "Search" +msgstr "" + +#: starlette_admin/templates/detail.html:64 msgid "Attribute" msgstr "" -#: starlette_admin/templates/detail.html:48 +#: starlette_admin/templates/detail.html:65 msgid "Value" msgstr "" @@ -138,25 +147,23 @@ msgstr "" msgid "Take me home" msgstr "" -#: starlette_admin/templates/layout.html:95 -#: starlette_admin/templates/layout.html:118 -#: starlette_admin/templates/layout.html:204 +#: starlette_admin/templates/layout.html:96 +#: starlette_admin/templates/layout.html:119 +#: starlette_admin/templates/layout.html:237 msgid "Logout" msgstr "" -#: starlette_admin/templates/list.html:67 -msgid "Search" -msgstr "" - #: starlette_admin/templates/login.html:16 msgid "Login to your account" msgstr "" #: starlette_admin/templates/login.html:32 +#: starlette_admin/templates/login.html:36 msgid "Username" msgstr "" #: starlette_admin/templates/login.html:43 +#: starlette_admin/templates/login.html:47 msgid "Password" msgstr "" @@ -173,7 +180,7 @@ msgid "Actions" msgstr "" #: starlette_admin/templates/forms/_delete.html:13 -msgid "Checked this to delete current content of this field" +msgid "Check this to delete the current content of this field" msgstr "" #: starlette_admin/templates/forms/enum.html:5 diff --git a/starlette_admin/translations/de/LC_MESSAGES/admin.mo b/starlette_admin/translations/de/LC_MESSAGES/admin.mo index c9fb63298..f0f38166a 100644 Binary files a/starlette_admin/translations/de/LC_MESSAGES/admin.mo and b/starlette_admin/translations/de/LC_MESSAGES/admin.mo differ diff --git a/starlette_admin/translations/de/LC_MESSAGES/admin.po b/starlette_admin/translations/de/LC_MESSAGES/admin.po index 7da2c034e..732a775d9 100644 --- a/starlette_admin/translations/de/LC_MESSAGES/admin.po +++ b/starlette_admin/translations/de/LC_MESSAGES/admin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: starlette-admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2024-03-07 16:31+0000\n" +"POT-Creation-Date: 2026-04-22 14:12+0200\n" "PO-Revision-Date: 2024-03-07 16:50+0000\n" "Last-Translator: FULL NAME \n" "Language: de\n" @@ -17,18 +17,18 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.13.0\n" +"Generated-By: Babel 2.18.0\n" #: starlette_admin/actions.py:11 starlette_admin/actions.py:107 #: starlette_admin/templates/modals/actions.html:12 msgid "Yes, Proceed" msgstr "Ja, fortfahren" -#: starlette_admin/auth.py:31 +#: starlette_admin/auth.py:37 msgid "Administrator" msgstr "Administrator" -#: starlette_admin/base.py:44 starlette_admin/contrib/odmantic/admin.py:17 +#: starlette_admin/base.py:53 starlette_admin/contrib/odmantic/admin.py:17 #: starlette_admin/contrib/sqla/admin.py:28 #: starlette_admin/templates/create.html:7 #: starlette_admin/templates/detail.html:8 @@ -36,45 +36,49 @@ msgstr "Administrator" msgid "Admin" msgstr "Admin" -#: starlette_admin/base.py:254 +#: starlette_admin/base.py:293 #, python-format msgid "Model with identity %(identity)s not found" msgstr "Modell mit Identität %(identity)s wurde nicht gefunden" #: starlette_admin/templates/forms/_delete.html:8 -#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:461 -#: starlette_admin/views.py:498 +#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:463 +#: starlette_admin/views.py:500 msgid "Delete" msgstr "Löschen" -#: starlette_admin/views.py:462 +#: starlette_admin/views.py:464 msgid "Are you sure you want to delete selected items?" msgstr "Sind Sie sicher, dass Sie die ausgewählten Elemente löschen möchten?" -#: starlette_admin/views.py:463 +#: starlette_admin/views.py:465 msgid "Yes, delete all" msgstr "Ja, alles löschen" -#: starlette_admin/views.py:468 starlette_admin/views.py:507 +#: starlette_admin/views.py:471 starlette_admin/views.py:509 #, python-format msgid "Item was successfully deleted" msgid_plural "%(count)d items were successfully deleted" msgstr[0] "Element wurde erfolgreich gelöscht" msgstr[1] "%(count)d Elemente wurden erfolgreich gelöscht" -#: starlette_admin/views.py:476 +#: starlette_admin/views.py:478 msgid "View" msgstr "Ansehen" -#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:488 +#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:490 msgid "Edit" msgstr "Bearbeiten" -#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:499 +#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:501 msgid "Are you sure you want to delete this item?" msgstr "Sind Sie sicher, dass Sie dieses Element löschen möchten?" -#: starlette_admin/views.py:818 +#: starlette_admin/views.py:503 +msgid "Yes, delete" +msgstr "Ja, löschen" + +#: starlette_admin/views.py:907 msgid "All" msgstr "Alle" @@ -118,11 +122,16 @@ msgstr "Speichern" msgid "Detail" msgstr "Detail" -#: starlette_admin/templates/detail.html:47 +#: starlette_admin/templates/detail.html:53 +#: starlette_admin/templates/list.html:67 +msgid "Search" +msgstr "Suchen" + +#: starlette_admin/templates/detail.html:64 msgid "Attribute" msgstr "Attribut" -#: starlette_admin/templates/detail.html:48 +#: starlette_admin/templates/detail.html:65 msgid "Value" msgstr "Wert" @@ -139,25 +148,23 @@ msgstr "Ups… Sie haben gerade eine Fehlerseite gefunden" msgid "Take me home" msgstr "Zur Startseite" -#: starlette_admin/templates/layout.html:95 -#: starlette_admin/templates/layout.html:118 -#: starlette_admin/templates/layout.html:204 +#: starlette_admin/templates/layout.html:96 +#: starlette_admin/templates/layout.html:119 +#: starlette_admin/templates/layout.html:237 msgid "Logout" msgstr "Abmelden" -#: starlette_admin/templates/list.html:67 -msgid "Search" -msgstr "Suchen" - #: starlette_admin/templates/login.html:16 msgid "Login to your account" msgstr "Melden Sie sich bei Ihrem Konto an" #: starlette_admin/templates/login.html:32 +#: starlette_admin/templates/login.html:36 msgid "Username" msgstr "Benutzername" #: starlette_admin/templates/login.html:43 +#: starlette_admin/templates/login.html:47 msgid "Password" msgstr "Passwort" diff --git a/starlette_admin/translations/en/LC_MESSAGES/admin.mo b/starlette_admin/translations/en/LC_MESSAGES/admin.mo index 3cff8aa89..50511b71d 100644 Binary files a/starlette_admin/translations/en/LC_MESSAGES/admin.mo and b/starlette_admin/translations/en/LC_MESSAGES/admin.mo differ diff --git a/starlette_admin/translations/en/LC_MESSAGES/admin.po b/starlette_admin/translations/en/LC_MESSAGES/admin.po index dc3c49bd6..993bca0df 100644 --- a/starlette_admin/translations/en/LC_MESSAGES/admin.po +++ b/starlette_admin/translations/en/LC_MESSAGES/admin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: starlette-admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-10-28 16:32-0500\n" +"POT-Creation-Date: 2026-04-22 14:12+0200\n" "PO-Revision-Date: 2022-12-25 13:16+0100\n" "Last-Translator: FULL NAME \n" "Language: en\n" @@ -17,18 +17,18 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.13.0\n" +"Generated-By: Babel 2.18.0\n" #: starlette_admin/actions.py:11 starlette_admin/actions.py:107 #: starlette_admin/templates/modals/actions.html:12 msgid "Yes, Proceed" msgstr "" -#: starlette_admin/auth.py:31 +#: starlette_admin/auth.py:37 msgid "Administrator" msgstr "" -#: starlette_admin/base.py:44 starlette_admin/contrib/odmantic/admin.py:17 +#: starlette_admin/base.py:53 starlette_admin/contrib/odmantic/admin.py:17 #: starlette_admin/contrib/sqla/admin.py:28 #: starlette_admin/templates/create.html:7 #: starlette_admin/templates/detail.html:8 @@ -36,45 +36,49 @@ msgstr "" msgid "Admin" msgstr "" -#: starlette_admin/base.py:254 +#: starlette_admin/base.py:293 #, python-format msgid "Model with identity %(identity)s not found" msgstr "" #: starlette_admin/templates/forms/_delete.html:8 -#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:461 -#: starlette_admin/views.py:498 +#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:463 +#: starlette_admin/views.py:500 msgid "Delete" msgstr "" -#: starlette_admin/views.py:462 +#: starlette_admin/views.py:464 msgid "Are you sure you want to delete selected items?" msgstr "" -#: starlette_admin/views.py:463 +#: starlette_admin/views.py:465 msgid "Yes, delete all" msgstr "" -#: starlette_admin/views.py:468 starlette_admin/views.py:507 +#: starlette_admin/views.py:471 starlette_admin/views.py:509 #, python-format msgid "Item was successfully deleted" msgid_plural "%(count)d items were successfully deleted" msgstr[0] "" msgstr[1] "" -#: starlette_admin/views.py:476 +#: starlette_admin/views.py:478 msgid "View" msgstr "" -#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:488 +#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:490 msgid "Edit" msgstr "" -#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:499 +#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:501 msgid "Are you sure you want to delete this item?" msgstr "" -#: starlette_admin/views.py:818 +#: starlette_admin/views.py:503 +msgid "Yes, delete" +msgstr "" + +#: starlette_admin/views.py:907 msgid "All" msgstr "" @@ -118,11 +122,16 @@ msgstr "" msgid "Detail" msgstr "" -#: starlette_admin/templates/detail.html:47 +#: starlette_admin/templates/detail.html:53 +#: starlette_admin/templates/list.html:67 +msgid "Search" +msgstr "" + +#: starlette_admin/templates/detail.html:64 msgid "Attribute" msgstr "" -#: starlette_admin/templates/detail.html:48 +#: starlette_admin/templates/detail.html:65 msgid "Value" msgstr "" @@ -139,25 +148,23 @@ msgstr "" msgid "Take me home" msgstr "" -#: starlette_admin/templates/layout.html:95 -#: starlette_admin/templates/layout.html:118 -#: starlette_admin/templates/layout.html:204 +#: starlette_admin/templates/layout.html:96 +#: starlette_admin/templates/layout.html:119 +#: starlette_admin/templates/layout.html:237 msgid "Logout" msgstr "" -#: starlette_admin/templates/list.html:67 -msgid "Search" -msgstr "" - #: starlette_admin/templates/login.html:16 msgid "Login to your account" msgstr "" #: starlette_admin/templates/login.html:32 +#: starlette_admin/templates/login.html:36 msgid "Username" msgstr "" #: starlette_admin/templates/login.html:43 +#: starlette_admin/templates/login.html:47 msgid "Password" msgstr "" diff --git a/starlette_admin/translations/fr/LC_MESSAGES/admin.mo b/starlette_admin/translations/fr/LC_MESSAGES/admin.mo index 67065ec24..3a0de79d7 100644 Binary files a/starlette_admin/translations/fr/LC_MESSAGES/admin.mo and b/starlette_admin/translations/fr/LC_MESSAGES/admin.mo differ diff --git a/starlette_admin/translations/fr/LC_MESSAGES/admin.po b/starlette_admin/translations/fr/LC_MESSAGES/admin.po index 2ccfc0735..bb2051805 100644 --- a/starlette_admin/translations/fr/LC_MESSAGES/admin.po +++ b/starlette_admin/translations/fr/LC_MESSAGES/admin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: starlette-admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-10-28 16:32-0500\n" +"POT-Creation-Date: 2026-04-22 14:12+0200\n" "PO-Revision-Date: 2022-12-24 18:16+0100\n" "Last-Translator: FULL NAME \n" "Language: fr\n" @@ -17,18 +17,18 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.13.0\n" +"Generated-By: Babel 2.18.0\n" #: starlette_admin/actions.py:11 starlette_admin/actions.py:107 #: starlette_admin/templates/modals/actions.html:12 msgid "Yes, Proceed" msgstr "Oui, Continuez" -#: starlette_admin/auth.py:31 +#: starlette_admin/auth.py:37 msgid "Administrator" msgstr "Administrateur" -#: starlette_admin/base.py:44 starlette_admin/contrib/odmantic/admin.py:17 +#: starlette_admin/base.py:53 starlette_admin/contrib/odmantic/admin.py:17 #: starlette_admin/contrib/sqla/admin.py:28 #: starlette_admin/templates/create.html:7 #: starlette_admin/templates/detail.html:8 @@ -36,45 +36,49 @@ msgstr "Administrateur" msgid "Admin" msgstr "Administration" -#: starlette_admin/base.py:254 +#: starlette_admin/base.py:293 #, python-format msgid "Model with identity %(identity)s not found" msgstr "Le model ayant pour identité %(identity)s n'existe pas" #: starlette_admin/templates/forms/_delete.html:8 -#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:461 -#: starlette_admin/views.py:498 +#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:463 +#: starlette_admin/views.py:500 msgid "Delete" msgstr "Supprimer" -#: starlette_admin/views.py:462 +#: starlette_admin/views.py:464 msgid "Are you sure you want to delete selected items?" msgstr "Êtes-vous sûr de vouloir supprimer ces éléments?" -#: starlette_admin/views.py:463 +#: starlette_admin/views.py:465 msgid "Yes, delete all" msgstr "Oui, supprimer tout" -#: starlette_admin/views.py:468 starlette_admin/views.py:507 +#: starlette_admin/views.py:471 starlette_admin/views.py:509 #, python-format msgid "Item was successfully deleted" msgid_plural "%(count)d items were successfully deleted" msgstr[0] "L'élément a été supprimé avec succès" msgstr[1] "%(count)d éléments ont été supprimés avec succès" -#: starlette_admin/views.py:476 +#: starlette_admin/views.py:478 msgid "View" msgstr "Afficher" -#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:488 +#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:490 msgid "Edit" msgstr "Modifier" -#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:499 +#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:501 msgid "Are you sure you want to delete this item?" msgstr "Êtes-vous sûr de vouloir supprimer cet élément?" -#: starlette_admin/views.py:818 +#: starlette_admin/views.py:503 +msgid "Yes, delete" +msgstr "Oui, supprimer" + +#: starlette_admin/views.py:907 msgid "All" msgstr "Tout" @@ -118,11 +122,16 @@ msgstr "Enregistrer" msgid "Detail" msgstr "Détail" -#: starlette_admin/templates/detail.html:47 +#: starlette_admin/templates/detail.html:53 +#: starlette_admin/templates/list.html:67 +msgid "Search" +msgstr "Rechercher" + +#: starlette_admin/templates/detail.html:64 msgid "Attribute" msgstr "Attribut" -#: starlette_admin/templates/detail.html:48 +#: starlette_admin/templates/detail.html:65 msgid "Value" msgstr "Valeur" @@ -139,25 +148,23 @@ msgstr "Oups… Vous venez de trouver une page d'erreur" msgid "Take me home" msgstr "Retournez à la page d'acceuil" -#: starlette_admin/templates/layout.html:95 -#: starlette_admin/templates/layout.html:118 -#: starlette_admin/templates/layout.html:204 +#: starlette_admin/templates/layout.html:96 +#: starlette_admin/templates/layout.html:119 +#: starlette_admin/templates/layout.html:237 msgid "Logout" msgstr "Se déconnecter " -#: starlette_admin/templates/list.html:67 -msgid "Search" -msgstr "Rechercher" - #: starlette_admin/templates/login.html:16 msgid "Login to your account" msgstr "Connectez-vous à votre compte" #: starlette_admin/templates/login.html:32 +#: starlette_admin/templates/login.html:36 msgid "Username" msgstr "Nom d'utilisateur" #: starlette_admin/templates/login.html:43 +#: starlette_admin/templates/login.html:47 msgid "Password" msgstr "Mot de passe" diff --git a/starlette_admin/translations/pt/LC_MESSAGES/admin.mo b/starlette_admin/translations/pt/LC_MESSAGES/admin.mo index ac32f6c3a..64fbba87b 100644 Binary files a/starlette_admin/translations/pt/LC_MESSAGES/admin.mo and b/starlette_admin/translations/pt/LC_MESSAGES/admin.mo differ diff --git a/starlette_admin/translations/pt/LC_MESSAGES/admin.po b/starlette_admin/translations/pt/LC_MESSAGES/admin.po index 812a5459c..5ea0ad47c 100644 --- a/starlette_admin/translations/pt/LC_MESSAGES/admin.po +++ b/starlette_admin/translations/pt/LC_MESSAGES/admin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: starlette-admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-10-28 16:32-0500\n" +"POT-Creation-Date: 2026-04-22 14:12+0200\n" "PO-Revision-Date: 2024-01-18 22:30-0300\n" "Last-Translator: FULL NAME \n" "Language: pt\n" @@ -17,18 +17,18 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.14.0\n" +"Generated-By: Babel 2.18.0\n" #: starlette_admin/actions.py:11 starlette_admin/actions.py:107 #: starlette_admin/templates/modals/actions.html:12 msgid "Yes, Proceed" msgstr "Sim, Prosseguir" -#: starlette_admin/auth.py:31 +#: starlette_admin/auth.py:37 msgid "Administrator" msgstr "Administrador" -#: starlette_admin/base.py:44 starlette_admin/contrib/odmantic/admin.py:17 +#: starlette_admin/base.py:53 starlette_admin/contrib/odmantic/admin.py:17 #: starlette_admin/contrib/sqla/admin.py:28 #: starlette_admin/templates/create.html:7 #: starlette_admin/templates/detail.html:8 @@ -36,45 +36,49 @@ msgstr "Administrador" msgid "Admin" msgstr "Admin" -#: starlette_admin/base.py:254 +#: starlette_admin/base.py:293 #, python-format msgid "Model with identity %(identity)s not found" msgstr "Modelo com identidade %(identity)s não encontrado" #: starlette_admin/templates/forms/_delete.html:8 -#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:461 -#: starlette_admin/views.py:498 +#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:463 +#: starlette_admin/views.py:500 msgid "Delete" msgstr "Excluir" -#: starlette_admin/views.py:462 +#: starlette_admin/views.py:464 msgid "Are you sure you want to delete selected items?" msgstr "Tem certeza de que deseja excluir os itens selecionados?" -#: starlette_admin/views.py:463 +#: starlette_admin/views.py:465 msgid "Yes, delete all" msgstr "Sim, exclua tudo" -#: starlette_admin/views.py:468 starlette_admin/views.py:507 +#: starlette_admin/views.py:471 starlette_admin/views.py:509 #, python-format msgid "Item was successfully deleted" msgid_plural "%(count)d items were successfully deleted" msgstr[0] "O item foi excluído com sucesso" msgstr[1] "%(count)d itens foram excluídos com sucesso" -#: starlette_admin/views.py:476 +#: starlette_admin/views.py:478 msgid "View" msgstr "Visualizar" -#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:488 +#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:490 msgid "Edit" msgstr "Editar" -#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:499 +#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:501 msgid "Are you sure you want to delete this item?" msgstr "Tem certeza de que deseja excluir este item?" -#: starlette_admin/views.py:818 +#: starlette_admin/views.py:503 +msgid "Yes, delete" +msgstr "Sim, exclua" + +#: starlette_admin/views.py:907 msgid "All" msgstr "Todos" @@ -118,11 +122,16 @@ msgstr "Salvar" msgid "Detail" msgstr "Detalhe" -#: starlette_admin/templates/detail.html:47 +#: starlette_admin/templates/detail.html:53 +#: starlette_admin/templates/list.html:67 +msgid "Search" +msgstr "Procurar" + +#: starlette_admin/templates/detail.html:64 msgid "Attribute" msgstr "Atributo" -#: starlette_admin/templates/detail.html:48 +#: starlette_admin/templates/detail.html:65 msgid "Value" msgstr "Valor" @@ -139,25 +148,23 @@ msgstr "Ops… Você acabou de encontrar uma página de erro" msgid "Take me home" msgstr "Me leve ao início" -#: starlette_admin/templates/layout.html:95 -#: starlette_admin/templates/layout.html:118 -#: starlette_admin/templates/layout.html:204 +#: starlette_admin/templates/layout.html:96 +#: starlette_admin/templates/layout.html:119 +#: starlette_admin/templates/layout.html:237 msgid "Logout" msgstr "Sair" -#: starlette_admin/templates/list.html:67 -msgid "Search" -msgstr "Procurar" - #: starlette_admin/templates/login.html:16 msgid "Login to your account" msgstr "Faça login na sua conta" #: starlette_admin/templates/login.html:32 +#: starlette_admin/templates/login.html:36 msgid "Username" msgstr "Usuário" #: starlette_admin/templates/login.html:43 +#: starlette_admin/templates/login.html:47 msgid "Password" msgstr "Senha" @@ -174,7 +181,8 @@ msgid "Actions" msgstr "Ações" #: starlette_admin/templates/forms/_delete.html:13 -msgid "Checked this to delete current content of this field" +#, fuzzy +msgid "Check this to delete the current content of this field" msgstr "Marquei isto para excluir o conteúdo atual deste campo" #: starlette_admin/templates/forms/enum.html:5 diff --git a/starlette_admin/translations/ru/LC_MESSAGES/admin.mo b/starlette_admin/translations/ru/LC_MESSAGES/admin.mo index 1d3bcb239..dfc482436 100644 Binary files a/starlette_admin/translations/ru/LC_MESSAGES/admin.mo and b/starlette_admin/translations/ru/LC_MESSAGES/admin.mo differ diff --git a/starlette_admin/translations/ru/LC_MESSAGES/admin.po b/starlette_admin/translations/ru/LC_MESSAGES/admin.po index ef8e09f0f..bc675f79e 100644 --- a/starlette_admin/translations/ru/LC_MESSAGES/admin.po +++ b/starlette_admin/translations/ru/LC_MESSAGES/admin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: starlette-admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-10-28 16:32-0500\n" +"POT-Creation-Date: 2026-04-22 14:12+0200\n" "PO-Revision-Date: 2022-12-25 13:16+0100\n" "Last-Translator: FULL NAME \n" "Language: ru\n" @@ -18,18 +18,18 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.13.0\n" +"Generated-By: Babel 2.18.0\n" #: starlette_admin/actions.py:11 starlette_admin/actions.py:107 #: starlette_admin/templates/modals/actions.html:12 msgid "Yes, Proceed" msgstr "Да, продолжить" -#: starlette_admin/auth.py:31 +#: starlette_admin/auth.py:37 msgid "Administrator" msgstr "Администратор" -#: starlette_admin/base.py:44 starlette_admin/contrib/odmantic/admin.py:17 +#: starlette_admin/base.py:53 starlette_admin/contrib/odmantic/admin.py:17 #: starlette_admin/contrib/sqla/admin.py:28 #: starlette_admin/templates/create.html:7 #: starlette_admin/templates/detail.html:8 @@ -37,26 +37,26 @@ msgstr "Администратор" msgid "Admin" msgstr "Админ" -#: starlette_admin/base.py:254 +#: starlette_admin/base.py:293 #, python-format msgid "Model with identity %(identity)s not found" msgstr "Модель с идентификатором %(identity)s не найдена" #: starlette_admin/templates/forms/_delete.html:8 -#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:461 -#: starlette_admin/views.py:498 +#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:463 +#: starlette_admin/views.py:500 msgid "Delete" msgstr "Удалить" -#: starlette_admin/views.py:462 +#: starlette_admin/views.py:464 msgid "Are you sure you want to delete selected items?" msgstr "Вы уверены, что хотите удалить выбранные элементы?" -#: starlette_admin/views.py:463 +#: starlette_admin/views.py:465 msgid "Yes, delete all" msgstr "Да, удалить все" -#: starlette_admin/views.py:468 starlette_admin/views.py:507 +#: starlette_admin/views.py:471 starlette_admin/views.py:509 #, python-format msgid "Item was successfully deleted" msgid_plural "%(count)d items were successfully deleted" @@ -64,19 +64,23 @@ msgstr[0] "Элемент успешно удален" msgstr[1] "%(count)d элемента успешно удалены" msgstr[2] "%(count)d элементов успешно удалены" -#: starlette_admin/views.py:476 +#: starlette_admin/views.py:478 msgid "View" msgstr "" -#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:488 +#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:490 msgid "Edit" msgstr "Редактировать" -#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:499 +#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:501 msgid "Are you sure you want to delete this item?" msgstr "Вы уверены, что хотите удалить этот элемент?" -#: starlette_admin/views.py:818 +#: starlette_admin/views.py:503 +msgid "Yes, delete" +msgstr "Да, удалить" + +#: starlette_admin/views.py:907 msgid "All" msgstr "Все" @@ -120,11 +124,16 @@ msgstr "Сохранить" msgid "Detail" msgstr "Информация" -#: starlette_admin/templates/detail.html:47 +#: starlette_admin/templates/detail.html:53 +#: starlette_admin/templates/list.html:67 +msgid "Search" +msgstr "Поиск" + +#: starlette_admin/templates/detail.html:64 msgid "Attribute" msgstr "Атрибут" -#: starlette_admin/templates/detail.html:48 +#: starlette_admin/templates/detail.html:65 msgid "Value" msgstr "Значение" @@ -141,25 +150,23 @@ msgstr "Ой… Вы только что нашли страницу с ошиб msgid "Take me home" msgstr "Вернуться на главную" -#: starlette_admin/templates/layout.html:95 -#: starlette_admin/templates/layout.html:118 -#: starlette_admin/templates/layout.html:204 +#: starlette_admin/templates/layout.html:96 +#: starlette_admin/templates/layout.html:119 +#: starlette_admin/templates/layout.html:237 msgid "Logout" msgstr "Выйти" -#: starlette_admin/templates/list.html:67 -msgid "Search" -msgstr "Поиск" - #: starlette_admin/templates/login.html:16 msgid "Login to your account" msgstr "Войти в свой аккаунт" #: starlette_admin/templates/login.html:32 +#: starlette_admin/templates/login.html:36 msgid "Username" msgstr "Имя пользователя" #: starlette_admin/templates/login.html:43 +#: starlette_admin/templates/login.html:47 msgid "Password" msgstr "Пароль" diff --git a/starlette_admin/translations/tr/LC_MESSAGES/admin.mo b/starlette_admin/translations/tr/LC_MESSAGES/admin.mo index 934490075..75a706dcb 100644 Binary files a/starlette_admin/translations/tr/LC_MESSAGES/admin.mo and b/starlette_admin/translations/tr/LC_MESSAGES/admin.mo differ diff --git a/starlette_admin/translations/tr/LC_MESSAGES/admin.po b/starlette_admin/translations/tr/LC_MESSAGES/admin.po index b1097f43c..9be4cce71 100644 --- a/starlette_admin/translations/tr/LC_MESSAGES/admin.po +++ b/starlette_admin/translations/tr/LC_MESSAGES/admin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: starlette-admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-10-28 16:32-0500\n" +"POT-Creation-Date: 2026-04-22 14:12+0200\n" "PO-Revision-Date: 2023-10-13 04:50+0300\n" "Last-Translator: FULL NAME \n" "Language: tr\n" @@ -17,18 +17,18 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.13.0\n" +"Generated-By: Babel 2.18.0\n" #: starlette_admin/actions.py:11 starlette_admin/actions.py:107 #: starlette_admin/templates/modals/actions.html:12 msgid "Yes, Proceed" msgstr "Evet, Devam Et" -#: starlette_admin/auth.py:31 +#: starlette_admin/auth.py:37 msgid "Administrator" msgstr "Yönetici" -#: starlette_admin/base.py:44 starlette_admin/contrib/odmantic/admin.py:17 +#: starlette_admin/base.py:53 starlette_admin/contrib/odmantic/admin.py:17 #: starlette_admin/contrib/sqla/admin.py:28 #: starlette_admin/templates/create.html:7 #: starlette_admin/templates/detail.html:8 @@ -36,45 +36,49 @@ msgstr "Yönetici" msgid "Admin" msgstr "Yönetici" -#: starlette_admin/base.py:254 +#: starlette_admin/base.py:293 #, python-format msgid "Model with identity %(identity)s not found" msgstr "%(identity) kimliğine sahip model bulunamadı" #: starlette_admin/templates/forms/_delete.html:8 -#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:461 -#: starlette_admin/views.py:498 +#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:463 +#: starlette_admin/views.py:500 msgid "Delete" msgstr "Sil" -#: starlette_admin/views.py:462 +#: starlette_admin/views.py:464 msgid "Are you sure you want to delete selected items?" msgstr "Seçili öğeleri silmek istediğinizden emin misiniz?" -#: starlette_admin/views.py:463 +#: starlette_admin/views.py:465 msgid "Yes, delete all" msgstr "Evet, tümünü sil" -#: starlette_admin/views.py:468 starlette_admin/views.py:507 +#: starlette_admin/views.py:471 starlette_admin/views.py:509 #, python-format msgid "Item was successfully deleted" msgid_plural "%(count)d items were successfully deleted" msgstr[0] "Öğe başarıyla silindi" msgstr[1] "%(count)d öğe başarıyla silindi" -#: starlette_admin/views.py:476 +#: starlette_admin/views.py:478 msgid "View" msgstr "Görüntüle" -#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:488 +#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:490 msgid "Edit" msgstr "Düzenle" -#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:499 +#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:501 msgid "Are you sure you want to delete this item?" msgstr "Bu öğeyi silmek istediğinizden emin misiniz?" -#: starlette_admin/views.py:818 +#: starlette_admin/views.py:503 +msgid "Yes, delete" +msgstr "Evet, sil" + +#: starlette_admin/views.py:907 msgid "All" msgstr "Hepsi" @@ -118,11 +122,16 @@ msgstr "Kaydet" msgid "Detail" msgstr "Detay" -#: starlette_admin/templates/detail.html:47 +#: starlette_admin/templates/detail.html:53 +#: starlette_admin/templates/list.html:67 +msgid "Search" +msgstr "Ara" + +#: starlette_admin/templates/detail.html:64 msgid "Attribute" msgstr "Özellik" -#: starlette_admin/templates/detail.html:48 +#: starlette_admin/templates/detail.html:65 msgid "Value" msgstr "Değer" @@ -139,25 +148,23 @@ msgstr "Oops... Bir hata sayfası buldunuz" msgid "Take me home" msgstr "Beni ana sayfaya götür" -#: starlette_admin/templates/layout.html:95 -#: starlette_admin/templates/layout.html:118 -#: starlette_admin/templates/layout.html:204 +#: starlette_admin/templates/layout.html:96 +#: starlette_admin/templates/layout.html:119 +#: starlette_admin/templates/layout.html:237 msgid "Logout" msgstr "Çıkış" -#: starlette_admin/templates/list.html:67 -msgid "Search" -msgstr "Ara" - #: starlette_admin/templates/login.html:16 msgid "Login to your account" msgstr "Hesabınıza giriş yapın" #: starlette_admin/templates/login.html:32 +#: starlette_admin/templates/login.html:36 msgid "Username" msgstr "Kullanıcı adı" #: starlette_admin/templates/login.html:43 +#: starlette_admin/templates/login.html:47 msgid "Password" msgstr "Şifre" diff --git a/starlette_admin/translations/zh_Hant/LC_MESSAGES/admin.mo b/starlette_admin/translations/zh_Hant/LC_MESSAGES/admin.mo index 3022da956..e84c9ebb9 100644 Binary files a/starlette_admin/translations/zh_Hant/LC_MESSAGES/admin.mo and b/starlette_admin/translations/zh_Hant/LC_MESSAGES/admin.mo differ diff --git a/starlette_admin/translations/zh_Hant/LC_MESSAGES/admin.po b/starlette_admin/translations/zh_Hant/LC_MESSAGES/admin.po index c40fda0e0..80ccd5664 100644 --- a/starlette_admin/translations/zh_Hant/LC_MESSAGES/admin.po +++ b/starlette_admin/translations/zh_Hant/LC_MESSAGES/admin.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: starlette-admin VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2023-10-28 16:32-0500\n" +"POT-Creation-Date: 2026-04-22 14:12+0200\n" "PO-Revision-Date: 2025-03-26 19:34+0800\n" "Last-Translator: FULL NAME \n" "Language: zh_Hant\n" @@ -17,18 +17,18 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.17.0\n" +"Generated-By: Babel 2.18.0\n" #: starlette_admin/actions.py:11 starlette_admin/actions.py:107 #: starlette_admin/templates/modals/actions.html:12 msgid "Yes, Proceed" msgstr "是,繼續" -#: starlette_admin/auth.py:31 +#: starlette_admin/auth.py:37 msgid "Administrator" msgstr "管理員" -#: starlette_admin/base.py:44 starlette_admin/contrib/odmantic/admin.py:17 +#: starlette_admin/base.py:53 starlette_admin/contrib/odmantic/admin.py:17 #: starlette_admin/contrib/sqla/admin.py:28 #: starlette_admin/templates/create.html:7 #: starlette_admin/templates/detail.html:8 @@ -36,44 +36,48 @@ msgstr "管理員" msgid "Admin" msgstr "後台" -#: starlette_admin/base.py:254 +#: starlette_admin/base.py:293 #, python-format msgid "Model with identity %(identity)s not found" msgstr "找不到識別碼為 %(identity)s 的模型" #: starlette_admin/templates/forms/_delete.html:8 -#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:461 -#: starlette_admin/views.py:498 +#: starlette_admin/templates/modals/delete.html:25 starlette_admin/views.py:463 +#: starlette_admin/views.py:500 msgid "Delete" msgstr "刪除" -#: starlette_admin/views.py:462 +#: starlette_admin/views.py:464 msgid "Are you sure you want to delete selected items?" msgstr "確定要刪除所選項目嗎?" -#: starlette_admin/views.py:463 +#: starlette_admin/views.py:465 msgid "Yes, delete all" msgstr "是,全部刪除" -#: starlette_admin/views.py:468 starlette_admin/views.py:507 +#: starlette_admin/views.py:471 starlette_admin/views.py:509 #, python-format msgid "Item was successfully deleted" msgid_plural "%(count)d items were successfully deleted" msgstr[0] "已成功刪除 %(count)d 個項目" -#: starlette_admin/views.py:476 +#: starlette_admin/views.py:478 msgid "View" msgstr "檢視" -#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:488 +#: starlette_admin/templates/edit.html:12 starlette_admin/views.py:490 msgid "Edit" msgstr "編輯" -#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:499 +#: starlette_admin/templates/modals/delete.html:15 starlette_admin/views.py:501 msgid "Are you sure you want to delete this item?" msgstr "確定要刪除此項目嗎?" -#: starlette_admin/views.py:818 +#: starlette_admin/views.py:503 +msgid "Yes, delete" +msgstr "是,刪除" + +#: starlette_admin/views.py:907 msgid "All" msgstr "全部" @@ -117,11 +121,16 @@ msgstr "儲存" msgid "Detail" msgstr "詳細資料" -#: starlette_admin/templates/detail.html:47 +#: starlette_admin/templates/detail.html:53 +#: starlette_admin/templates/list.html:67 +msgid "Search" +msgstr "搜尋" + +#: starlette_admin/templates/detail.html:64 msgid "Attribute" msgstr "屬性" -#: starlette_admin/templates/detail.html:48 +#: starlette_admin/templates/detail.html:65 msgid "Value" msgstr "值" @@ -138,25 +147,23 @@ msgstr "哎呀⋯您找到了一個錯誤頁面" msgid "Take me home" msgstr "返回首頁" -#: starlette_admin/templates/layout.html:95 -#: starlette_admin/templates/layout.html:118 -#: starlette_admin/templates/layout.html:204 +#: starlette_admin/templates/layout.html:96 +#: starlette_admin/templates/layout.html:119 +#: starlette_admin/templates/layout.html:237 msgid "Logout" msgstr "登出" -#: starlette_admin/templates/list.html:67 -msgid "Search" -msgstr "搜尋" - #: starlette_admin/templates/login.html:16 msgid "Login to your account" msgstr "登入您的帳戶" #: starlette_admin/templates/login.html:32 +#: starlette_admin/templates/login.html:36 msgid "Username" msgstr "使用者名稱" #: starlette_admin/templates/login.html:43 +#: starlette_admin/templates/login.html:47 msgid "Password" msgstr "密碼" @@ -173,7 +180,8 @@ msgid "Actions" msgstr "操作" #: starlette_admin/templates/forms/_delete.html:13 -msgid "Checked this to delete current content of this field" +#, fuzzy +msgid "Check this to delete the current content of this field" msgstr "勾選此項以刪除此欄位的當前內容" #: starlette_admin/templates/forms/enum.html:5 diff --git a/starlette_admin/views.py b/starlette_admin/views.py index bdd20719c..21fc5a0b2 100644 --- a/starlette_admin/views.py +++ b/starlette_admin/views.py @@ -501,7 +501,7 @@ def row_action_2_edit(self, request: Request, pk: Any) -> str: text=_("Delete"), confirmation=_("Are you sure you want to delete this item?"), icon_class="fa-solid fa-trash", - submit_btn_text="Yes, delete", + submit_btn_text=_("Yes, delete"), submit_btn_class="btn-danger", action_btn_class="btn-danger", )