diff --git a/basxbread/contrib/customforms/urls.py b/basxbread/contrib/customforms/urls.py index a240b681..4faaf791 100644 --- a/basxbread/contrib/customforms/urls.py +++ b/basxbread/contrib/customforms/urls.py @@ -12,8 +12,8 @@ browseview=breadviews.BrowseView._with( columns=["__all__", "customformfields"], rowactions=( - breadviews.BrowseView.editlink(), - breadviews.BrowseView.deletelink(), + breadviews.editlink(), + breadviews.deletelink(), utils.Link( href=utils.ModelHref(hg.C("row"), "use", return_to_current=False), label=_("Add form entry"), @@ -39,8 +39,8 @@ models.PDFImport, browseview=breadviews.BrowseView._with( rowactions=( - breadviews.BrowseView.editlink(), - breadviews.BrowseView.deletelink(), + breadviews.editlink(), + breadviews.deletelink(), utils.Link( href=utils.ModelHref(hg.C("row"), "use", return_to_current=False), label=_("Import new PDF"), diff --git a/basxbread/contrib/document_templates/locale/de/LC_MESSAGES/django.po b/basxbread/contrib/document_templates/locale/de/LC_MESSAGES/django.po index 229891d3..8ce1caf5 100644 --- a/basxbread/contrib/document_templates/locale/de/LC_MESSAGES/django.po +++ b/basxbread/contrib/document_templates/locale/de/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,12 +21,12 @@ msgstr "" msgid "Document templates" msgstr "Dokumentvorlagen" -#: basxbread/contrib/document_templates/models.py:23 -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name" msgstr "Name" -#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:31 msgid "" "Must be a *.docx file, use '{{ variable-name }}' to insert variables from " "below" @@ -34,92 +34,92 @@ msgstr "" "Muss eine *.docx Datei sein, '{{ variable-name }}' kann im Dokument " "verwendet werden um die unten definierten Variablen einzufügen" -#: basxbread/contrib/document_templates/models.py:31 +#: basxbread/contrib/document_templates/models.py:35 msgid "Model" msgstr "Model" -#: basxbread/contrib/document_templates/models.py:36 +#: basxbread/contrib/document_templates/models.py:40 msgid "Filename template" msgstr "Dateinamen-Vorlage" -#: basxbread/contrib/document_templates/models.py:114 +#: basxbread/contrib/document_templates/models.py:164 msgid "Document Template" msgstr "Dokumentvorlage" -#: basxbread/contrib/document_templates/models.py:115 +#: basxbread/contrib/document_templates/models.py:165 msgid "Document Templates" msgstr "Dokumentvorlagen" -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name to use in the template document" msgstr "Name welcher in der Dokumentvorlage verwendet werden soll" -#: basxbread/contrib/document_templates/models.py:126 +#: basxbread/contrib/document_templates/models.py:176 msgid "Value" msgstr "Wert" -#: basxbread/contrib/document_templates/models.py:128 +#: basxbread/contrib/document_templates/models.py:178 msgid "Path to the desired value (see help)" msgstr "Pfad zum gewünschten Wert (siehe Hilfe)" -#: basxbread/contrib/document_templates/models.py:132 +#: basxbread/contrib/document_templates/models.py:182 msgid "Template" msgstr "Vorlage" -#: basxbread/contrib/document_templates/models.py:134 +#: basxbread/contrib/document_templates/models.py:184 msgid "Jinja template with 'value' in context" msgstr "Jinja Vorlage mit 'value' im Kontext" -#: basxbread/contrib/document_templates/models.py:136 +#: basxbread/contrib/document_templates/models.py:186 msgid "Raw value" msgstr "Roher Wert" -#: basxbread/contrib/document_templates/models.py:139 +#: basxbread/contrib/document_templates/models.py:189 msgid "Variable" msgstr "Variable" -#: basxbread/contrib/document_templates/models.py:140 +#: basxbread/contrib/document_templates/models.py:190 msgid "Variables" msgstr "Variablen" -#: basxbread/contrib/document_templates/urls.py:20 +#: basxbread/contrib/document_templates/urls.py:24 msgid "Delete" msgstr "Löschen" -#: basxbread/contrib/document_templates/urls.py:24 +#: basxbread/contrib/document_templates/urls.py:28 msgid "Copy" msgstr "Kopieren" -#: basxbread/contrib/document_templates/views.py:21 +#: basxbread/contrib/document_templates/views.py:17 msgid "Error" msgstr "Fehler" -#: basxbread/contrib/document_templates/views.py:26 +#: basxbread/contrib/document_templates/views.py:22 msgid "Field explorer" msgstr "Feldexplorer" -#: basxbread/contrib/document_templates/views.py:36 +#: basxbread/contrib/document_templates/views.py:32 msgid "Error in template: " msgstr "Fehler in der Vorlage: " -#: basxbread/contrib/document_templates/views.py:48 +#: basxbread/contrib/document_templates/views.py:44 msgid "Missing system fonts, used in the docx template: " msgstr "Fehlende System-Fonts welche im docx-Template verwendet werden: " -#: basxbread/contrib/document_templates/views.py:56 +#: basxbread/contrib/document_templates/views.py:52 msgid "Unable to detect document fonts: " msgstr "Kann verwendete Fonts im Dokument nicht detektieren: " -#: basxbread/contrib/document_templates/views.py:63 +#: basxbread/contrib/document_templates/views.py:59 msgid "Variables in document but not defined below: " msgstr "" "Variablen in der Dokumentvorlage verwendet aber nicht definiert unten: " -#: basxbread/contrib/document_templates/views.py:71 +#: basxbread/contrib/document_templates/views.py:67 msgid "Variables defined below but not used in document: " msgstr "" "Variablen unten definiert aber nicht verwendet in der Dokumentvorlage: " -#: basxbread/contrib/document_templates/views.py:97 +#: basxbread/contrib/document_templates/views.py:93 msgid "Help" msgstr "Hilfe" diff --git a/basxbread/contrib/document_templates/locale/en/LC_MESSAGES/django.po b/basxbread/contrib/document_templates/locale/en/LC_MESSAGES/django.po index f07d7c14..a53df038 100644 --- a/basxbread/contrib/document_templates/locale/en/LC_MESSAGES/django.po +++ b/basxbread/contrib/document_templates/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,101 +22,101 @@ msgstr "" msgid "Document templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:23 -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name" msgstr "" -#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:31 msgid "" "Must be a *.docx file, use '{{ variable-name }}' to insert variables from " "below" msgstr "" -#: basxbread/contrib/document_templates/models.py:31 +#: basxbread/contrib/document_templates/models.py:35 msgid "Model" msgstr "" -#: basxbread/contrib/document_templates/models.py:36 +#: basxbread/contrib/document_templates/models.py:40 msgid "Filename template" msgstr "" -#: basxbread/contrib/document_templates/models.py:114 +#: basxbread/contrib/document_templates/models.py:164 msgid "Document Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:115 +#: basxbread/contrib/document_templates/models.py:165 msgid "Document Templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name to use in the template document" msgstr "" -#: basxbread/contrib/document_templates/models.py:126 +#: basxbread/contrib/document_templates/models.py:176 msgid "Value" msgstr "" -#: basxbread/contrib/document_templates/models.py:128 +#: basxbread/contrib/document_templates/models.py:178 msgid "Path to the desired value (see help)" msgstr "" -#: basxbread/contrib/document_templates/models.py:132 +#: basxbread/contrib/document_templates/models.py:182 msgid "Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:134 +#: basxbread/contrib/document_templates/models.py:184 msgid "Jinja template with 'value' in context" msgstr "" -#: basxbread/contrib/document_templates/models.py:136 +#: basxbread/contrib/document_templates/models.py:186 msgid "Raw value" msgstr "" -#: basxbread/contrib/document_templates/models.py:139 +#: basxbread/contrib/document_templates/models.py:189 msgid "Variable" msgstr "" -#: basxbread/contrib/document_templates/models.py:140 +#: basxbread/contrib/document_templates/models.py:190 msgid "Variables" msgstr "" -#: basxbread/contrib/document_templates/urls.py:20 +#: basxbread/contrib/document_templates/urls.py:24 msgid "Delete" msgstr "" -#: basxbread/contrib/document_templates/urls.py:24 +#: basxbread/contrib/document_templates/urls.py:28 msgid "Copy" msgstr "" -#: basxbread/contrib/document_templates/views.py:21 +#: basxbread/contrib/document_templates/views.py:17 msgid "Error" msgstr "" -#: basxbread/contrib/document_templates/views.py:26 +#: basxbread/contrib/document_templates/views.py:22 msgid "Field explorer" msgstr "" -#: basxbread/contrib/document_templates/views.py:36 +#: basxbread/contrib/document_templates/views.py:32 msgid "Error in template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:48 +#: basxbread/contrib/document_templates/views.py:44 msgid "Missing system fonts, used in the docx template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:56 +#: basxbread/contrib/document_templates/views.py:52 msgid "Unable to detect document fonts: " msgstr "" -#: basxbread/contrib/document_templates/views.py:63 +#: basxbread/contrib/document_templates/views.py:59 msgid "Variables in document but not defined below: " msgstr "" -#: basxbread/contrib/document_templates/views.py:71 +#: basxbread/contrib/document_templates/views.py:67 msgid "Variables defined below but not used in document: " msgstr "" -#: basxbread/contrib/document_templates/views.py:97 +#: basxbread/contrib/document_templates/views.py:93 msgid "Help" msgstr "" diff --git a/basxbread/contrib/document_templates/locale/fr/LC_MESSAGES/django.po b/basxbread/contrib/document_templates/locale/fr/LC_MESSAGES/django.po index 3eb13eaa..208e2158 100644 --- a/basxbread/contrib/document_templates/locale/fr/LC_MESSAGES/django.po +++ b/basxbread/contrib/document_templates/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,101 +22,101 @@ msgstr "" msgid "Document templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:23 -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name" msgstr "" -#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:31 msgid "" "Must be a *.docx file, use '{{ variable-name }}' to insert variables from " "below" msgstr "" -#: basxbread/contrib/document_templates/models.py:31 +#: basxbread/contrib/document_templates/models.py:35 msgid "Model" msgstr "" -#: basxbread/contrib/document_templates/models.py:36 +#: basxbread/contrib/document_templates/models.py:40 msgid "Filename template" msgstr "" -#: basxbread/contrib/document_templates/models.py:114 +#: basxbread/contrib/document_templates/models.py:164 msgid "Document Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:115 +#: basxbread/contrib/document_templates/models.py:165 msgid "Document Templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name to use in the template document" msgstr "" -#: basxbread/contrib/document_templates/models.py:126 +#: basxbread/contrib/document_templates/models.py:176 msgid "Value" msgstr "" -#: basxbread/contrib/document_templates/models.py:128 +#: basxbread/contrib/document_templates/models.py:178 msgid "Path to the desired value (see help)" msgstr "" -#: basxbread/contrib/document_templates/models.py:132 +#: basxbread/contrib/document_templates/models.py:182 msgid "Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:134 +#: basxbread/contrib/document_templates/models.py:184 msgid "Jinja template with 'value' in context" msgstr "" -#: basxbread/contrib/document_templates/models.py:136 +#: basxbread/contrib/document_templates/models.py:186 msgid "Raw value" msgstr "" -#: basxbread/contrib/document_templates/models.py:139 +#: basxbread/contrib/document_templates/models.py:189 msgid "Variable" msgstr "" -#: basxbread/contrib/document_templates/models.py:140 +#: basxbread/contrib/document_templates/models.py:190 msgid "Variables" msgstr "" -#: basxbread/contrib/document_templates/urls.py:20 +#: basxbread/contrib/document_templates/urls.py:24 msgid "Delete" msgstr "" -#: basxbread/contrib/document_templates/urls.py:24 +#: basxbread/contrib/document_templates/urls.py:28 msgid "Copy" msgstr "" -#: basxbread/contrib/document_templates/views.py:21 +#: basxbread/contrib/document_templates/views.py:17 msgid "Error" msgstr "" -#: basxbread/contrib/document_templates/views.py:26 +#: basxbread/contrib/document_templates/views.py:22 msgid "Field explorer" msgstr "" -#: basxbread/contrib/document_templates/views.py:36 +#: basxbread/contrib/document_templates/views.py:32 msgid "Error in template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:48 +#: basxbread/contrib/document_templates/views.py:44 msgid "Missing system fonts, used in the docx template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:56 +#: basxbread/contrib/document_templates/views.py:52 msgid "Unable to detect document fonts: " msgstr "" -#: basxbread/contrib/document_templates/views.py:63 +#: basxbread/contrib/document_templates/views.py:59 msgid "Variables in document but not defined below: " msgstr "" -#: basxbread/contrib/document_templates/views.py:71 +#: basxbread/contrib/document_templates/views.py:67 msgid "Variables defined below but not used in document: " msgstr "" -#: basxbread/contrib/document_templates/views.py:97 +#: basxbread/contrib/document_templates/views.py:93 msgid "Help" msgstr "" diff --git a/basxbread/contrib/document_templates/locale/nb_NO/LC_MESSAGES/django.po b/basxbread/contrib/document_templates/locale/nb_NO/LC_MESSAGES/django.po index 0f6fc948..d41d6f55 100644 --- a/basxbread/contrib/document_templates/locale/nb_NO/LC_MESSAGES/django.po +++ b/basxbread/contrib/document_templates/locale/nb_NO/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -21,101 +21,101 @@ msgstr "" msgid "Document templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:23 -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name" msgstr "" -#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:31 msgid "" "Must be a *.docx file, use '{{ variable-name }}' to insert variables from " "below" msgstr "" -#: basxbread/contrib/document_templates/models.py:31 +#: basxbread/contrib/document_templates/models.py:35 msgid "Model" msgstr "" -#: basxbread/contrib/document_templates/models.py:36 +#: basxbread/contrib/document_templates/models.py:40 msgid "Filename template" msgstr "" -#: basxbread/contrib/document_templates/models.py:114 +#: basxbread/contrib/document_templates/models.py:164 msgid "Document Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:115 +#: basxbread/contrib/document_templates/models.py:165 msgid "Document Templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name to use in the template document" msgstr "" -#: basxbread/contrib/document_templates/models.py:126 +#: basxbread/contrib/document_templates/models.py:176 msgid "Value" msgstr "" -#: basxbread/contrib/document_templates/models.py:128 +#: basxbread/contrib/document_templates/models.py:178 msgid "Path to the desired value (see help)" msgstr "" -#: basxbread/contrib/document_templates/models.py:132 +#: basxbread/contrib/document_templates/models.py:182 msgid "Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:134 +#: basxbread/contrib/document_templates/models.py:184 msgid "Jinja template with 'value' in context" msgstr "" -#: basxbread/contrib/document_templates/models.py:136 +#: basxbread/contrib/document_templates/models.py:186 msgid "Raw value" msgstr "" -#: basxbread/contrib/document_templates/models.py:139 +#: basxbread/contrib/document_templates/models.py:189 msgid "Variable" msgstr "" -#: basxbread/contrib/document_templates/models.py:140 +#: basxbread/contrib/document_templates/models.py:190 msgid "Variables" msgstr "" -#: basxbread/contrib/document_templates/urls.py:20 +#: basxbread/contrib/document_templates/urls.py:24 msgid "Delete" msgstr "" -#: basxbread/contrib/document_templates/urls.py:24 +#: basxbread/contrib/document_templates/urls.py:28 msgid "Copy" msgstr "" -#: basxbread/contrib/document_templates/views.py:21 +#: basxbread/contrib/document_templates/views.py:17 msgid "Error" msgstr "" -#: basxbread/contrib/document_templates/views.py:26 +#: basxbread/contrib/document_templates/views.py:22 msgid "Field explorer" msgstr "" -#: basxbread/contrib/document_templates/views.py:36 +#: basxbread/contrib/document_templates/views.py:32 msgid "Error in template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:48 +#: basxbread/contrib/document_templates/views.py:44 msgid "Missing system fonts, used in the docx template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:56 +#: basxbread/contrib/document_templates/views.py:52 msgid "Unable to detect document fonts: " msgstr "" -#: basxbread/contrib/document_templates/views.py:63 +#: basxbread/contrib/document_templates/views.py:59 msgid "Variables in document but not defined below: " msgstr "" -#: basxbread/contrib/document_templates/views.py:71 +#: basxbread/contrib/document_templates/views.py:67 msgid "Variables defined below but not used in document: " msgstr "" -#: basxbread/contrib/document_templates/views.py:97 +#: basxbread/contrib/document_templates/views.py:93 msgid "Help" msgstr "" diff --git a/basxbread/contrib/document_templates/locale/pt/LC_MESSAGES/django.po b/basxbread/contrib/document_templates/locale/pt/LC_MESSAGES/django.po index f07d7c14..a53df038 100644 --- a/basxbread/contrib/document_templates/locale/pt/LC_MESSAGES/django.po +++ b/basxbread/contrib/document_templates/locale/pt/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,101 +22,101 @@ msgstr "" msgid "Document templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:23 -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name" msgstr "" -#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:31 msgid "" "Must be a *.docx file, use '{{ variable-name }}' to insert variables from " "below" msgstr "" -#: basxbread/contrib/document_templates/models.py:31 +#: basxbread/contrib/document_templates/models.py:35 msgid "Model" msgstr "" -#: basxbread/contrib/document_templates/models.py:36 +#: basxbread/contrib/document_templates/models.py:40 msgid "Filename template" msgstr "" -#: basxbread/contrib/document_templates/models.py:114 +#: basxbread/contrib/document_templates/models.py:164 msgid "Document Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:115 +#: basxbread/contrib/document_templates/models.py:165 msgid "Document Templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name to use in the template document" msgstr "" -#: basxbread/contrib/document_templates/models.py:126 +#: basxbread/contrib/document_templates/models.py:176 msgid "Value" msgstr "" -#: basxbread/contrib/document_templates/models.py:128 +#: basxbread/contrib/document_templates/models.py:178 msgid "Path to the desired value (see help)" msgstr "" -#: basxbread/contrib/document_templates/models.py:132 +#: basxbread/contrib/document_templates/models.py:182 msgid "Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:134 +#: basxbread/contrib/document_templates/models.py:184 msgid "Jinja template with 'value' in context" msgstr "" -#: basxbread/contrib/document_templates/models.py:136 +#: basxbread/contrib/document_templates/models.py:186 msgid "Raw value" msgstr "" -#: basxbread/contrib/document_templates/models.py:139 +#: basxbread/contrib/document_templates/models.py:189 msgid "Variable" msgstr "" -#: basxbread/contrib/document_templates/models.py:140 +#: basxbread/contrib/document_templates/models.py:190 msgid "Variables" msgstr "" -#: basxbread/contrib/document_templates/urls.py:20 +#: basxbread/contrib/document_templates/urls.py:24 msgid "Delete" msgstr "" -#: basxbread/contrib/document_templates/urls.py:24 +#: basxbread/contrib/document_templates/urls.py:28 msgid "Copy" msgstr "" -#: basxbread/contrib/document_templates/views.py:21 +#: basxbread/contrib/document_templates/views.py:17 msgid "Error" msgstr "" -#: basxbread/contrib/document_templates/views.py:26 +#: basxbread/contrib/document_templates/views.py:22 msgid "Field explorer" msgstr "" -#: basxbread/contrib/document_templates/views.py:36 +#: basxbread/contrib/document_templates/views.py:32 msgid "Error in template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:48 +#: basxbread/contrib/document_templates/views.py:44 msgid "Missing system fonts, used in the docx template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:56 +#: basxbread/contrib/document_templates/views.py:52 msgid "Unable to detect document fonts: " msgstr "" -#: basxbread/contrib/document_templates/views.py:63 +#: basxbread/contrib/document_templates/views.py:59 msgid "Variables in document but not defined below: " msgstr "" -#: basxbread/contrib/document_templates/views.py:71 +#: basxbread/contrib/document_templates/views.py:67 msgid "Variables defined below but not used in document: " msgstr "" -#: basxbread/contrib/document_templates/views.py:97 +#: basxbread/contrib/document_templates/views.py:93 msgid "Help" msgstr "" diff --git a/basxbread/contrib/document_templates/locale/th/LC_MESSAGES/django.po b/basxbread/contrib/document_templates/locale/th/LC_MESSAGES/django.po index 3a7e3e87..8af8fb20 100644 --- a/basxbread/contrib/document_templates/locale/th/LC_MESSAGES/django.po +++ b/basxbread/contrib/document_templates/locale/th/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -22,101 +22,101 @@ msgstr "" msgid "Document templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:23 -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name" msgstr "" -#: basxbread/contrib/document_templates/models.py:27 +#: basxbread/contrib/document_templates/models.py:31 msgid "" "Must be a *.docx file, use '{{ variable-name }}' to insert variables from " "below" msgstr "" -#: basxbread/contrib/document_templates/models.py:31 +#: basxbread/contrib/document_templates/models.py:35 msgid "Model" msgstr "" -#: basxbread/contrib/document_templates/models.py:36 +#: basxbread/contrib/document_templates/models.py:40 msgid "Filename template" msgstr "" -#: basxbread/contrib/document_templates/models.py:114 +#: basxbread/contrib/document_templates/models.py:164 msgid "Document Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:115 +#: basxbread/contrib/document_templates/models.py:165 msgid "Document Templates" msgstr "" -#: basxbread/contrib/document_templates/models.py:123 +#: basxbread/contrib/document_templates/models.py:173 msgid "Name to use in the template document" msgstr "" -#: basxbread/contrib/document_templates/models.py:126 +#: basxbread/contrib/document_templates/models.py:176 msgid "Value" msgstr "" -#: basxbread/contrib/document_templates/models.py:128 +#: basxbread/contrib/document_templates/models.py:178 msgid "Path to the desired value (see help)" msgstr "" -#: basxbread/contrib/document_templates/models.py:132 +#: basxbread/contrib/document_templates/models.py:182 msgid "Template" msgstr "" -#: basxbread/contrib/document_templates/models.py:134 +#: basxbread/contrib/document_templates/models.py:184 msgid "Jinja template with 'value' in context" msgstr "" -#: basxbread/contrib/document_templates/models.py:136 +#: basxbread/contrib/document_templates/models.py:186 msgid "Raw value" msgstr "" -#: basxbread/contrib/document_templates/models.py:139 +#: basxbread/contrib/document_templates/models.py:189 msgid "Variable" msgstr "" -#: basxbread/contrib/document_templates/models.py:140 +#: basxbread/contrib/document_templates/models.py:190 msgid "Variables" msgstr "" -#: basxbread/contrib/document_templates/urls.py:20 +#: basxbread/contrib/document_templates/urls.py:24 msgid "Delete" msgstr "" -#: basxbread/contrib/document_templates/urls.py:24 +#: basxbread/contrib/document_templates/urls.py:28 msgid "Copy" msgstr "" -#: basxbread/contrib/document_templates/views.py:21 +#: basxbread/contrib/document_templates/views.py:17 msgid "Error" msgstr "" -#: basxbread/contrib/document_templates/views.py:26 +#: basxbread/contrib/document_templates/views.py:22 msgid "Field explorer" msgstr "" -#: basxbread/contrib/document_templates/views.py:36 +#: basxbread/contrib/document_templates/views.py:32 msgid "Error in template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:48 +#: basxbread/contrib/document_templates/views.py:44 msgid "Missing system fonts, used in the docx template: " msgstr "" -#: basxbread/contrib/document_templates/views.py:56 +#: basxbread/contrib/document_templates/views.py:52 msgid "Unable to detect document fonts: " msgstr "" -#: basxbread/contrib/document_templates/views.py:63 +#: basxbread/contrib/document_templates/views.py:59 msgid "Variables in document but not defined below: " msgstr "" -#: basxbread/contrib/document_templates/views.py:71 +#: basxbread/contrib/document_templates/views.py:67 msgid "Variables defined below but not used in document: " msgstr "" -#: basxbread/contrib/document_templates/views.py:97 +#: basxbread/contrib/document_templates/views.py:93 msgid "Help" msgstr "" diff --git a/basxbread/contrib/publicurls/urls.py b/basxbread/contrib/publicurls/urls.py index bbd341ee..b2dc3969 100644 --- a/basxbread/contrib/publicurls/urls.py +++ b/basxbread/contrib/publicurls/urls.py @@ -102,7 +102,7 @@ def publicurlview(request, token): "created", "valid_for", ], - rowactions=(views.BrowseView.editlink(), views.BrowseView.deletelink()), + rowactions=(views.editlink(), views.deletelink()), ), ), ] diff --git a/basxbread/contrib/taxonomy/views.py b/basxbread/contrib/taxonomy/views.py index e07fb964..7394b724 100644 --- a/basxbread/contrib/taxonomy/views.py +++ b/basxbread/contrib/taxonomy/views.py @@ -3,7 +3,7 @@ from basxbread import layout from basxbread.utils import Link, ModelHref, link_with_urlparameters -from basxbread.views import BrowseView +from basxbread.views import BrowseView, editlink from . import models @@ -71,7 +71,7 @@ def get_queryset(self): class VocabularyBrowseView(BrowseView): columns = ["name", "slug", "termcount"] rowactions = [ - BrowseView.editlink(), + editlink(), Link( href=ModelHref( models.Term, "browse", query={"vocabulary_slug": hg.C("row").slug} diff --git a/basxbread/locale/de/LC_MESSAGES/django.po b/basxbread/locale/de/LC_MESSAGES/django.po index f109078c..acc3a6be 100644 --- a/basxbread/locale/de/LC_MESSAGES/django.po +++ b/basxbread/locale/de/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: 2023-04-05 02:46+0000\n" "Last-Translator: Sam \n" "Language-Team: German " msgstr "" -#: basxbread/contrib/modeledit/views.py:160 +#: basxbread/contrib/modeledit/views.py:162 msgid "Add new field" msgstr "Neues Feld hinzufügen" @@ -354,12 +436,6 @@ msgstr "%(value)s ist kein gültiger Regex" msgid "%(value)s is not a valid internal URL" msgstr "%(value)s ist keine gültige interne URL" -#: basxbread/contrib/publicurls/models.py:33 -#: basxbread/contrib/reports/models.py:22 -#: basxbread/contrib/taxonomy/models.py:20 -msgid "Name" -msgstr "Name" - #: basxbread/contrib/publicurls/models.py:35 msgid "URL" msgstr "URL" @@ -374,6 +450,7 @@ msgstr "Salt" #: basxbread/contrib/publicurls/models.py:41 #: basxbread/contrib/reports/models.py:21 +#: basxbread/layout/components/history_table.py:94 msgid "Created" msgstr "Erstellt" @@ -441,7 +518,7 @@ msgid "Reports" msgstr "Berichte" #: basxbread/contrib/reports/models.py:29 -#: basxbread/contrib/triggers/models.py:131 basxbread/views/browse.py:685 +#: basxbread/contrib/triggers/models.py:134 basxbread/views/browse.py:692 msgid "Filter" msgstr "Filter" @@ -534,24 +611,25 @@ msgid "Columns" msgstr "Spalten" #: basxbread/contrib/reports/urls.py:23 -#: basxbread/layout/components/forms/__init__.py:356 +#: basxbread/layout/components/forms/__init__.py:416 +#: basxbread/layout/components/forms/__init__.py:444 #: basxbread/views/browse.py:66 basxbread/views/browse.py:411 -#: basxbread/views/util.py:37 +#: basxbread/views/util.py:38 msgid "Delete" msgstr "Löschen" -#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:53 +#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:54 msgid "Copy" msgstr "Kopieren" -#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:399 -#: basxbread/views/read.py:54 basxbread/views/userprofile.py:119 +#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:401 +#: basxbread/views/read.py:61 basxbread/views/userprofile.py:119 #: basxbread/views/userprofile.py:147 basxbread/views/userprofile.py:179 -#: basxbread/views/util.py:24 +#: basxbread/views/util.py:25 msgid "Edit" msgstr "Bearbeiten" -#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:156 +#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:158 #: basxbread/views/browse.py:59 msgid "Excel" msgstr "Excel" @@ -626,7 +704,7 @@ msgid "Show disabled" msgstr "Zeige deaktivierte" #: basxbread/contrib/taxonomy/views.py:54 -#: basxbread/layout/components/datatable.py:360 basxbread/views/add.py:43 +#: basxbread/layout/components/datatable.py:377 basxbread/views/add.py:43 #: basxbread/views/add.py:50 #, python-format msgid "Add %s" @@ -657,10 +735,6 @@ msgstr "Actions" msgid "Email" msgstr "Email" -#: basxbread/contrib/triggers/models.py:73 -msgid "Subject" -msgstr "Betreff" - #: basxbread/contrib/triggers/models.py:76 #: basxbread/contrib/triggers/models.py:82 msgid "" @@ -671,36 +745,36 @@ msgstr "Wird gerendert als Django-Template mit dem namen 'object im Kontext'" msgid "Message" msgstr "Nachricht" -#: basxbread/contrib/triggers/models.py:117 +#: basxbread/contrib/triggers/models.py:120 msgid "Send email action" msgstr "Sende Email Aktion" -#: basxbread/contrib/triggers/models.py:118 +#: basxbread/contrib/triggers/models.py:121 msgid "Send email actions" msgstr "Sende Email Aktionen" -#: basxbread/contrib/triggers/models.py:149 +#: basxbread/contrib/triggers/models.py:152 msgid "Type" msgstr "Typ" -#: basxbread/contrib/triggers/models.py:151 +#: basxbread/contrib/triggers/models.py:154 msgid "Added" msgstr "Hinzugefügt" -#: basxbread/contrib/triggers/models.py:152 +#: basxbread/contrib/triggers/models.py:155 msgid "Changed" msgstr "Geändert" -#: basxbread/contrib/triggers/models.py:153 +#: basxbread/contrib/triggers/models.py:156 msgid "Deleted" msgstr "Gelöscht" -#: basxbread/contrib/triggers/models.py:157 -#: basxbread/contrib/triggers/models.py:184 basxbread/views/read.py:35 +#: basxbread/contrib/triggers/models.py:160 +#: basxbread/contrib/triggers/models.py:187 basxbread/views/read.py:35 msgid "Field" msgstr "Feld" -#: basxbread/contrib/triggers/models.py:161 +#: basxbread/contrib/triggers/models.py:164 msgid "" "Only trigger when a certain field has changed. Use comma to add multiple " "fields." @@ -708,71 +782,71 @@ msgstr "" "Triggere nur, when ein gewisse Feld ändert. Komma kann verwendet werden um " "bei mehreren Feldern zu triggern." -#: basxbread/contrib/triggers/models.py:167 +#: basxbread/contrib/triggers/models.py:170 msgid "Change trigger" msgstr "Änderungs-Trigger" -#: basxbread/contrib/triggers/models.py:168 +#: basxbread/contrib/triggers/models.py:171 msgid "Change triggers" msgstr "Änderungs-Trigger" -#: basxbread/contrib/triggers/models.py:172 +#: basxbread/contrib/triggers/models.py:175 msgid "Seconds" msgstr "Sekunden" -#: basxbread/contrib/triggers/models.py:173 +#: basxbread/contrib/triggers/models.py:176 msgid "Minutes" msgstr "Minuten" -#: basxbread/contrib/triggers/models.py:174 +#: basxbread/contrib/triggers/models.py:177 msgid "Hours" msgstr "Stunden" -#: basxbread/contrib/triggers/models.py:175 +#: basxbread/contrib/triggers/models.py:178 msgid "Days" msgstr "Tage" -#: basxbread/contrib/triggers/models.py:176 +#: basxbread/contrib/triggers/models.py:179 msgid "Weeks" msgstr "Wochen" -#: basxbread/contrib/triggers/models.py:177 +#: basxbread/contrib/triggers/models.py:180 msgid "Months" msgstr "Monate" -#: basxbread/contrib/triggers/models.py:178 +#: basxbread/contrib/triggers/models.py:181 msgid "Years" msgstr "Jahre" -#: basxbread/contrib/triggers/models.py:186 +#: basxbread/contrib/triggers/models.py:189 msgid "The field of the selected model which should trigger an action" msgstr "Das Feld des gewählten Modeles welches eine Action triggern soll" -#: basxbread/contrib/triggers/models.py:190 +#: basxbread/contrib/triggers/models.py:193 msgid "Offset type" msgstr "Offset-Typ" -#: basxbread/contrib/triggers/models.py:196 +#: basxbread/contrib/triggers/models.py:199 msgid "Offset amount" msgstr "Offset-Betrag" -#: basxbread/contrib/triggers/models.py:197 +#: basxbread/contrib/triggers/models.py:200 msgid "Can be negative (before) or positive (after)" msgstr "Kann negativ (vorher) or positiv (danach) sein" -#: basxbread/contrib/triggers/models.py:201 +#: basxbread/contrib/triggers/models.py:204 msgid "Ignore year" msgstr "Jahr ignorieren" -#: basxbread/contrib/triggers/models.py:203 +#: basxbread/contrib/triggers/models.py:206 msgid "Check this in order to trigger every year" msgstr "Diese Option aktvieren um jedes Jahr zu triggern" -#: basxbread/contrib/triggers/models.py:230 +#: basxbread/contrib/triggers/models.py:233 msgid "Date trigger" msgstr "Datumstrigger" -#: basxbread/contrib/triggers/models.py:231 +#: basxbread/contrib/triggers/models.py:234 msgid "Date triggers" msgstr "Datumsfeld Trigger" @@ -810,34 +884,12 @@ msgstr "Logo" msgid "File not found" msgstr "Datei nicht gefunden" -#: basxbread/layout/componentpreview.py:123 -msgid "Table of Contents" -msgstr "Inhaltsübersicht" - -#: basxbread/layout/componentpreview.py:975 -#: basxbread/views/administration.py:263 -msgid "" -"This is some tooltip text. This box shows the maximum amount of text that " -"should appear inside. If more room is needed please use a modal instead." -msgstr "" -"Dies ist ein Tooltip text. Diese Box zeigt den maximalen Text an, " -"welcherangezeigt sollte. Falls mehr Platz benötigt wird sollte ein Modal " -"verwendetwerden stattdessen." - -#: basxbread/layout/componentpreview.py:1038 -msgid "This is a server message in the ToastNotification." -msgstr "Dies ist eine Servernachricht in der ToastNotification" - -#: basxbread/layout/componentpreview.py:1172 -msgid "Click to see ToastNotification in action" -msgstr "Klicken um die ToastNotification in Aktion zu sehen" - #: basxbread/layout/components/button.py:81 #: basxbread/layout/components/overflow_menu.py:20 msgid "Please confirm" msgstr "Bitte bestätigen" -#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:112 +#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:109 msgid "Are you sure?" msgstr "Sind Sie sicher" @@ -855,17 +907,17 @@ msgstr "Ja!" msgid "Print" msgstr "Drucken" -#: basxbread/layout/components/datatable.py:253 -#: basxbread/layout/components/modal.py:105 basxbread/views/auth.py:30 -#: basxbread/views/browse.py:706 +#: basxbread/layout/components/datatable.py:263 +#: basxbread/layout/components/modal.py:107 basxbread/views/auth.py:30 +#: basxbread/views/browse.py:713 msgid "Cancel" msgstr "Abbrechen" -#: basxbread/layout/components/datatable.py:264 +#: basxbread/layout/components/datatable.py:274 msgid " items selected" msgstr " Einträge ausgewählt" -#: basxbread/layout/components/datatable.py:270 +#: basxbread/layout/components/datatable.py:280 msgid "Table Action Bar" msgstr "Tabellen Aktionsbar" @@ -892,8 +944,9 @@ msgid " reference to multiple \"%s\"" msgstr " Referenz zu mehreren \"%s\"" #: basxbread/layout/components/forms/__init__.py:60 -#: basxbread/layout/components/forms/__init__.py:230 -#: basxbread/layout/components/forms/__init__.py:333 +#: basxbread/layout/components/forms/__init__.py:244 +#: basxbread/layout/components/forms/__init__.py:347 +#: basxbread/layout/components/forms/__init__.py:396 msgid "Form error" msgstr "Formfehler" @@ -906,7 +959,7 @@ msgstr "Fehler von versteckten Feldern" msgid "Add" msgstr "Erstellen" -#: basxbread/layout/components/forms/__init__.py:296 +#: basxbread/layout/components/forms/__init__.py:310 msgid "Order" msgstr "Reihenfolge" @@ -920,18 +973,49 @@ msgstr "Speichern" msgid "Show password" msgstr "Zeige Passwort" -#: basxbread/layout/components/forms/widgets.py:904 +#: basxbread/layout/components/forms/widgets.py:360 +msgid "Type to search" +msgstr "" + +#: basxbread/layout/components/forms/widgets.py:967 msgid "Select file" msgstr "Datei auswählen" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "From" msgstr "Von" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "To" msgstr "Für" +#: basxbread/layout/components/history_table.py:55 +#: basxbread/layout/components/history_table.py:66 +msgid "" +msgstr "" + +#: basxbread/layout/components/history_table.py:89 +msgid "Date" +msgstr "" + +#: basxbread/layout/components/history_table.py:99 +#, fuzzy +#| msgid "Timezone" +msgid "Time" +msgstr "Zeitzone" + +#: basxbread/layout/components/history_table.py:103 +#, fuzzy +#| msgid "Users" +msgid "User" +msgstr "Benutzer" + +#: basxbread/layout/components/history_table.py:107 +#, fuzzy +#| msgid "Changed" +msgid "Changes" +msgstr "Geändert" + #: basxbread/layout/components/notification.py:131 msgid "Time stamp" msgstr "Zeitpunkt" @@ -1016,22 +1100,14 @@ msgstr "Hintergrund Jobs" msgid "Data model" msgstr "Datenmodel" -#: basxbread/menu.py:189 -msgid "Django Admin" -msgstr "Django Admin" - -#: basxbread/menu.py:197 basxbread/views/administration.py:38 +#: basxbread/menu.py:191 basxbread/views/administration.py:34 msgid "Maintenance" msgstr "Wartung" -#: basxbread/menu.py:207 +#: basxbread/menu.py:201 msgid "System Information" msgstr "Systeminformationen" -#: basxbread/menu.py:216 -msgid "Component Preview" -msgstr "Komponentenvorschau" - #: basxbread/querysetfield.py:103 #, python-format msgid "Invalid model '%s' selected" @@ -1042,138 +1118,82 @@ msgstr "Ungültiges Model '%s' ausgewählt" msgid "Added %s" msgstr "%s erstellt" -#: basxbread/views/administration.py:48 +#: basxbread/views/administration.py:44 msgid "Packages" msgstr "Packete" -#: basxbread/views/administration.py:52 +#: basxbread/views/administration.py:48 msgid "Optimize database" msgstr "Datenbank optimieren" -#: basxbread/views/administration.py:54 +#: basxbread/views/administration.py:50 msgid "Rebuild search index" msgstr "Suchindex neu erstellen" -#: basxbread/views/administration.py:56 +#: basxbread/views/administration.py:52 msgid "Restart application server" msgstr "Datenbankserver neu starten" -#: basxbread/views/administration.py:160 -msgid "Back to top" -msgstr "Zurück nach oben" - -#: basxbread/views/administration.py:168 -msgid "Layout" -msgstr "Layout" - -#: basxbread/views/administration.py:172 -msgid "Informational" -msgstr "Informations-technisch" - -#: basxbread/views/administration.py:176 -msgid "Interactive" -msgstr "Interaktiv" - -#: basxbread/views/administration.py:180 -msgid "Datatable" -msgstr "Datatable" - -#: basxbread/views/administration.py:184 -msgid "Form" -msgstr "Form" - -#: basxbread/views/administration.py:186 -msgid "Widget preview" -msgstr "Widget Vorschau" - -#: basxbread/views/administration.py:190 -msgid "Widgets" -msgstr "Widgets" - -#: basxbread/views/administration.py:206 -msgid "Configure preview" -msgstr "Vorschau konfigurieren" - -#: basxbread/views/administration.py:213 -msgid "Apply" -msgstr "Anwenden" - -#: basxbread/views/administration.py:220 -msgid "Tooltips" -msgstr "Tooltips" - -#: basxbread/views/administration.py:221 -msgid "Definition tooltip" -msgstr "Definition tooltip" - -#: basxbread/views/administration.py:243 -msgid "Icon tooltip" -msgstr "Icon tooltip" - -#: basxbread/views/administration.py:257 -msgid "Interactive tooltip" -msgstr "Interaktiver Tooltip" - -#: basxbread/views/administration.py:308 +#: basxbread/views/administration.py:84 msgid "unable to load" msgstr "Kann nicht geladen werden" -#: basxbread/views/administration.py:325 +#: basxbread/views/administration.py:101 msgid "Package" msgstr "Packet" -#: basxbread/views/administration.py:329 +#: basxbread/views/administration.py:105 msgid "Current" msgstr "Aktuelle Version" -#: basxbread/views/administration.py:333 +#: basxbread/views/administration.py:109 msgid "Latest" msgstr "Neuste Version" -#: basxbread/views/administration.py:354 +#: basxbread/views/administration.py:130 msgid "Database optimization is currently only available for sqlite databases" msgstr "Datenbankoptimierung ist momentan nur für sqlite Datenbanken verfügbar" -#: basxbread/views/administration.py:380 +#: basxbread/views/administration.py:156 #, python-format msgid "The database size has been minimized from %.2f kB to %.2f kB." msgstr "Die Datenbank wurde von %.2f kB nach %.2f kB optimiert." -#: basxbread/views/administration.py:385 +#: basxbread/views/administration.py:161 #, python-format msgid "Previous Size: %.2f kB" msgstr "Vorherige Grösse: %.2f kB" -#: basxbread/views/administration.py:395 +#: basxbread/views/administration.py:171 msgid "Optimize" msgstr "Optimieren" -#: basxbread/views/administration.py:400 +#: basxbread/views/administration.py:176 #, python-format msgid "Current Size: %.2f kB" msgstr "Aktuelle Grösse: %.2f kB" -#: basxbread/views/administration.py:427 +#: basxbread/views/administration.py:203 msgid "Rebuilt search index" msgstr "Suchindex wurde neu erstellt" -#: basxbread/views/administration.py:436 +#: basxbread/views/administration.py:212 msgid "Rebuild" msgstr "Neu erstellen" -#: basxbread/views/administration.py:457 +#: basxbread/views/administration.py:233 msgid "Log from the server" msgstr "Log vom Server" -#: basxbread/views/administration.py:471 +#: basxbread/views/administration.py:247 msgid "Restarted application server" msgstr "Der Datenbankserver wurde neu gestartet" -#: basxbread/views/administration.py:480 +#: basxbread/views/administration.py:256 msgid "Restart" msgstr "Neustart" -#: basxbread/views/administration.py:509 +#: basxbread/views/administration.py:285 msgid "System information" msgstr "Systeminformationen" @@ -1243,57 +1263,57 @@ msgstr "Passwort erfolgreich geändert." msgid "Please login again" msgstr "Bitte loggen Sie sich wieder ein" -#: basxbread/views/browse.py:287 +#: basxbread/views/browse.py:289 #, python-format msgid "Action '%s' is not configured for this view" msgstr "Aktion '%s' ist nicht konfiguriert für diese View" -#: basxbread/views/browse.py:334 +#: basxbread/views/browse.py:336 #, python-format msgid "Bad filter string '%s': '%s'" msgstr "Falscher Filterwert '%s': '%s'" -#: basxbread/views/browse.py:416 basxbread/views/util.py:45 +#: basxbread/views/browse.py:416 basxbread/views/util.py:46 msgid "Are you sure you want to delete {}?" msgstr "Sind Sie sicher, dass Sie {} löschen möchten?" -#: basxbread/views/browse.py:468 +#: basxbread/views/browse.py:471 #, python-format msgid "Your user has not the permissions to delete %s" msgstr "Benutzer hat nicht die benötigten Berechtigungnen um '%s' zu löschen" -#: basxbread/views/browse.py:481 +#: basxbread/views/browse.py:484 #, python-format msgid "%s could not be deleted: %s" msgstr "%s konnte nicht gelöscht werden: %s" -#: basxbread/views/browse.py:486 +#: basxbread/views/browse.py:489 #, python-format msgid "Deleted %(count)s %(modelname)s" msgstr "%(count)s %(modelname)s gelöscht" -#: basxbread/views/browse.py:510 +#: basxbread/views/browse.py:515 #, python-format msgid "Your user has not the permissions to restore %s" msgstr "" "Ihr Benutzer hat nicht die benötigten Berechtigungnen um '%s' " "wiederherzustellen" -#: basxbread/views/browse.py:519 +#: basxbread/views/browse.py:524 #, python-format msgid "%s could not be restored: %s" msgstr "%s konnte nicht wiederhergestellt werden: %s" -#: basxbread/views/browse.py:524 +#: basxbread/views/browse.py:529 #, python-format msgid "Restored %(count)s %(modelname)s" msgstr "%(count)s %(modelname)s wiederhergestellt" -#: basxbread/views/browse.py:712 +#: basxbread/views/browse.py:719 msgid "Reset" msgstr "Zurücksetzen" -#: basxbread/views/browse.py:719 +#: basxbread/views/browse.py:726 msgctxt "apply filter" msgid "Filter" msgstr "Filtern" @@ -1432,11 +1452,11 @@ msgstr "" msgid "Request reset" msgstr "Zurücksetzen" -#: basxbread/views/userprofile.py:399 +#: basxbread/views/userprofile.py:400 msgid "Enabled developer mode" msgstr "Entwickler-Modus aktiviert" -#: basxbread/views/userprofile.py:401 +#: basxbread/views/userprofile.py:402 msgid "Disabled developer mode" msgstr "Entwickler-Modus deaktiviert" @@ -1450,7 +1470,8 @@ msgstr "Benutzer hat keine Emailadresse" #: basxbread/views/users.py:36 msgid "Are you sure you want to send a password reset email to {}?" -msgstr "Sind Sie sicher, dass eine Passwort-Reset Email an {} geschickt werden soll?" +msgstr "" +"Sind Sie sicher, dass eine Passwort-Reset Email an {} geschickt werden soll?" #: basxbread/views/users.py:116 msgid "Send password reset to user" @@ -1460,22 +1481,25 @@ msgstr "Sende Passwort-Reset an den Benutzer" msgid "" "When checking this, a link will be sent to the user which allows him to set " "his password" -msgstr "Wenn die Checkbox aktiviert ist, wirdr ein Email an den Benutzer " -"geschickt welche einen Link zum setzen eines neuen Passwortes enthält." +msgstr "" +"Wenn die Checkbox aktiviert ist, wirdr ein Email an den Benutzer geschickt " +"welche einen Link zum setzen eines neuen Passwortes enthält." #: basxbread/views/users.py:128 msgid "Please enter the user's email address in order to send a password reset" -msgstr "Bitte die Emailadresse des Benutzers eingeben um eine Passwort-Reset-Nachricht verschicken zu können." +msgstr "" +"Bitte die Emailadresse des Benutzers eingeben um eine Passwort-Reset-" +"Nachricht verschicken zu können." -#: basxbread/views/util.py:30 +#: basxbread/views/util.py:31 msgid "Read" msgstr "Lesen" -#: basxbread/views/util.py:60 +#: basxbread/views/util.py:61 msgid "Are you sure you want to copy {}?" msgstr "Sind Sie sicher, dass Sie {} kopieren wollen?" -#: basxbread/views/util.py:90 +#: basxbread/views/util.py:91 msgid "Add {}" msgstr "{} hinzufügen" @@ -1487,6 +1511,71 @@ msgstr "Fertigstellen" msgid "Continue" msgstr "Weiter" +#~ msgid "Table of Contents" +#~ msgstr "Inhaltsübersicht" + +#~ msgid "" +#~ "This is some tooltip text. This box shows the maximum amount of text that " +#~ "should appear inside. If more room is needed please use a modal instead." +#~ msgstr "" +#~ "Dies ist ein Tooltip text. Diese Box zeigt den maximalen Text an, " +#~ "welcherangezeigt sollte. Falls mehr Platz benötigt wird sollte ein Modal " +#~ "verwendetwerden stattdessen." + +#~ msgid "This is a server message in the ToastNotification." +#~ msgstr "Dies ist eine Servernachricht in der ToastNotification" + +#~ msgid "Click to see ToastNotification in action" +#~ msgstr "Klicken um die ToastNotification in Aktion zu sehen" + +#~ msgid "Django Admin" +#~ msgstr "Django Admin" + +#~ msgid "Component Preview" +#~ msgstr "Komponentenvorschau" + +#~ msgid "Back to top" +#~ msgstr "Zurück nach oben" + +#~ msgid "Layout" +#~ msgstr "Layout" + +#~ msgid "Informational" +#~ msgstr "Informations-technisch" + +#~ msgid "Interactive" +#~ msgstr "Interaktiv" + +#~ msgid "Datatable" +#~ msgstr "Datatable" + +#~ msgid "Form" +#~ msgstr "Form" + +#~ msgid "Widget preview" +#~ msgstr "Widget Vorschau" + +#~ msgid "Widgets" +#~ msgstr "Widgets" + +#~ msgid "Configure preview" +#~ msgstr "Vorschau konfigurieren" + +#~ msgid "Apply" +#~ msgstr "Anwenden" + +#~ msgid "Tooltips" +#~ msgstr "Tooltips" + +#~ msgid "Definition tooltip" +#~ msgstr "Definition tooltip" + +#~ msgid "Icon tooltip" +#~ msgstr "Icon tooltip" + +#~ msgid "Interactive tooltip" +#~ msgstr "Interaktiver Tooltip" + #~ msgid "Workflow Diagram" #~ msgstr "Workflow Diagramm" diff --git a/basxbread/locale/en/LC_MESSAGES/django.po b/basxbread/locale/en/LC_MESSAGES/django.po index 9bc2d57f..547f3c20 100644 --- a/basxbread/locale/en/LC_MESSAGES/django.po +++ b/basxbread/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -28,9 +28,10 @@ msgid "Title" msgstr "" #: basxbread/contrib/customforms/models.py:12 +#: basxbread/contrib/email_templates/models.py:16 #: basxbread/contrib/reports/models.py:24 #: basxbread/contrib/triggers/models.py:51 -#: basxbread/contrib/triggers/models.py:125 +#: basxbread/contrib/triggers/models.py:128 msgid "Model" msgstr "" @@ -88,79 +89,150 @@ msgstr "" msgid "PDF form" msgstr "" -#: basxbread/contrib/customforms/models.py:89 +#: basxbread/contrib/customforms/models.py:98 #, python-format msgid "PDF import for %s" msgstr "" -#: basxbread/contrib/customforms/models.py:92 +#: basxbread/contrib/customforms/models.py:101 msgid "PDF import" msgstr "" -#: basxbread/contrib/customforms/models.py:93 +#: basxbread/contrib/customforms/models.py:102 msgid "PDF imports" msgstr "" -#: basxbread/contrib/customforms/models.py:100 +#: basxbread/contrib/customforms/models.py:109 msgid "PDF form field" msgstr "" -#: basxbread/contrib/customforms/models.py:104 +#: basxbread/contrib/customforms/models.py:113 msgid "PDF field name" msgstr "" -#: basxbread/contrib/customforms/models.py:118 +#: basxbread/contrib/customforms/models.py:125 +msgid "Join" +msgstr "" + +#: basxbread/contrib/customforms/models.py:126 +msgid "Join multiple fields with character, use \\n for newline" +msgstr "" + +#: basxbread/contrib/customforms/models.py:133 +msgid "Map value" +msgstr "" + +#: basxbread/contrib/customforms/models.py:133 +msgid "Map PDF-field value" +msgstr "" + +#: basxbread/contrib/customforms/models.py:145 msgid "PDF import field" msgstr "" -#: basxbread/contrib/customforms/models.py:119 +#: basxbread/contrib/customforms/models.py:146 msgid "PDF import fields" msgstr "" -#: basxbread/contrib/customforms/urls.py:21 +#: basxbread/contrib/customforms/urls.py:19 msgid "Add form entry" msgstr "" -#: basxbread/contrib/customforms/urls.py:50 +#: basxbread/contrib/customforms/urls.py:46 msgid "Import new PDF" msgstr "" -#: basxbread/contrib/customforms/views.py:33 +#: basxbread/contrib/customforms/views.py:36 msgid "Error" msgstr "" -#: basxbread/contrib/customforms/views.py:34 +#: basxbread/contrib/customforms/views.py:37 msgid "More than one instance was selected by the query elements" msgstr "" -#: basxbread/contrib/customforms/views.py:37 +#: basxbread/contrib/customforms/views.py:40 msgid "The following arguments were passed to the query:" msgstr "" -#: basxbread/contrib/customforms/views.py:41 +#: basxbread/contrib/customforms/views.py:44 msgid "Query field name" msgstr "" -#: basxbread/contrib/customforms/views.py:44 +#: basxbread/contrib/customforms/views.py:47 msgid "Query field value" msgstr "" -#: basxbread/contrib/customforms/views.py:48 +#: basxbread/contrib/customforms/views.py:51 msgid "Model: " msgstr "" -#: basxbread/contrib/customforms/views.py:50 +#: basxbread/contrib/customforms/views.py:53 msgid "Produced results (should only produce 1)" msgstr "" -#: basxbread/contrib/customforms/views.py:115 +#: basxbread/contrib/customforms/views.py:104 +msgid "PDF password" +msgstr "" + +#: basxbread/contrib/customforms/views.py:175 msgid "Import filled out version of {}" msgstr "" -#: basxbread/contrib/customforms/views.py:123 +#: basxbread/contrib/customforms/views.py:184 msgid "Import" msgstr "" +#: basxbread/contrib/email_templates/apps.py:8 +#: basxbread/contrib/email_templates/models.py:47 +msgid "Email templates" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:9 +#: basxbread/contrib/publicurls/models.py:33 +#: basxbread/contrib/reports/models.py:22 +#: basxbread/contrib/taxonomy/models.py:20 +msgid "Name" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:10 +#: basxbread/contrib/triggers/models.py:73 +msgid "Subject" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:11 +msgid "Body" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:20 +msgid "" +"Select a model if this template should only be used with certain model " +"instances." +msgstr "" + +#: basxbread/contrib/email_templates/models.py:29 +msgid "Generate attachment" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:46 +msgid "Email template" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:54 +msgid "Template" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:57 +msgid "File" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:60 +msgid "Attachment" +msgstr "" + +#: basxbread/contrib/email_templates/models.py:61 +msgid "Attachments" +msgstr "" + #: basxbread/contrib/modeledit/apps.py:8 msgid "Model editing (WIP)" msgstr "" @@ -312,16 +384,16 @@ msgstr "" msgid "Modeledit" msgstr "" -#: basxbread/contrib/modeledit/views.py:136 +#: basxbread/contrib/modeledit/views.py:138 #: basxbread/layout/components/fieldexplorer.py:31 msgid "Fields" msgstr "" -#: basxbread/contrib/modeledit/views.py:147 +#: basxbread/contrib/modeledit/views.py:149 msgid "" msgstr "" -#: basxbread/contrib/modeledit/views.py:160 +#: basxbread/contrib/modeledit/views.py:162 msgid "Add new field" msgstr "" @@ -340,12 +412,6 @@ msgstr "" msgid "%(value)s is not a valid internal URL" msgstr "" -#: basxbread/contrib/publicurls/models.py:33 -#: basxbread/contrib/reports/models.py:22 -#: basxbread/contrib/taxonomy/models.py:20 -msgid "Name" -msgstr "" - #: basxbread/contrib/publicurls/models.py:35 msgid "URL" msgstr "" @@ -360,6 +426,7 @@ msgstr "" #: basxbread/contrib/publicurls/models.py:41 #: basxbread/contrib/reports/models.py:21 +#: basxbread/layout/components/history_table.py:94 msgid "Created" msgstr "" @@ -423,7 +490,7 @@ msgid "Reports" msgstr "" #: basxbread/contrib/reports/models.py:29 -#: basxbread/contrib/triggers/models.py:131 basxbread/views/browse.py:685 +#: basxbread/contrib/triggers/models.py:134 basxbread/views/browse.py:692 msgid "Filter" msgstr "" @@ -506,24 +573,25 @@ msgid "Columns" msgstr "" #: basxbread/contrib/reports/urls.py:23 -#: basxbread/layout/components/forms/__init__.py:356 +#: basxbread/layout/components/forms/__init__.py:416 +#: basxbread/layout/components/forms/__init__.py:444 #: basxbread/views/browse.py:66 basxbread/views/browse.py:411 -#: basxbread/views/util.py:37 +#: basxbread/views/util.py:38 msgid "Delete" msgstr "" -#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:53 +#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:54 msgid "Copy" msgstr "" -#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:399 -#: basxbread/views/read.py:54 basxbread/views/userprofile.py:119 +#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:401 +#: basxbread/views/read.py:61 basxbread/views/userprofile.py:119 #: basxbread/views/userprofile.py:147 basxbread/views/userprofile.py:179 -#: basxbread/views/util.py:24 +#: basxbread/views/util.py:25 msgid "Edit" msgstr "" -#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:156 +#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:158 #: basxbread/views/browse.py:59 msgid "Excel" msgstr "" @@ -597,7 +665,7 @@ msgid "Show disabled" msgstr "" #: basxbread/contrib/taxonomy/views.py:54 -#: basxbread/layout/components/datatable.py:360 basxbread/views/add.py:43 +#: basxbread/layout/components/datatable.py:377 basxbread/views/add.py:43 #: basxbread/views/add.py:50 #, python-format msgid "Add %s" @@ -628,10 +696,6 @@ msgstr "" msgid "Email" msgstr "" -#: basxbread/contrib/triggers/models.py:73 -msgid "Subject" -msgstr "" - #: basxbread/contrib/triggers/models.py:76 #: basxbread/contrib/triggers/models.py:82 msgid "" @@ -642,106 +706,106 @@ msgstr "" msgid "Message" msgstr "" -#: basxbread/contrib/triggers/models.py:117 +#: basxbread/contrib/triggers/models.py:120 msgid "Send email action" msgstr "" -#: basxbread/contrib/triggers/models.py:118 +#: basxbread/contrib/triggers/models.py:121 msgid "Send email actions" msgstr "" -#: basxbread/contrib/triggers/models.py:149 +#: basxbread/contrib/triggers/models.py:152 msgid "Type" msgstr "" -#: basxbread/contrib/triggers/models.py:151 +#: basxbread/contrib/triggers/models.py:154 msgid "Added" msgstr "" -#: basxbread/contrib/triggers/models.py:152 +#: basxbread/contrib/triggers/models.py:155 msgid "Changed" msgstr "" -#: basxbread/contrib/triggers/models.py:153 +#: basxbread/contrib/triggers/models.py:156 msgid "Deleted" msgstr "" -#: basxbread/contrib/triggers/models.py:157 -#: basxbread/contrib/triggers/models.py:184 basxbread/views/read.py:35 +#: basxbread/contrib/triggers/models.py:160 +#: basxbread/contrib/triggers/models.py:187 basxbread/views/read.py:35 msgid "Field" msgstr "" -#: basxbread/contrib/triggers/models.py:161 +#: basxbread/contrib/triggers/models.py:164 msgid "" "Only trigger when a certain field has changed. Use comma to add multiple " "fields." msgstr "" -#: basxbread/contrib/triggers/models.py:167 +#: basxbread/contrib/triggers/models.py:170 msgid "Change trigger" msgstr "" -#: basxbread/contrib/triggers/models.py:168 +#: basxbread/contrib/triggers/models.py:171 msgid "Change triggers" msgstr "" -#: basxbread/contrib/triggers/models.py:172 +#: basxbread/contrib/triggers/models.py:175 msgid "Seconds" msgstr "" -#: basxbread/contrib/triggers/models.py:173 +#: basxbread/contrib/triggers/models.py:176 msgid "Minutes" msgstr "" -#: basxbread/contrib/triggers/models.py:174 +#: basxbread/contrib/triggers/models.py:177 msgid "Hours" msgstr "" -#: basxbread/contrib/triggers/models.py:175 +#: basxbread/contrib/triggers/models.py:178 msgid "Days" msgstr "" -#: basxbread/contrib/triggers/models.py:176 +#: basxbread/contrib/triggers/models.py:179 msgid "Weeks" msgstr "" -#: basxbread/contrib/triggers/models.py:177 +#: basxbread/contrib/triggers/models.py:180 msgid "Months" msgstr "" -#: basxbread/contrib/triggers/models.py:178 +#: basxbread/contrib/triggers/models.py:181 msgid "Years" msgstr "" -#: basxbread/contrib/triggers/models.py:186 +#: basxbread/contrib/triggers/models.py:189 msgid "The field of the selected model which should trigger an action" msgstr "" -#: basxbread/contrib/triggers/models.py:190 +#: basxbread/contrib/triggers/models.py:193 msgid "Offset type" msgstr "" -#: basxbread/contrib/triggers/models.py:196 +#: basxbread/contrib/triggers/models.py:199 msgid "Offset amount" msgstr "" -#: basxbread/contrib/triggers/models.py:197 +#: basxbread/contrib/triggers/models.py:200 msgid "Can be negative (before) or positive (after)" msgstr "" -#: basxbread/contrib/triggers/models.py:201 +#: basxbread/contrib/triggers/models.py:204 msgid "Ignore year" msgstr "" -#: basxbread/contrib/triggers/models.py:203 +#: basxbread/contrib/triggers/models.py:206 msgid "Check this in order to trigger every year" msgstr "" -#: basxbread/contrib/triggers/models.py:230 +#: basxbread/contrib/triggers/models.py:233 msgid "Date trigger" msgstr "" -#: basxbread/contrib/triggers/models.py:231 +#: basxbread/contrib/triggers/models.py:234 msgid "Date triggers" msgstr "" @@ -781,31 +845,12 @@ msgstr "" msgid "File not found" msgstr "" -#: basxbread/layout/componentpreview.py:123 -msgid "Table of Contents" -msgstr "" - -#: basxbread/layout/componentpreview.py:975 -#: basxbread/views/administration.py:263 -msgid "" -"This is some tooltip text. This box shows the maximum amount of text that " -"should appear inside. If more room is needed please use a modal instead." -msgstr "" - -#: basxbread/layout/componentpreview.py:1038 -msgid "This is a server message in the ToastNotification." -msgstr "" - -#: basxbread/layout/componentpreview.py:1172 -msgid "Click to see ToastNotification in action" -msgstr "" - #: basxbread/layout/components/button.py:81 #: basxbread/layout/components/overflow_menu.py:20 msgid "Please confirm" msgstr "" -#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:112 +#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:109 msgid "Are you sure?" msgstr "" @@ -823,17 +868,17 @@ msgstr "" msgid "Print" msgstr "" -#: basxbread/layout/components/datatable.py:253 -#: basxbread/layout/components/modal.py:105 basxbread/views/auth.py:30 -#: basxbread/views/browse.py:706 +#: basxbread/layout/components/datatable.py:263 +#: basxbread/layout/components/modal.py:107 basxbread/views/auth.py:30 +#: basxbread/views/browse.py:713 msgid "Cancel" msgstr "" -#: basxbread/layout/components/datatable.py:264 +#: basxbread/layout/components/datatable.py:274 msgid " items selected" msgstr "" -#: basxbread/layout/components/datatable.py:270 +#: basxbread/layout/components/datatable.py:280 msgid "Table Action Bar" msgstr "" @@ -860,8 +905,9 @@ msgid " reference to multiple \"%s\"" msgstr "" #: basxbread/layout/components/forms/__init__.py:60 -#: basxbread/layout/components/forms/__init__.py:230 -#: basxbread/layout/components/forms/__init__.py:333 +#: basxbread/layout/components/forms/__init__.py:244 +#: basxbread/layout/components/forms/__init__.py:347 +#: basxbread/layout/components/forms/__init__.py:396 msgid "Form error" msgstr "" @@ -874,7 +920,7 @@ msgstr "" msgid "Add" msgstr "" -#: basxbread/layout/components/forms/__init__.py:296 +#: basxbread/layout/components/forms/__init__.py:310 msgid "Order" msgstr "" @@ -888,18 +934,43 @@ msgstr "" msgid "Show password" msgstr "" -#: basxbread/layout/components/forms/widgets.py:904 +#: basxbread/layout/components/forms/widgets.py:360 +msgid "Type to search" +msgstr "" + +#: basxbread/layout/components/forms/widgets.py:967 msgid "Select file" msgstr "" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "From" msgstr "" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "To" msgstr "" +#: basxbread/layout/components/history_table.py:55 +#: basxbread/layout/components/history_table.py:66 +msgid "" +msgstr "" + +#: basxbread/layout/components/history_table.py:89 +msgid "Date" +msgstr "" + +#: basxbread/layout/components/history_table.py:99 +msgid "Time" +msgstr "" + +#: basxbread/layout/components/history_table.py:103 +msgid "User" +msgstr "" + +#: basxbread/layout/components/history_table.py:107 +msgid "Changes" +msgstr "" + #: basxbread/layout/components/notification.py:131 msgid "Time stamp" msgstr "" @@ -984,22 +1055,14 @@ msgstr "" msgid "Data model" msgstr "" -#: basxbread/menu.py:189 -msgid "Django Admin" -msgstr "" - -#: basxbread/menu.py:197 basxbread/views/administration.py:38 +#: basxbread/menu.py:191 basxbread/views/administration.py:34 msgid "Maintenance" msgstr "" -#: basxbread/menu.py:207 +#: basxbread/menu.py:201 msgid "System Information" msgstr "" -#: basxbread/menu.py:216 -msgid "Component Preview" -msgstr "" - #: basxbread/querysetfield.py:103 #, python-format msgid "Invalid model '%s' selected" @@ -1010,138 +1073,82 @@ msgstr "" msgid "Added %s" msgstr "" -#: basxbread/views/administration.py:48 +#: basxbread/views/administration.py:44 msgid "Packages" msgstr "" -#: basxbread/views/administration.py:52 +#: basxbread/views/administration.py:48 msgid "Optimize database" msgstr "" -#: basxbread/views/administration.py:54 +#: basxbread/views/administration.py:50 msgid "Rebuild search index" msgstr "" -#: basxbread/views/administration.py:56 +#: basxbread/views/administration.py:52 msgid "Restart application server" msgstr "" -#: basxbread/views/administration.py:160 -msgid "Back to top" -msgstr "" - -#: basxbread/views/administration.py:168 -msgid "Layout" -msgstr "" - -#: basxbread/views/administration.py:172 -msgid "Informational" -msgstr "" - -#: basxbread/views/administration.py:176 -msgid "Interactive" -msgstr "" - -#: basxbread/views/administration.py:180 -msgid "Datatable" -msgstr "" - -#: basxbread/views/administration.py:184 -msgid "Form" -msgstr "" - -#: basxbread/views/administration.py:186 -msgid "Widget preview" -msgstr "" - -#: basxbread/views/administration.py:190 -msgid "Widgets" -msgstr "" - -#: basxbread/views/administration.py:206 -msgid "Configure preview" -msgstr "" - -#: basxbread/views/administration.py:213 -msgid "Apply" -msgstr "" - -#: basxbread/views/administration.py:220 -msgid "Tooltips" -msgstr "" - -#: basxbread/views/administration.py:221 -msgid "Definition tooltip" -msgstr "" - -#: basxbread/views/administration.py:243 -msgid "Icon tooltip" -msgstr "" - -#: basxbread/views/administration.py:257 -msgid "Interactive tooltip" -msgstr "" - -#: basxbread/views/administration.py:308 +#: basxbread/views/administration.py:84 msgid "unable to load" msgstr "" -#: basxbread/views/administration.py:325 +#: basxbread/views/administration.py:101 msgid "Package" msgstr "" -#: basxbread/views/administration.py:329 +#: basxbread/views/administration.py:105 msgid "Current" msgstr "" -#: basxbread/views/administration.py:333 +#: basxbread/views/administration.py:109 msgid "Latest" msgstr "" -#: basxbread/views/administration.py:354 +#: basxbread/views/administration.py:130 msgid "Database optimization is currently only available for sqlite databases" msgstr "" -#: basxbread/views/administration.py:380 +#: basxbread/views/administration.py:156 #, python-format msgid "The database size has been minimized from %.2f kB to %.2f kB." msgstr "" -#: basxbread/views/administration.py:385 +#: basxbread/views/administration.py:161 #, python-format msgid "Previous Size: %.2f kB" msgstr "" -#: basxbread/views/administration.py:395 +#: basxbread/views/administration.py:171 msgid "Optimize" msgstr "" -#: basxbread/views/administration.py:400 +#: basxbread/views/administration.py:176 #, python-format msgid "Current Size: %.2f kB" msgstr "" -#: basxbread/views/administration.py:427 +#: basxbread/views/administration.py:203 msgid "Rebuilt search index" msgstr "" -#: basxbread/views/administration.py:436 +#: basxbread/views/administration.py:212 msgid "Rebuild" msgstr "" -#: basxbread/views/administration.py:457 +#: basxbread/views/administration.py:233 msgid "Log from the server" msgstr "" -#: basxbread/views/administration.py:471 +#: basxbread/views/administration.py:247 msgid "Restarted application server" msgstr "" -#: basxbread/views/administration.py:480 +#: basxbread/views/administration.py:256 msgid "Restart" msgstr "" -#: basxbread/views/administration.py:509 +#: basxbread/views/administration.py:285 msgid "System information" msgstr "" @@ -1207,55 +1214,55 @@ msgstr "" msgid "Please login again" msgstr "" -#: basxbread/views/browse.py:287 +#: basxbread/views/browse.py:289 #, python-format msgid "Action '%s' is not configured for this view" msgstr "" -#: basxbread/views/browse.py:334 +#: basxbread/views/browse.py:336 #, python-format msgid "Bad filter string '%s': '%s'" msgstr "" -#: basxbread/views/browse.py:416 basxbread/views/util.py:45 +#: basxbread/views/browse.py:416 basxbread/views/util.py:46 msgid "Are you sure you want to delete {}?" msgstr "" -#: basxbread/views/browse.py:468 +#: basxbread/views/browse.py:471 #, python-format msgid "Your user has not the permissions to delete %s" msgstr "" -#: basxbread/views/browse.py:481 +#: basxbread/views/browse.py:484 #, python-format msgid "%s could not be deleted: %s" msgstr "" -#: basxbread/views/browse.py:486 +#: basxbread/views/browse.py:489 #, python-format msgid "Deleted %(count)s %(modelname)s" msgstr "" -#: basxbread/views/browse.py:510 +#: basxbread/views/browse.py:515 #, python-format msgid "Your user has not the permissions to restore %s" msgstr "" -#: basxbread/views/browse.py:519 +#: basxbread/views/browse.py:524 #, python-format msgid "%s could not be restored: %s" msgstr "" -#: basxbread/views/browse.py:524 +#: basxbread/views/browse.py:529 #, python-format msgid "Restored %(count)s %(modelname)s" msgstr "" -#: basxbread/views/browse.py:712 +#: basxbread/views/browse.py:719 msgid "Reset" msgstr "" -#: basxbread/views/browse.py:719 +#: basxbread/views/browse.py:726 msgctxt "apply filter" msgid "Filter" msgstr "" @@ -1386,11 +1393,11 @@ msgstr "" msgid "Request reset" msgstr "" -#: basxbread/views/userprofile.py:399 +#: basxbread/views/userprofile.py:400 msgid "Enabled developer mode" msgstr "" -#: basxbread/views/userprofile.py:401 +#: basxbread/views/userprofile.py:402 msgid "Disabled developer mode" msgstr "" @@ -1420,15 +1427,15 @@ msgstr "" msgid "Please enter the user's email address in order to send a password reset" msgstr "" -#: basxbread/views/util.py:30 +#: basxbread/views/util.py:31 msgid "Read" msgstr "" -#: basxbread/views/util.py:60 +#: basxbread/views/util.py:61 msgid "Are you sure you want to copy {}?" msgstr "" -#: basxbread/views/util.py:90 +#: basxbread/views/util.py:91 msgid "Add {}" msgstr "" diff --git a/basxbread/locale/fr/LC_MESSAGES/django.po b/basxbread/locale/fr/LC_MESSAGES/django.po index 818b5af2..44cbdf5c 100644 --- a/basxbread/locale/fr/LC_MESSAGES/django.po +++ b/basxbread/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: 2021-06-23 11:32+0000\n" "Last-Translator: Nathan \n" "Language-Team: French " msgstr "" -#: basxbread/contrib/modeledit/views.py:160 +#: basxbread/contrib/modeledit/views.py:162 msgid "Add new field" msgstr "" @@ -377,12 +459,6 @@ msgstr "%(value)s n'est pas une URL interne valide" msgid "%(value)s is not a valid internal URL" msgstr "%(value)s n'est pas une URL interne valide" -#: basxbread/contrib/publicurls/models.py:33 -#: basxbread/contrib/reports/models.py:22 -#: basxbread/contrib/taxonomy/models.py:20 -msgid "Name" -msgstr "Nom" - #: basxbread/contrib/publicurls/models.py:35 msgid "URL" msgstr "URL" @@ -397,6 +473,7 @@ msgstr "" #: basxbread/contrib/publicurls/models.py:41 #: basxbread/contrib/reports/models.py:21 +#: basxbread/layout/components/history_table.py:94 msgid "Created" msgstr "Créé le" @@ -461,7 +538,7 @@ msgid "Reports" msgstr "Rapports" #: basxbread/contrib/reports/models.py:29 -#: basxbread/contrib/triggers/models.py:131 basxbread/views/browse.py:685 +#: basxbread/contrib/triggers/models.py:134 basxbread/views/browse.py:692 msgid "Filter" msgstr "Filtrer" @@ -548,24 +625,25 @@ msgid "Columns" msgstr "Colonnes" #: basxbread/contrib/reports/urls.py:23 -#: basxbread/layout/components/forms/__init__.py:356 +#: basxbread/layout/components/forms/__init__.py:416 +#: basxbread/layout/components/forms/__init__.py:444 #: basxbread/views/browse.py:66 basxbread/views/browse.py:411 -#: basxbread/views/util.py:37 +#: basxbread/views/util.py:38 msgid "Delete" msgstr "Supprimer" -#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:53 +#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:54 msgid "Copy" msgstr "Copier" -#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:399 -#: basxbread/views/read.py:54 basxbread/views/userprofile.py:119 +#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:401 +#: basxbread/views/read.py:61 basxbread/views/userprofile.py:119 #: basxbread/views/userprofile.py:147 basxbread/views/userprofile.py:179 -#: basxbread/views/util.py:24 +#: basxbread/views/util.py:25 msgid "Edit" msgstr "Modifier" -#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:156 +#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:158 #: basxbread/views/browse.py:59 msgid "Excel" msgstr "Excel" @@ -643,7 +721,7 @@ msgid "Show disabled" msgstr "Désactivé" #: basxbread/contrib/taxonomy/views.py:54 -#: basxbread/layout/components/datatable.py:360 basxbread/views/add.py:43 +#: basxbread/layout/components/datatable.py:377 basxbread/views/add.py:43 #: basxbread/views/add.py:50 #, python-format msgid "Add %s" @@ -677,10 +755,6 @@ msgstr "Actions" msgid "Email" msgstr "E-mail" -#: basxbread/contrib/triggers/models.py:73 -msgid "Subject" -msgstr "Sujet" - #: basxbread/contrib/triggers/models.py:76 #: basxbread/contrib/triggers/models.py:82 msgid "" @@ -692,116 +766,116 @@ msgstr "" msgid "Message" msgstr "Message" -#: basxbread/contrib/triggers/models.py:117 +#: basxbread/contrib/triggers/models.py:120 #, fuzzy #| msgid "Send Email Action" msgid "Send email action" msgstr "Action d'envoi d'e-mail" -#: basxbread/contrib/triggers/models.py:118 +#: basxbread/contrib/triggers/models.py:121 #, fuzzy #| msgid "Send Email Actions" msgid "Send email actions" msgstr "Actions d'envoi d'e-mail" -#: basxbread/contrib/triggers/models.py:149 +#: basxbread/contrib/triggers/models.py:152 msgid "Type" msgstr "Type" -#: basxbread/contrib/triggers/models.py:151 +#: basxbread/contrib/triggers/models.py:154 msgid "Added" msgstr "Ajouté" -#: basxbread/contrib/triggers/models.py:152 +#: basxbread/contrib/triggers/models.py:155 msgid "Changed" msgstr "Modifié" -#: basxbread/contrib/triggers/models.py:153 +#: basxbread/contrib/triggers/models.py:156 msgid "Deleted" msgstr "Supprimé" -#: basxbread/contrib/triggers/models.py:157 -#: basxbread/contrib/triggers/models.py:184 basxbread/views/read.py:35 +#: basxbread/contrib/triggers/models.py:160 +#: basxbread/contrib/triggers/models.py:187 basxbread/views/read.py:35 msgid "Field" msgstr "Champs" -#: basxbread/contrib/triggers/models.py:161 +#: basxbread/contrib/triggers/models.py:164 msgid "" "Only trigger when a certain field has changed. Use comma to add multiple " "fields." msgstr "" -#: basxbread/contrib/triggers/models.py:167 +#: basxbread/contrib/triggers/models.py:170 #, fuzzy #| msgid "Data change trigger" msgid "Change trigger" msgstr "Déclencheur de changement de données" -#: basxbread/contrib/triggers/models.py:168 +#: basxbread/contrib/triggers/models.py:171 #, fuzzy #| msgid "Data change triggers" msgid "Change triggers" msgstr "Déclencheurs de changement de données" -#: basxbread/contrib/triggers/models.py:172 +#: basxbread/contrib/triggers/models.py:175 msgid "Seconds" msgstr "" -#: basxbread/contrib/triggers/models.py:173 +#: basxbread/contrib/triggers/models.py:176 msgid "Minutes" msgstr "Minutes" -#: basxbread/contrib/triggers/models.py:174 +#: basxbread/contrib/triggers/models.py:177 msgid "Hours" msgstr "Heures" -#: basxbread/contrib/triggers/models.py:175 +#: basxbread/contrib/triggers/models.py:178 msgid "Days" msgstr "Jours" -#: basxbread/contrib/triggers/models.py:176 +#: basxbread/contrib/triggers/models.py:179 msgid "Weeks" msgstr "Semaines" -#: basxbread/contrib/triggers/models.py:177 +#: basxbread/contrib/triggers/models.py:180 msgid "Months" msgstr "Mois" -#: basxbread/contrib/triggers/models.py:178 +#: basxbread/contrib/triggers/models.py:181 msgid "Years" msgstr "Années" -#: basxbread/contrib/triggers/models.py:186 +#: basxbread/contrib/triggers/models.py:189 msgid "The field of the selected model which should trigger an action" msgstr "Le champs du modèle sélectionné qui doit lancer une action" -#: basxbread/contrib/triggers/models.py:190 +#: basxbread/contrib/triggers/models.py:193 msgid "Offset type" msgstr "Type de décalage" -#: basxbread/contrib/triggers/models.py:196 +#: basxbread/contrib/triggers/models.py:199 msgid "Offset amount" msgstr "Quantité du décalage" -#: basxbread/contrib/triggers/models.py:197 +#: basxbread/contrib/triggers/models.py:200 msgid "Can be negative (before) or positive (after)" msgstr "Peut être négatif (antérieur) ou positif (postérieur)" -#: basxbread/contrib/triggers/models.py:201 +#: basxbread/contrib/triggers/models.py:204 msgid "Ignore year" msgstr "Ignorer l'année" -#: basxbread/contrib/triggers/models.py:203 +#: basxbread/contrib/triggers/models.py:206 msgid "Check this in order to trigger every year" msgstr "Veuillez vérifier ceci avant de pouvoir le déclencher chaque année" -#: basxbread/contrib/triggers/models.py:230 +#: basxbread/contrib/triggers/models.py:233 #, fuzzy #| msgid "Date field trigger" msgid "Date trigger" msgstr "Déclencheur de champs de date" -#: basxbread/contrib/triggers/models.py:231 +#: basxbread/contrib/triggers/models.py:234 #, fuzzy #| msgid "Date field triggers" msgid "Date triggers" @@ -842,28 +916,6 @@ msgstr "Se déconnecter" msgid "File not found" msgstr "Fichier non trouvé" -#: basxbread/layout/componentpreview.py:123 -msgid "Table of Contents" -msgstr "Table des matières" - -#: basxbread/layout/componentpreview.py:975 -#: basxbread/views/administration.py:263 -msgid "" -"This is some tooltip text. This box shows the maximum amount of text that " -"should appear inside. If more room is needed please use a modal instead." -msgstr "" -"C'est une sorte de texte d'infobulle. Cette boite affiche la quantité " -"maximale de texte qui peut apparaitre à l'intérieur. Si plus de place est " -"nécessaire, utilisez plutôt une modale." - -#: basxbread/layout/componentpreview.py:1038 -msgid "This is a server message in the ToastNotification." -msgstr "Ceci est une message du serveur dans une ToastNotification." - -#: basxbread/layout/componentpreview.py:1172 -msgid "Click to see ToastNotification in action" -msgstr "Cliquez ici pour voir une ToastNotification en action" - #: basxbread/layout/components/button.py:81 #: basxbread/layout/components/overflow_menu.py:20 #, fuzzy @@ -871,7 +923,7 @@ msgstr "Cliquez ici pour voir une ToastNotification en action" msgid "Please confirm" msgstr "Veuillez vous reconnecter" -#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:112 +#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:109 msgid "Are you sure?" msgstr "" @@ -889,17 +941,17 @@ msgstr "" msgid "Print" msgstr "Imprimer" -#: basxbread/layout/components/datatable.py:253 -#: basxbread/layout/components/modal.py:105 basxbread/views/auth.py:30 -#: basxbread/views/browse.py:706 +#: basxbread/layout/components/datatable.py:263 +#: basxbread/layout/components/modal.py:107 basxbread/views/auth.py:30 +#: basxbread/views/browse.py:713 msgid "Cancel" msgstr "Annuler" -#: basxbread/layout/components/datatable.py:264 +#: basxbread/layout/components/datatable.py:274 msgid " items selected" msgstr " éléments sélectionnés" -#: basxbread/layout/components/datatable.py:270 +#: basxbread/layout/components/datatable.py:280 msgid "Table Action Bar" msgstr "Barre d'actions de la table" @@ -926,8 +978,9 @@ msgid " reference to multiple \"%s\"" msgstr " référence à plusieurs « %s »" #: basxbread/layout/components/forms/__init__.py:60 -#: basxbread/layout/components/forms/__init__.py:230 -#: basxbread/layout/components/forms/__init__.py:333 +#: basxbread/layout/components/forms/__init__.py:244 +#: basxbread/layout/components/forms/__init__.py:347 +#: basxbread/layout/components/forms/__init__.py:396 msgid "Form error" msgstr "Erreur dans le formulaire" @@ -940,7 +993,7 @@ msgstr "Erreur de champs masqué : " msgid "Add" msgstr "Ajouter" -#: basxbread/layout/components/forms/__init__.py:296 +#: basxbread/layout/components/forms/__init__.py:310 msgid "Order" msgstr "Tri" @@ -954,18 +1007,47 @@ msgstr "Enregistrer" msgid "Show password" msgstr "Afficher le mot de passe" -#: basxbread/layout/components/forms/widgets.py:904 +#: basxbread/layout/components/forms/widgets.py:360 +msgid "Type to search" +msgstr "" + +#: basxbread/layout/components/forms/widgets.py:967 msgid "Select file" msgstr "Sélectionner un fichier" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "From" msgstr "" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "To" msgstr "" +#: basxbread/layout/components/history_table.py:55 +#: basxbread/layout/components/history_table.py:66 +msgid "" +msgstr "" + +#: basxbread/layout/components/history_table.py:89 +msgid "Date" +msgstr "" + +#: basxbread/layout/components/history_table.py:99 +#, fuzzy +#| msgid "Timezone" +msgid "Time" +msgstr "Créneau horaire" + +#: basxbread/layout/components/history_table.py:103 +msgid "User" +msgstr "" + +#: basxbread/layout/components/history_table.py:107 +#, fuzzy +#| msgid "Changed" +msgid "Changes" +msgstr "Modifié" + #: basxbread/layout/components/notification.py:131 msgid "Time stamp" msgstr "Horodatage" @@ -1052,22 +1134,14 @@ msgstr "Tâches en arrière-plan" msgid "Data model" msgstr "Modèle de base" -#: basxbread/menu.py:189 -msgid "Django Admin" -msgstr "Administration Django" - -#: basxbread/menu.py:197 basxbread/views/administration.py:38 +#: basxbread/menu.py:191 basxbread/views/administration.py:34 msgid "Maintenance" msgstr "Maintenance" -#: basxbread/menu.py:207 +#: basxbread/menu.py:201 msgid "System Information" msgstr "Informations système" -#: basxbread/menu.py:216 -msgid "Component Preview" -msgstr "Aperçu du composant" - #: basxbread/querysetfield.py:103 #, python-format msgid "Invalid model '%s' selected" @@ -1078,138 +1152,82 @@ msgstr "Modèle « %s » sélectionné invalide" msgid "Added %s" msgstr "%s a été ajouté" -#: basxbread/views/administration.py:48 +#: basxbread/views/administration.py:44 msgid "Packages" msgstr "Packets" -#: basxbread/views/administration.py:52 +#: basxbread/views/administration.py:48 msgid "Optimize database" msgstr "Optimiser la base de données" -#: basxbread/views/administration.py:54 +#: basxbread/views/administration.py:50 msgid "Rebuild search index" msgstr "Reconstruire l'index de recherche" -#: basxbread/views/administration.py:56 +#: basxbread/views/administration.py:52 msgid "Restart application server" msgstr "" -#: basxbread/views/administration.py:160 -msgid "Back to top" -msgstr "Retour en haut" - -#: basxbread/views/administration.py:168 -msgid "Layout" -msgstr "Disposition" - -#: basxbread/views/administration.py:172 -msgid "Informational" -msgstr "Informelle" - -#: basxbread/views/administration.py:176 -msgid "Interactive" -msgstr "Interactif" - -#: basxbread/views/administration.py:180 -msgid "Datatable" -msgstr "Base de données" - -#: basxbread/views/administration.py:184 -msgid "Form" -msgstr "Formulaire" - -#: basxbread/views/administration.py:186 -msgid "Widget preview" -msgstr "Aperçu du gadget" - -#: basxbread/views/administration.py:190 -msgid "Widgets" -msgstr "Gadgets" - -#: basxbread/views/administration.py:206 -msgid "Configure preview" -msgstr "Configurer l'aperçu" - -#: basxbread/views/administration.py:213 -msgid "Apply" -msgstr "Appliquer" - -#: basxbread/views/administration.py:220 -msgid "Tooltips" -msgstr "Infobulles" - -#: basxbread/views/administration.py:221 -msgid "Definition tooltip" -msgstr "Infobulle de définition" - -#: basxbread/views/administration.py:243 -msgid "Icon tooltip" -msgstr "Infobulle avec icône" - -#: basxbread/views/administration.py:257 -msgid "Interactive tooltip" -msgstr "Infobulle interactive" - -#: basxbread/views/administration.py:308 +#: basxbread/views/administration.py:84 msgid "unable to load" msgstr "échec du chargement" -#: basxbread/views/administration.py:325 +#: basxbread/views/administration.py:101 msgid "Package" msgstr "Paquet" -#: basxbread/views/administration.py:329 +#: basxbread/views/administration.py:105 msgid "Current" msgstr "Actuelle" -#: basxbread/views/administration.py:333 +#: basxbread/views/administration.py:109 msgid "Latest" msgstr "Dernière" -#: basxbread/views/administration.py:354 +#: basxbread/views/administration.py:130 msgid "Database optimization is currently only available for sqlite databases" msgstr "" -#: basxbread/views/administration.py:380 +#: basxbread/views/administration.py:156 #, python-format msgid "The database size has been minimized from %.2f kB to %.2f kB." msgstr "La taille de la base de données de %.2f kB a été réduite à %.2f kB." -#: basxbread/views/administration.py:385 +#: basxbread/views/administration.py:161 #, python-format msgid "Previous Size: %.2f kB" msgstr "Taille précédente : %.2f kB" -#: basxbread/views/administration.py:395 +#: basxbread/views/administration.py:171 msgid "Optimize" msgstr "Optimiser" -#: basxbread/views/administration.py:400 +#: basxbread/views/administration.py:176 #, python-format msgid "Current Size: %.2f kB" msgstr "Taille actuelle : %.2f kB" -#: basxbread/views/administration.py:427 +#: basxbread/views/administration.py:203 msgid "Rebuilt search index" msgstr "Index de recherche reconstruit" -#: basxbread/views/administration.py:436 +#: basxbread/views/administration.py:212 msgid "Rebuild" msgstr "Reconstruire" -#: basxbread/views/administration.py:457 +#: basxbread/views/administration.py:233 msgid "Log from the server" msgstr "Journal du serveur" -#: basxbread/views/administration.py:471 +#: basxbread/views/administration.py:247 msgid "Restarted application server" msgstr "" -#: basxbread/views/administration.py:480 +#: basxbread/views/administration.py:256 msgid "Restart" msgstr "" -#: basxbread/views/administration.py:509 +#: basxbread/views/administration.py:285 msgid "System information" msgstr "Informations système" @@ -1279,55 +1297,55 @@ msgstr "Mot de passe changé avec succès" msgid "Please login again" msgstr "Veuillez vous reconnecter" -#: basxbread/views/browse.py:287 +#: basxbread/views/browse.py:289 #, python-format msgid "Action '%s' is not configured for this view" msgstr "L'action « %s » n'est pas configurée pour cette vue" -#: basxbread/views/browse.py:334 +#: basxbread/views/browse.py:336 #, python-format msgid "Bad filter string '%s': '%s'" msgstr "Filtre invalide '%s' : '%s'" -#: basxbread/views/browse.py:416 basxbread/views/util.py:45 +#: basxbread/views/browse.py:416 basxbread/views/util.py:46 msgid "Are you sure you want to delete {}?" msgstr "" -#: basxbread/views/browse.py:468 +#: basxbread/views/browse.py:471 #, python-format msgid "Your user has not the permissions to delete %s" msgstr "Vous n'avez pas l'autorisation de supprimer %s" -#: basxbread/views/browse.py:481 +#: basxbread/views/browse.py:484 #, python-format msgid "%s could not be deleted: %s" msgstr "%s n'a pas pu être supprimé : %s" -#: basxbread/views/browse.py:486 +#: basxbread/views/browse.py:489 #, python-format msgid "Deleted %(count)s %(modelname)s" msgstr "%(count)s%(modelname)s supprimé(s)" -#: basxbread/views/browse.py:510 +#: basxbread/views/browse.py:515 #, python-format msgid "Your user has not the permissions to restore %s" msgstr "Vous utilisateur n'a pas l'autorisation de restaurer %s" -#: basxbread/views/browse.py:519 +#: basxbread/views/browse.py:524 #, python-format msgid "%s could not be restored: %s" msgstr "%s n'a pas pu être restauré : %s" -#: basxbread/views/browse.py:524 +#: basxbread/views/browse.py:529 #, python-format msgid "Restored %(count)s %(modelname)s" msgstr "%(count)s %(modelname)s restaurés" -#: basxbread/views/browse.py:712 +#: basxbread/views/browse.py:719 msgid "Reset" msgstr "" -#: basxbread/views/browse.py:719 +#: basxbread/views/browse.py:726 #, fuzzy #| msgid "Filter" msgctxt "apply filter" @@ -1465,11 +1483,11 @@ msgstr "Votre mot de passe n'a pas été entré correctement. Veuillez réessaye msgid "Request reset" msgstr "Demander une réinitialisation" -#: basxbread/views/userprofile.py:399 +#: basxbread/views/userprofile.py:400 msgid "Enabled developer mode" msgstr "Mode développeur activé" -#: basxbread/views/userprofile.py:401 +#: basxbread/views/userprofile.py:402 msgid "Disabled developer mode" msgstr "Mode développeur désactivé" @@ -1503,15 +1521,15 @@ msgstr "" msgid "Please enter the user's email address in order to send a password reset" msgstr "" -#: basxbread/views/util.py:30 +#: basxbread/views/util.py:31 msgid "Read" msgstr "Lire" -#: basxbread/views/util.py:60 +#: basxbread/views/util.py:61 msgid "Are you sure you want to copy {}?" msgstr "" -#: basxbread/views/util.py:90 +#: basxbread/views/util.py:91 msgid "Add {}" msgstr "Ajouter {}" @@ -1523,6 +1541,71 @@ msgstr "Terminer" msgid "Continue" msgstr "Continuer" +#~ msgid "Table of Contents" +#~ msgstr "Table des matières" + +#~ msgid "" +#~ "This is some tooltip text. This box shows the maximum amount of text that " +#~ "should appear inside. If more room is needed please use a modal instead." +#~ msgstr "" +#~ "C'est une sorte de texte d'infobulle. Cette boite affiche la quantité " +#~ "maximale de texte qui peut apparaitre à l'intérieur. Si plus de place est " +#~ "nécessaire, utilisez plutôt une modale." + +#~ msgid "This is a server message in the ToastNotification." +#~ msgstr "Ceci est une message du serveur dans une ToastNotification." + +#~ msgid "Click to see ToastNotification in action" +#~ msgstr "Cliquez ici pour voir une ToastNotification en action" + +#~ msgid "Django Admin" +#~ msgstr "Administration Django" + +#~ msgid "Component Preview" +#~ msgstr "Aperçu du composant" + +#~ msgid "Back to top" +#~ msgstr "Retour en haut" + +#~ msgid "Layout" +#~ msgstr "Disposition" + +#~ msgid "Informational" +#~ msgstr "Informelle" + +#~ msgid "Interactive" +#~ msgstr "Interactif" + +#~ msgid "Datatable" +#~ msgstr "Base de données" + +#~ msgid "Form" +#~ msgstr "Formulaire" + +#~ msgid "Widget preview" +#~ msgstr "Aperçu du gadget" + +#~ msgid "Widgets" +#~ msgstr "Gadgets" + +#~ msgid "Configure preview" +#~ msgstr "Configurer l'aperçu" + +#~ msgid "Apply" +#~ msgstr "Appliquer" + +#~ msgid "Tooltips" +#~ msgstr "Infobulles" + +#~ msgid "Definition tooltip" +#~ msgstr "Infobulle de définition" + +#~ msgid "Icon tooltip" +#~ msgstr "Infobulle avec icône" + +#~ msgid "Interactive tooltip" +#~ msgstr "Infobulle interactive" + #~ msgid "Date Created" #~ msgstr "Date créée" @@ -1551,12 +1634,6 @@ msgstr "Continuer" #~ msgid "Path to the desired value (see help)" #~ msgstr "Le chemin de la valeur désirée (voir l'aide)" -#~ msgid "Template" -#~ msgstr "Modèle" - -#~ msgid "Raw value" -#~ msgstr "Valeur brute" - #~ msgid "Variable" #~ msgstr "Variable" diff --git a/basxbread/locale/pt/LC_MESSAGES/django.po b/basxbread/locale/pt/LC_MESSAGES/django.po index 6d6111ef..b7e1a7bd 100644 --- a/basxbread/locale/pt/LC_MESSAGES/django.po +++ b/basxbread/locale/pt/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: 2021-05-08 20:32+0000\n" "Last-Translator: ssantos \n" "Language-Team: Portuguese " msgstr "" -#: basxbread/contrib/modeledit/views.py:160 +#: basxbread/contrib/modeledit/views.py:162 msgid "Add new field" msgstr "" @@ -357,12 +431,6 @@ msgstr "" msgid "%(value)s is not a valid internal URL" msgstr "" -#: basxbread/contrib/publicurls/models.py:33 -#: basxbread/contrib/reports/models.py:22 -#: basxbread/contrib/taxonomy/models.py:20 -msgid "Name" -msgstr "Nome" - #: basxbread/contrib/publicurls/models.py:35 msgid "URL" msgstr "" @@ -377,6 +445,7 @@ msgstr "" #: basxbread/contrib/publicurls/models.py:41 #: basxbread/contrib/reports/models.py:21 +#: basxbread/layout/components/history_table.py:94 msgid "Created" msgstr "Criado" @@ -441,7 +510,7 @@ msgid "Reports" msgstr "Relatórios" #: basxbread/contrib/reports/models.py:29 -#: basxbread/contrib/triggers/models.py:131 basxbread/views/browse.py:685 +#: basxbread/contrib/triggers/models.py:134 basxbread/views/browse.py:692 msgid "Filter" msgstr "Filtrar" @@ -526,27 +595,28 @@ msgid "Columns" msgstr "Colunas" #: basxbread/contrib/reports/urls.py:23 -#: basxbread/layout/components/forms/__init__.py:356 +#: basxbread/layout/components/forms/__init__.py:416 +#: basxbread/layout/components/forms/__init__.py:444 #: basxbread/views/browse.py:66 basxbread/views/browse.py:411 -#: basxbread/views/util.py:37 +#: basxbread/views/util.py:38 msgid "Delete" msgstr "Apagar" -#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:53 +#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:54 #, fuzzy #| msgctxt "this is a copy" #| msgid "Copy" msgid "Copy" msgstr "Copiar" -#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:399 -#: basxbread/views/read.py:54 basxbread/views/userprofile.py:119 +#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:401 +#: basxbread/views/read.py:61 basxbread/views/userprofile.py:119 #: basxbread/views/userprofile.py:147 basxbread/views/userprofile.py:179 -#: basxbread/views/util.py:24 +#: basxbread/views/util.py:25 msgid "Edit" msgstr "" -#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:156 +#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:158 #: basxbread/views/browse.py:59 msgid "Excel" msgstr "Excel" @@ -620,7 +690,7 @@ msgid "Show disabled" msgstr "" #: basxbread/contrib/taxonomy/views.py:54 -#: basxbread/layout/components/datatable.py:360 basxbread/views/add.py:43 +#: basxbread/layout/components/datatable.py:377 basxbread/views/add.py:43 #: basxbread/views/add.py:50 #, python-format msgid "Add %s" @@ -653,10 +723,6 @@ msgstr "" msgid "Email" msgstr "" -#: basxbread/contrib/triggers/models.py:73 -msgid "Subject" -msgstr "" - #: basxbread/contrib/triggers/models.py:76 #: basxbread/contrib/triggers/models.py:82 msgid "" @@ -667,112 +733,112 @@ msgstr "" msgid "Message" msgstr "" -#: basxbread/contrib/triggers/models.py:117 +#: basxbread/contrib/triggers/models.py:120 msgid "Send email action" msgstr "" -#: basxbread/contrib/triggers/models.py:118 +#: basxbread/contrib/triggers/models.py:121 msgid "Send email actions" msgstr "" -#: basxbread/contrib/triggers/models.py:149 +#: basxbread/contrib/triggers/models.py:152 msgid "Type" msgstr "" -#: basxbread/contrib/triggers/models.py:151 +#: basxbread/contrib/triggers/models.py:154 #, fuzzy #| msgid "Added %s" msgid "Added" msgstr "Adicionado %s" -#: basxbread/contrib/triggers/models.py:152 +#: basxbread/contrib/triggers/models.py:155 #, fuzzy #| msgid "Show password" msgid "Changed" msgstr "Mostrar senha" -#: basxbread/contrib/triggers/models.py:153 +#: basxbread/contrib/triggers/models.py:156 #, fuzzy #| msgid "Delete" msgid "Deleted" msgstr "Apagar" -#: basxbread/contrib/triggers/models.py:157 -#: basxbread/contrib/triggers/models.py:184 basxbread/views/read.py:35 +#: basxbread/contrib/triggers/models.py:160 +#: basxbread/contrib/triggers/models.py:187 basxbread/views/read.py:35 msgid "Field" msgstr "" -#: basxbread/contrib/triggers/models.py:161 +#: basxbread/contrib/triggers/models.py:164 msgid "" "Only trigger when a certain field has changed. Use comma to add multiple " "fields." msgstr "" -#: basxbread/contrib/triggers/models.py:167 +#: basxbread/contrib/triggers/models.py:170 msgid "Change trigger" msgstr "" -#: basxbread/contrib/triggers/models.py:168 +#: basxbread/contrib/triggers/models.py:171 msgid "Change triggers" msgstr "" -#: basxbread/contrib/triggers/models.py:172 +#: basxbread/contrib/triggers/models.py:175 msgid "Seconds" msgstr "" -#: basxbread/contrib/triggers/models.py:173 +#: basxbread/contrib/triggers/models.py:176 msgid "Minutes" msgstr "" -#: basxbread/contrib/triggers/models.py:174 +#: basxbread/contrib/triggers/models.py:177 msgid "Hours" msgstr "" -#: basxbread/contrib/triggers/models.py:175 +#: basxbread/contrib/triggers/models.py:178 msgid "Days" msgstr "" -#: basxbread/contrib/triggers/models.py:176 +#: basxbread/contrib/triggers/models.py:179 msgid "Weeks" msgstr "" -#: basxbread/contrib/triggers/models.py:177 +#: basxbread/contrib/triggers/models.py:180 msgid "Months" msgstr "" -#: basxbread/contrib/triggers/models.py:178 +#: basxbread/contrib/triggers/models.py:181 msgid "Years" msgstr "" -#: basxbread/contrib/triggers/models.py:186 +#: basxbread/contrib/triggers/models.py:189 msgid "The field of the selected model which should trigger an action" msgstr "" -#: basxbread/contrib/triggers/models.py:190 +#: basxbread/contrib/triggers/models.py:193 msgid "Offset type" msgstr "" -#: basxbread/contrib/triggers/models.py:196 +#: basxbread/contrib/triggers/models.py:199 msgid "Offset amount" msgstr "" -#: basxbread/contrib/triggers/models.py:197 +#: basxbread/contrib/triggers/models.py:200 msgid "Can be negative (before) or positive (after)" msgstr "" -#: basxbread/contrib/triggers/models.py:201 +#: basxbread/contrib/triggers/models.py:204 msgid "Ignore year" msgstr "" -#: basxbread/contrib/triggers/models.py:203 +#: basxbread/contrib/triggers/models.py:206 msgid "Check this in order to trigger every year" msgstr "" -#: basxbread/contrib/triggers/models.py:230 +#: basxbread/contrib/triggers/models.py:233 msgid "Date trigger" msgstr "" -#: basxbread/contrib/triggers/models.py:231 +#: basxbread/contrib/triggers/models.py:234 msgid "Date triggers" msgstr "" @@ -812,31 +878,12 @@ msgstr "Sair" msgid "File not found" msgstr "" -#: basxbread/layout/componentpreview.py:123 -msgid "Table of Contents" -msgstr "" - -#: basxbread/layout/componentpreview.py:975 -#: basxbread/views/administration.py:263 -msgid "" -"This is some tooltip text. This box shows the maximum amount of text that " -"should appear inside. If more room is needed please use a modal instead." -msgstr "" - -#: basxbread/layout/componentpreview.py:1038 -msgid "This is a server message in the ToastNotification." -msgstr "" - -#: basxbread/layout/componentpreview.py:1172 -msgid "Click to see ToastNotification in action" -msgstr "" - #: basxbread/layout/components/button.py:81 #: basxbread/layout/components/overflow_menu.py:20 msgid "Please confirm" msgstr "" -#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:112 +#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:109 msgid "Are you sure?" msgstr "" @@ -854,17 +901,17 @@ msgstr "" msgid "Print" msgstr "Imprimir" -#: basxbread/layout/components/datatable.py:253 -#: basxbread/layout/components/modal.py:105 basxbread/views/auth.py:30 -#: basxbread/views/browse.py:706 +#: basxbread/layout/components/datatable.py:263 +#: basxbread/layout/components/modal.py:107 basxbread/views/auth.py:30 +#: basxbread/views/browse.py:713 msgid "Cancel" msgstr "Cancelar" -#: basxbread/layout/components/datatable.py:264 +#: basxbread/layout/components/datatable.py:274 msgid " items selected" msgstr " artigos seleccionados" -#: basxbread/layout/components/datatable.py:270 +#: basxbread/layout/components/datatable.py:280 msgid "Table Action Bar" msgstr "Barra de Acção da Tabela" @@ -893,8 +940,9 @@ msgid " reference to multiple \"%s\"" msgstr "" #: basxbread/layout/components/forms/__init__.py:60 -#: basxbread/layout/components/forms/__init__.py:230 -#: basxbread/layout/components/forms/__init__.py:333 +#: basxbread/layout/components/forms/__init__.py:244 +#: basxbread/layout/components/forms/__init__.py:347 +#: basxbread/layout/components/forms/__init__.py:396 msgid "Form error" msgstr "Erro no formulário" @@ -907,7 +955,7 @@ msgstr "" msgid "Add" msgstr "Adicione" -#: basxbread/layout/components/forms/__init__.py:296 +#: basxbread/layout/components/forms/__init__.py:310 msgid "Order" msgstr "" @@ -921,18 +969,45 @@ msgstr "Guardar" msgid "Show password" msgstr "Mostrar senha" -#: basxbread/layout/components/forms/widgets.py:904 +#: basxbread/layout/components/forms/widgets.py:360 +msgid "Type to search" +msgstr "" + +#: basxbread/layout/components/forms/widgets.py:967 msgid "Select file" msgstr "Seleccione ficheiro" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "From" msgstr "" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "To" msgstr "" +#: basxbread/layout/components/history_table.py:55 +#: basxbread/layout/components/history_table.py:66 +msgid "" +msgstr "" + +#: basxbread/layout/components/history_table.py:89 +msgid "Date" +msgstr "" + +#: basxbread/layout/components/history_table.py:99 +msgid "Time" +msgstr "" + +#: basxbread/layout/components/history_table.py:103 +msgid "User" +msgstr "" + +#: basxbread/layout/components/history_table.py:107 +#, fuzzy +#| msgid "Show password" +msgid "Changes" +msgstr "Mostrar senha" + #: basxbread/layout/components/notification.py:131 msgid "Time stamp" msgstr "Carimbo de tempo" @@ -1021,24 +1096,16 @@ msgstr "" msgid "Data model" msgstr "Modelo básico" -#: basxbread/menu.py:189 -msgid "Django Admin" -msgstr "" - -#: basxbread/menu.py:197 basxbread/views/administration.py:38 +#: basxbread/menu.py:191 basxbread/views/administration.py:34 msgid "Maintenance" msgstr "" -#: basxbread/menu.py:207 +#: basxbread/menu.py:201 #, fuzzy #| msgid "System Settings" msgid "System Information" msgstr "Configurações do sistema" -#: basxbread/menu.py:216 -msgid "Component Preview" -msgstr "" - #: basxbread/querysetfield.py:103 #, python-format msgid "Invalid model '%s' selected" @@ -1049,144 +1116,86 @@ msgstr "Modelo inválido '%s' seleccionado" msgid "Added %s" msgstr "Adicionado %s" -#: basxbread/views/administration.py:48 +#: basxbread/views/administration.py:44 #, fuzzy #| msgid "pages" msgid "Packages" msgstr "Paginas" -#: basxbread/views/administration.py:52 +#: basxbread/views/administration.py:48 msgid "Optimize database" msgstr "" -#: basxbread/views/administration.py:54 +#: basxbread/views/administration.py:50 msgid "Rebuild search index" msgstr "" -#: basxbread/views/administration.py:56 +#: basxbread/views/administration.py:52 msgid "Restart application server" msgstr "" -#: basxbread/views/administration.py:160 -msgid "Back to top" -msgstr "" - -#: basxbread/views/administration.py:168 -msgid "Layout" -msgstr "" - -#: basxbread/views/administration.py:172 -#, fuzzy -#| msgid "System Settings" -msgid "Informational" -msgstr "Configurações do sistema" - -#: basxbread/views/administration.py:176 -msgid "Interactive" -msgstr "" - -#: basxbread/views/administration.py:180 -msgid "Datatable" -msgstr "" - -#: basxbread/views/administration.py:184 -msgid "Form" -msgstr "" - -#: basxbread/views/administration.py:186 -msgid "Widget preview" -msgstr "" - -#: basxbread/views/administration.py:190 -msgid "Widgets" -msgstr "" - -#: basxbread/views/administration.py:206 -msgid "Configure preview" -msgstr "" - -#: basxbread/views/administration.py:213 -msgid "Apply" -msgstr "" - -#: basxbread/views/administration.py:220 -msgid "Tooltips" -msgstr "" - -#: basxbread/views/administration.py:221 -msgid "Definition tooltip" -msgstr "" - -#: basxbread/views/administration.py:243 -msgid "Icon tooltip" -msgstr "" - -#: basxbread/views/administration.py:257 -msgid "Interactive tooltip" -msgstr "" - -#: basxbread/views/administration.py:308 +#: basxbread/views/administration.py:84 #, fuzzy #| msgid "Table Action Bar" msgid "unable to load" msgstr "Barra de Acção da Tabela" -#: basxbread/views/administration.py:325 +#: basxbread/views/administration.py:101 msgid "Package" msgstr "" -#: basxbread/views/administration.py:329 +#: basxbread/views/administration.py:105 msgid "Current" msgstr "" -#: basxbread/views/administration.py:333 +#: basxbread/views/administration.py:109 msgid "Latest" msgstr "" -#: basxbread/views/administration.py:354 +#: basxbread/views/administration.py:130 msgid "Database optimization is currently only available for sqlite databases" msgstr "" -#: basxbread/views/administration.py:380 +#: basxbread/views/administration.py:156 #, python-format msgid "The database size has been minimized from %.2f kB to %.2f kB." msgstr "" -#: basxbread/views/administration.py:385 +#: basxbread/views/administration.py:161 #, python-format msgid "Previous Size: %.2f kB" msgstr "" -#: basxbread/views/administration.py:395 +#: basxbread/views/administration.py:171 msgid "Optimize" msgstr "" -#: basxbread/views/administration.py:400 +#: basxbread/views/administration.py:176 #, python-format msgid "Current Size: %.2f kB" msgstr "" -#: basxbread/views/administration.py:427 +#: basxbread/views/administration.py:203 msgid "Rebuilt search index" msgstr "" -#: basxbread/views/administration.py:436 +#: basxbread/views/administration.py:212 msgid "Rebuild" msgstr "" -#: basxbread/views/administration.py:457 +#: basxbread/views/administration.py:233 msgid "Log from the server" msgstr "" -#: basxbread/views/administration.py:471 +#: basxbread/views/administration.py:247 msgid "Restarted application server" msgstr "" -#: basxbread/views/administration.py:480 +#: basxbread/views/administration.py:256 msgid "Restart" msgstr "" -#: basxbread/views/administration.py:509 +#: basxbread/views/administration.py:285 #, fuzzy #| msgid "System Settings" msgid "System information" @@ -1260,58 +1269,58 @@ msgstr "" msgid "Please login again" msgstr "" -#: basxbread/views/browse.py:287 +#: basxbread/views/browse.py:289 #, python-format msgid "Action '%s' is not configured for this view" msgstr "" -#: basxbread/views/browse.py:334 +#: basxbread/views/browse.py:336 #, python-format msgid "Bad filter string '%s': '%s'" msgstr "" -#: basxbread/views/browse.py:416 basxbread/views/util.py:45 +#: basxbread/views/browse.py:416 basxbread/views/util.py:46 msgid "Are you sure you want to delete {}?" msgstr "" -#: basxbread/views/browse.py:468 +#: basxbread/views/browse.py:471 #, python-format msgid "Your user has not the permissions to delete %s" msgstr "O seu utilizador não tem as permissões para eliminar %s" -#: basxbread/views/browse.py:481 +#: basxbread/views/browse.py:484 #, python-format msgid "%s could not be deleted: %s" msgstr "%s não pôde ser apagado: %s" -#: basxbread/views/browse.py:486 +#: basxbread/views/browse.py:489 #, python-format msgid "Deleted %(count)s %(modelname)s" msgstr "Apagado %(count)s %(modelname)s" -#: basxbread/views/browse.py:510 +#: basxbread/views/browse.py:515 #, fuzzy, python-format #| msgid "Your user has not the permissions to delete %s" msgid "Your user has not the permissions to restore %s" msgstr "O seu utilizador não tem as permissões para eliminar %s" -#: basxbread/views/browse.py:519 +#: basxbread/views/browse.py:524 #, fuzzy, python-format #| msgid "%s could not be deleted: %s" msgid "%s could not be restored: %s" msgstr "%s não pôde ser apagado: %s" -#: basxbread/views/browse.py:524 +#: basxbread/views/browse.py:529 #, fuzzy, python-format #| msgid "Deleted %(count)s %(modelname)s" msgid "Restored %(count)s %(modelname)s" msgstr "Apagado %(count)s %(modelname)s" -#: basxbread/views/browse.py:712 +#: basxbread/views/browse.py:719 msgid "Reset" msgstr "" -#: basxbread/views/browse.py:719 +#: basxbread/views/browse.py:726 #, fuzzy #| msgid "Filter" msgctxt "apply filter" @@ -1453,11 +1462,11 @@ msgstr "" msgid "Request reset" msgstr "" -#: basxbread/views/userprofile.py:399 +#: basxbread/views/userprofile.py:400 msgid "Enabled developer mode" msgstr "" -#: basxbread/views/userprofile.py:401 +#: basxbread/views/userprofile.py:402 msgid "Disabled developer mode" msgstr "" @@ -1489,15 +1498,15 @@ msgstr "" msgid "Please enter the user's email address in order to send a password reset" msgstr "" -#: basxbread/views/util.py:30 +#: basxbread/views/util.py:31 msgid "Read" msgstr "" -#: basxbread/views/util.py:60 +#: basxbread/views/util.py:61 msgid "Are you sure you want to copy {}?" msgstr "" -#: basxbread/views/util.py:90 +#: basxbread/views/util.py:91 #, fuzzy #| msgid "Add %s" msgid "Add {}" @@ -1511,6 +1520,11 @@ msgstr "Completo" msgid "Continue" msgstr "Continuar" +#, fuzzy +#~| msgid "System Settings" +#~ msgid "Informational" +#~ msgstr "Configurações do sistema" + #, fuzzy #~| msgid "Created" #~ msgid "Date Created" diff --git a/basxbread/locale/th/LC_MESSAGES/django.po b/basxbread/locale/th/LC_MESSAGES/django.po index d28bc360..29d30bf6 100644 --- a/basxbread/locale/th/LC_MESSAGES/django.po +++ b/basxbread/locale/th/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-03-22 04:21+0000\n" +"POT-Creation-Date: 2024-04-23 03:27+0000\n" "PO-Revision-Date: 2023-04-05 02:46+0000\n" "Last-Translator: Tidaphan \n" "Language-Team: Thai " msgstr "<ฟิลด์หม่>" -#: basxbread/contrib/modeledit/views.py:160 +#: basxbread/contrib/modeledit/views.py:162 msgid "Add new field" msgstr "เพิ่มฟิลด์ใหม่" @@ -348,12 +426,6 @@ msgstr "%(value)s ไม่ใช่ regex ที่ถูกต้อง" msgid "%(value)s is not a valid internal URL" msgstr "%(value)s ไม่ใช่ URL ภายในที่ถูกต้อง" -#: basxbread/contrib/publicurls/models.py:33 -#: basxbread/contrib/reports/models.py:22 -#: basxbread/contrib/taxonomy/models.py:20 -msgid "Name" -msgstr "ชื่อ" - #: basxbread/contrib/publicurls/models.py:35 msgid "URL" msgstr "URL" @@ -368,6 +440,7 @@ msgstr "ซอลท์" #: basxbread/contrib/publicurls/models.py:41 #: basxbread/contrib/reports/models.py:21 +#: basxbread/layout/components/history_table.py:94 msgid "Created" msgstr "สร้าง" @@ -392,8 +465,8 @@ msgid "" msgstr "" "หากมีการตั้งค่า 'มีแบบฟอร์ม' และการตอบสนองเป็นการเปลี่ยนเส้นทาง URL " "การเปลี่ยนเส้นทางจะถูกตรวจสอบกับฟิลด์นี้ (เป็น regex) หากตรงกัน รายการ URL " -"สาธารณะใหม่จะถูกสร้างขึ้นโดยอัตโนมัติ ซึ่งอนุญาตให้ผู้ใช้เข้าถึงทรัพยากรที่สร" -"้างขึ้นใหม่และเปลี่ยนเส้นทางไปยังทรัพยากร" +"สาธารณะใหม่จะถูกสร้างขึ้นโดยอัตโนมัติ " +"ซึ่งอนุญาตให้ผู้ใช้เข้าถึงทรัพยากรที่สร้างขึ้นใหม่และเปลี่ยนเส้นทางไปยังทรัพยากร" #: basxbread/contrib/publicurls/models.py:54 msgid "Thank-you text" @@ -435,7 +508,7 @@ msgid "Reports" msgstr "รายงาน" #: basxbread/contrib/reports/models.py:29 -#: basxbread/contrib/triggers/models.py:131 basxbread/views/browse.py:685 +#: basxbread/contrib/triggers/models.py:134 basxbread/views/browse.py:692 msgid "Filter" msgstr "ค้นหา" @@ -499,9 +572,7 @@ msgstr "เทมเพลตเซลล์" msgid "" "Optional Jinja template with 'value' in context.
Use e.g. {{ value }} to " "simply display the value." -msgstr "" -"เทมเพลต Jinja เสริมที่มี 'value' ในบริบท
ใช้ เช่น {{ value }} " -"เพื่อแสดงค่า" +msgstr "เทมเพลต Jinja เสริมที่มี 'value' ในบริบท
ใช้ เช่น {{ value }} เพื่อแสดงค่า" #: basxbread/contrib/reports/models.py:125 msgid "Allow HTML" @@ -520,24 +591,25 @@ msgid "Columns" msgstr "คอลัมน์" #: basxbread/contrib/reports/urls.py:23 -#: basxbread/layout/components/forms/__init__.py:356 +#: basxbread/layout/components/forms/__init__.py:416 +#: basxbread/layout/components/forms/__init__.py:444 #: basxbread/views/browse.py:66 basxbread/views/browse.py:411 -#: basxbread/views/util.py:37 +#: basxbread/views/util.py:38 msgid "Delete" msgstr "ลบ" -#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:53 +#: basxbread/contrib/reports/urls.py:27 basxbread/views/util.py:54 msgid "Copy" msgstr "คัดลอก" -#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:399 -#: basxbread/views/read.py:54 basxbread/views/userprofile.py:119 +#: basxbread/contrib/reports/urls.py:38 basxbread/views/browse.py:401 +#: basxbread/views/read.py:61 basxbread/views/userprofile.py:119 #: basxbread/views/userprofile.py:147 basxbread/views/userprofile.py:179 -#: basxbread/views/util.py:24 +#: basxbread/views/util.py:25 msgid "Edit" msgstr "แก้ไข" -#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:156 +#: basxbread/contrib/reports/urls.py:43 basxbread/contrib/reports/views.py:158 #: basxbread/views/browse.py:59 msgid "Excel" msgstr "Excel" @@ -611,7 +683,7 @@ msgid "Show disabled" msgstr "แสดงปิดการใช้งาน" #: basxbread/contrib/taxonomy/views.py:54 -#: basxbread/layout/components/datatable.py:360 basxbread/views/add.py:43 +#: basxbread/layout/components/datatable.py:377 basxbread/views/add.py:43 #: basxbread/views/add.py:50 #, python-format msgid "Add %s" @@ -642,10 +714,6 @@ msgstr "ดำเนินการ" msgid "Email" msgstr "อีเมล์" -#: basxbread/contrib/triggers/models.py:73 -msgid "Subject" -msgstr "หัวเรื่อง" - #: basxbread/contrib/triggers/models.py:76 #: basxbread/contrib/triggers/models.py:82 msgid "" @@ -656,108 +724,106 @@ msgstr "จะแสดงผลเป็นเทมเพลต Django ที msgid "Message" msgstr "ข้อความ" -#: basxbread/contrib/triggers/models.py:117 +#: basxbread/contrib/triggers/models.py:120 msgid "Send email action" msgstr "ส่งอีเมลการดำเนินการ" -#: basxbread/contrib/triggers/models.py:118 +#: basxbread/contrib/triggers/models.py:121 msgid "Send email actions" msgstr "ส่งอีเมลการดำเนินการ" -#: basxbread/contrib/triggers/models.py:149 +#: basxbread/contrib/triggers/models.py:152 msgid "Type" msgstr "ประเภท" -#: basxbread/contrib/triggers/models.py:151 +#: basxbread/contrib/triggers/models.py:154 msgid "Added" msgstr "เพิ่ม" -#: basxbread/contrib/triggers/models.py:152 +#: basxbread/contrib/triggers/models.py:155 msgid "Changed" msgstr "เปลี่ยน" -#: basxbread/contrib/triggers/models.py:153 +#: basxbread/contrib/triggers/models.py:156 msgid "Deleted" msgstr "ลบ" -#: basxbread/contrib/triggers/models.py:157 -#: basxbread/contrib/triggers/models.py:184 basxbread/views/read.py:35 +#: basxbread/contrib/triggers/models.py:160 +#: basxbread/contrib/triggers/models.py:187 basxbread/views/read.py:35 msgid "Field" msgstr "ฟิลด์" -#: basxbread/contrib/triggers/models.py:161 +#: basxbread/contrib/triggers/models.py:164 msgid "" "Only trigger when a certain field has changed. Use comma to add multiple " "fields." -msgstr "" -"ทริกเกอร์เฉพาะเมื่อฟิลด์ใดฟิลด์หนึ่งมีการเปลี่ยนแปลง " -"ใช้เครื่องหมายจุลภาคเพื่อเพิ่มหลายช่อง" +msgstr "ทริกเกอร์เฉพาะเมื่อฟิลด์ใดฟิลด์หนึ่งมีการเปลี่ยนแปลง ใช้เครื่องหมายจุลภาคเพื่อเพิ่มหลายช่อง" -#: basxbread/contrib/triggers/models.py:167 +#: basxbread/contrib/triggers/models.py:170 msgid "Change trigger" msgstr "เปลี่ยนแปลงทริกเกอร์" -#: basxbread/contrib/triggers/models.py:168 +#: basxbread/contrib/triggers/models.py:171 msgid "Change triggers" msgstr "เปลี่ยนแปลงทริกเกอร์" -#: basxbread/contrib/triggers/models.py:172 +#: basxbread/contrib/triggers/models.py:175 msgid "Seconds" msgstr "วินาที" -#: basxbread/contrib/triggers/models.py:173 +#: basxbread/contrib/triggers/models.py:176 msgid "Minutes" msgstr "นาที" -#: basxbread/contrib/triggers/models.py:174 +#: basxbread/contrib/triggers/models.py:177 msgid "Hours" msgstr "ชั่วโมง" -#: basxbread/contrib/triggers/models.py:175 +#: basxbread/contrib/triggers/models.py:178 msgid "Days" msgstr "วัน" -#: basxbread/contrib/triggers/models.py:176 +#: basxbread/contrib/triggers/models.py:179 msgid "Weeks" msgstr "สัปดาห์" -#: basxbread/contrib/triggers/models.py:177 +#: basxbread/contrib/triggers/models.py:180 msgid "Months" msgstr "เดือน" -#: basxbread/contrib/triggers/models.py:178 +#: basxbread/contrib/triggers/models.py:181 msgid "Years" msgstr "ปี" -#: basxbread/contrib/triggers/models.py:186 +#: basxbread/contrib/triggers/models.py:189 msgid "The field of the selected model which should trigger an action" msgstr "ฟิลด์ของโมเดลที่เลือกซึ่งควรดำเนินการทริกเกอร์" -#: basxbread/contrib/triggers/models.py:190 +#: basxbread/contrib/triggers/models.py:193 msgid "Offset type" msgstr "ประเภทของการชดเชย" -#: basxbread/contrib/triggers/models.py:196 +#: basxbread/contrib/triggers/models.py:199 msgid "Offset amount" msgstr "จำนวนที่ชดเชย" -#: basxbread/contrib/triggers/models.py:197 +#: basxbread/contrib/triggers/models.py:200 msgid "Can be negative (before) or positive (after)" msgstr "เป็นลบ (ก่อน) หรือบวก (หลัง)" -#: basxbread/contrib/triggers/models.py:201 +#: basxbread/contrib/triggers/models.py:204 msgid "Ignore year" msgstr "ละเว้นปี" -#: basxbread/contrib/triggers/models.py:203 +#: basxbread/contrib/triggers/models.py:206 msgid "Check this in order to trigger every year" msgstr "ตรวจสอบสิ่งนี้เพื่อทริกเกอร์ทุกปี" -#: basxbread/contrib/triggers/models.py:230 +#: basxbread/contrib/triggers/models.py:233 msgid "Date trigger" msgstr "ทริกเกอร์วันที่" -#: basxbread/contrib/triggers/models.py:231 +#: basxbread/contrib/triggers/models.py:234 msgid "Date triggers" msgstr "ทริกเกอร์ วันที่" @@ -795,33 +861,12 @@ msgstr "โลโก้" msgid "File not found" msgstr "ไม่พบไฟล์" -#: basxbread/layout/componentpreview.py:123 -msgid "Table of Contents" -msgstr "สารบัญ" - -#: basxbread/layout/componentpreview.py:975 -#: basxbread/views/administration.py:263 -msgid "" -"This is some tooltip text. This box shows the maximum amount of text that " -"should appear inside. If more room is needed please use a modal instead." -msgstr "" -"นี่คือข้อความคำแนะนำเครื่องมือบางส่วน กล่องนี้แสดงจำนวนตัวอักษรสูงสุดที่ควรปรากฏอยู่ภายใน " -"หากต้องการพื้นที่เพิ่ม โปรดใช้โมดุลแทน" - -#: basxbread/layout/componentpreview.py:1038 -msgid "This is a server message in the ToastNotification." -msgstr "นี่คือข้อความเซิร์ฟเวอร์ ToastNotification" - -#: basxbread/layout/componentpreview.py:1172 -msgid "Click to see ToastNotification in action" -msgstr "คลิกเพื่อดูการทำงานของ ToastNotification" - #: basxbread/layout/components/button.py:81 #: basxbread/layout/components/overflow_menu.py:20 msgid "Please confirm" msgstr "กรุณายืนยัน" -#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:112 +#: basxbread/layout/components/button.py:82 basxbread/utils/links.py:109 msgid "Are you sure?" msgstr "คุณแน่ใจ?" @@ -839,17 +884,17 @@ msgstr "ใช่!" msgid "Print" msgstr "พิมพ์" -#: basxbread/layout/components/datatable.py:253 -#: basxbread/layout/components/modal.py:105 basxbread/views/auth.py:30 -#: basxbread/views/browse.py:706 +#: basxbread/layout/components/datatable.py:263 +#: basxbread/layout/components/modal.py:107 basxbread/views/auth.py:30 +#: basxbread/views/browse.py:713 msgid "Cancel" msgstr "ยกเลิก" -#: basxbread/layout/components/datatable.py:264 +#: basxbread/layout/components/datatable.py:274 msgid " items selected" msgstr " เลือกรายการ" -#: basxbread/layout/components/datatable.py:270 +#: basxbread/layout/components/datatable.py:280 msgid "Table Action Bar" msgstr "แถบงาน" @@ -876,8 +921,9 @@ msgid " reference to multiple \"%s\"" msgstr " อ้างอิงถึง \"%s\" หลายรายการ" #: basxbread/layout/components/forms/__init__.py:60 -#: basxbread/layout/components/forms/__init__.py:230 -#: basxbread/layout/components/forms/__init__.py:333 +#: basxbread/layout/components/forms/__init__.py:244 +#: basxbread/layout/components/forms/__init__.py:347 +#: basxbread/layout/components/forms/__init__.py:396 msgid "Form error" msgstr "เกิดข้อผิดพลาด" @@ -890,7 +936,7 @@ msgstr "ข้อผิดพลาดของฟิลด์ที่ซ่อ msgid "Add" msgstr "เพิ่ม" -#: basxbread/layout/components/forms/__init__.py:296 +#: basxbread/layout/components/forms/__init__.py:310 msgid "Order" msgstr "คำสั่ง" @@ -904,18 +950,49 @@ msgstr "บันทึก" msgid "Show password" msgstr "เห็นรหัสผ่าน" -#: basxbread/layout/components/forms/widgets.py:904 +#: basxbread/layout/components/forms/widgets.py:360 +msgid "Type to search" +msgstr "" + +#: basxbread/layout/components/forms/widgets.py:967 msgid "Select file" msgstr "เลือกไฟล์" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "From" msgstr "จาก" -#: basxbread/layout/components/forms/widgets.py:1118 +#: basxbread/layout/components/forms/widgets.py:1183 msgid "To" msgstr "ถึง" +#: basxbread/layout/components/history_table.py:55 +#: basxbread/layout/components/history_table.py:66 +msgid "" +msgstr "" + +#: basxbread/layout/components/history_table.py:89 +msgid "Date" +msgstr "" + +#: basxbread/layout/components/history_table.py:99 +#, fuzzy +#| msgid "Timezone" +msgid "Time" +msgstr "เขตเวลา" + +#: basxbread/layout/components/history_table.py:103 +#, fuzzy +#| msgid "Users" +msgid "User" +msgstr "ผู้ใช้งาน" + +#: basxbread/layout/components/history_table.py:107 +#, fuzzy +#| msgid "Changed" +msgid "Changes" +msgstr "เปลี่ยน" + #: basxbread/layout/components/notification.py:131 msgid "Time stamp" msgstr "บันทึกเวลา" @@ -1000,22 +1077,14 @@ msgstr "งานพื้นฐาน" msgid "Data model" msgstr "แบบจำลองข้อมูล" -#: basxbread/menu.py:189 -msgid "Django Admin" -msgstr "Django แอดมิน" - -#: basxbread/menu.py:197 basxbread/views/administration.py:38 +#: basxbread/menu.py:191 basxbread/views/administration.py:34 msgid "Maintenance" msgstr "บำรุงรักษา" -#: basxbread/menu.py:207 +#: basxbread/menu.py:201 msgid "System Information" msgstr "ข้อมูลระบบ" -#: basxbread/menu.py:216 -msgid "Component Preview" -msgstr "การแสดงตัวอย่างส่วนประกอบ" - #: basxbread/querysetfield.py:103 #, python-format msgid "Invalid model '%s' selected" @@ -1026,138 +1095,82 @@ msgstr "เลือกโมเดล '%s'ที่ไม่ถูกต้อ msgid "Added %s" msgstr "เพิ่ม %s" -#: basxbread/views/administration.py:48 +#: basxbread/views/administration.py:44 msgid "Packages" msgstr "แพ็คเกจ" -#: basxbread/views/administration.py:52 +#: basxbread/views/administration.py:48 msgid "Optimize database" msgstr "ปรับฐานข้อมูลให้เหมาะสม" -#: basxbread/views/administration.py:54 +#: basxbread/views/administration.py:50 msgid "Rebuild search index" msgstr "สร้างดัชนีการค้นหาใหม่" -#: basxbread/views/administration.py:56 +#: basxbread/views/administration.py:52 msgid "Restart application server" msgstr "รีสตาร์ทแอพพลิเคชั่นเซิร์ฟเวอร์" -#: basxbread/views/administration.py:160 -msgid "Back to top" -msgstr "กลับสู่ด้านบนสุด" - -#: basxbread/views/administration.py:168 -msgid "Layout" -msgstr "เค้าโครง" - -#: basxbread/views/administration.py:172 -msgid "Informational" -msgstr "ข้อมูล" - -#: basxbread/views/administration.py:176 -msgid "Interactive" -msgstr "เชิงโต้ตอบ" - -#: basxbread/views/administration.py:180 -msgid "Datatable" -msgstr "ตารางข้อมูล" - -#: basxbread/views/administration.py:184 -msgid "Form" -msgstr "แบบฟอร์ม" - -#: basxbread/views/administration.py:186 -msgid "Widget preview" -msgstr "แสดงตัวอย่างวิดเจ็ต" - -#: basxbread/views/administration.py:190 -msgid "Widgets" -msgstr "วิดเจ็ต" - -#: basxbread/views/administration.py:206 -msgid "Configure preview" -msgstr "กำหนดค่าการแสดงตัวอย่าง" - -#: basxbread/views/administration.py:213 -msgid "Apply" -msgstr "นำมาใช้" - -#: basxbread/views/administration.py:220 -msgid "Tooltips" -msgstr "เคล็ดลับเครื่องมือ" - -#: basxbread/views/administration.py:221 -msgid "Definition tooltip" -msgstr "คำจำกัดความแนะนำเครื่องมือ" - -#: basxbread/views/administration.py:243 -msgid "Icon tooltip" -msgstr "ไอคอนเคล็ดลับเครื่องมือ" - -#: basxbread/views/administration.py:257 -msgid "Interactive tooltip" -msgstr "แบบโต้ตอบเคล็ดลับเครื่องมือ" - -#: basxbread/views/administration.py:308 +#: basxbread/views/administration.py:84 msgid "unable to load" msgstr "ไม่สามารถโหลดได้" -#: basxbread/views/administration.py:325 +#: basxbread/views/administration.py:101 msgid "Package" msgstr "แพ็คเกจ" -#: basxbread/views/administration.py:329 +#: basxbread/views/administration.py:105 msgid "Current" msgstr "ปัจจุบัน" -#: basxbread/views/administration.py:333 +#: basxbread/views/administration.py:109 msgid "Latest" msgstr "ล่าสุด" -#: basxbread/views/administration.py:354 +#: basxbread/views/administration.py:130 msgid "Database optimization is currently only available for sqlite databases" msgstr "ขณะนี้การเพิ่มประสิทธิภาพฐานข้อมูลใช้ได้กับฐานข้อมูล sqlite เท่านั้น" -#: basxbread/views/administration.py:380 +#: basxbread/views/administration.py:156 #, python-format msgid "The database size has been minimized from %.2f kB to %.2f kB." msgstr "ขนาดฐานข้อมูลถูกย่อจาก %.2f kB เป็น %.2f kB" -#: basxbread/views/administration.py:385 +#: basxbread/views/administration.py:161 #, python-format msgid "Previous Size: %.2f kB" msgstr "ขนาดก่อนหน้า: %.2f kB" -#: basxbread/views/administration.py:395 +#: basxbread/views/administration.py:171 msgid "Optimize" msgstr "เพิ่มประสิทธิภาพ" -#: basxbread/views/administration.py:400 +#: basxbread/views/administration.py:176 #, python-format msgid "Current Size: %.2f kB" msgstr "ขนาดปัจจุบัน: %.2f kB" -#: basxbread/views/administration.py:427 +#: basxbread/views/administration.py:203 msgid "Rebuilt search index" msgstr "สร้างดัชนีการค้นหาใหม่" -#: basxbread/views/administration.py:436 +#: basxbread/views/administration.py:212 msgid "Rebuild" msgstr "สร้างใหม่" -#: basxbread/views/administration.py:457 +#: basxbread/views/administration.py:233 msgid "Log from the server" msgstr "บันทึกจากเซิร์ฟเวอร์" -#: basxbread/views/administration.py:471 +#: basxbread/views/administration.py:247 msgid "Restarted application server" msgstr "รีสตาร์ทแอ็พพลิเคชันเซิร์ฟเวอร์" -#: basxbread/views/administration.py:480 +#: basxbread/views/administration.py:256 msgid "Restart" msgstr "รีสตาร์ท" -#: basxbread/views/administration.py:509 +#: basxbread/views/administration.py:285 msgid "System information" msgstr "ข้อมูลระบบ" @@ -1223,55 +1236,55 @@ msgstr "เปลี่ยนรหัสผ่านสำเร็จ" msgid "Please login again" msgstr "กรุณาเข้าสู่ระบบอีกครั้ง" -#: basxbread/views/browse.py:287 +#: basxbread/views/browse.py:289 #, python-format msgid "Action '%s' is not configured for this view" msgstr "ไม่ได้กำหนดค่าการกระทำ '%s' สำหรับมุมมองนี้" -#: basxbread/views/browse.py:334 +#: basxbread/views/browse.py:336 #, python-format msgid "Bad filter string '%s': '%s'" msgstr "สตริงตัวกรองไม่ถูกต้อง '%s': '%s'" -#: basxbread/views/browse.py:416 basxbread/views/util.py:45 +#: basxbread/views/browse.py:416 basxbread/views/util.py:46 msgid "Are you sure you want to delete {}?" msgstr "คุณแน่ใจหรือว่าต้องการลบ {}?" -#: basxbread/views/browse.py:468 +#: basxbread/views/browse.py:471 #, python-format msgid "Your user has not the permissions to delete %s" msgstr "ชื่อผู้ใช้ของคุณไม่สามารถทำการลบได้%s" -#: basxbread/views/browse.py:481 +#: basxbread/views/browse.py:484 #, python-format msgid "%s could not be deleted: %s" msgstr "%s ไม่ควรลบเพราะ: %s" -#: basxbread/views/browse.py:486 +#: basxbread/views/browse.py:489 #, python-format msgid "Deleted %(count)s %(modelname)s" msgstr "ลบ %(count)s %(modelname)s" -#: basxbread/views/browse.py:510 +#: basxbread/views/browse.py:515 #, python-format msgid "Your user has not the permissions to restore %s" msgstr "ชื่อผู้ใช้ของคุณไม่มีสิทธิ์กู้คืน%s" -#: basxbread/views/browse.py:519 +#: basxbread/views/browse.py:524 #, python-format msgid "%s could not be restored: %s" msgstr "%s ไม่ควรกู้คืนเพราะ: %s" -#: basxbread/views/browse.py:524 +#: basxbread/views/browse.py:529 #, python-format msgid "Restored %(count)s %(modelname)s" msgstr "กู้คืน %(count)s %(modelname)s" -#: basxbread/views/browse.py:712 +#: basxbread/views/browse.py:719 msgid "Reset" msgstr "รีเซ็ต" -#: basxbread/views/browse.py:719 +#: basxbread/views/browse.py:726 msgctxt "apply filter" msgid "Filter" msgstr "กรอง" @@ -1402,11 +1415,11 @@ msgstr "รหัสผ่านปัจจุบันของคุณไม msgid "Request reset" msgstr "คำขอตั้งค่าใหม่" -#: basxbread/views/userprofile.py:399 +#: basxbread/views/userprofile.py:400 msgid "Enabled developer mode" msgstr "เปิดใช้งานโหมดนักพัฒนา" -#: basxbread/views/userprofile.py:401 +#: basxbread/views/userprofile.py:402 msgid "Disabled developer mode" msgstr "ปิดใช้งานโหมดนักพัฒนา" @@ -1430,23 +1443,21 @@ msgstr "ส่งรหัสผ่านเพื่อรีเซ็ตไป msgid "" "When checking this, a link will be sent to the user which allows him to set " "his password" -msgstr "" -"เมื่อตรวจสอบสิ่งนี้แล้ว " -"ลิงค์จะถูกส่งไปยังผู้ใช้ซึ่งอนุญาตให้เขาตั้งรหัสผ่านได้" +msgstr "เมื่อตรวจสอบสิ่งนี้แล้ว ลิงค์จะถูกส่งไปยังผู้ใช้ซึ่งอนุญาตให้เขาตั้งรหัสผ่านได้" #: basxbread/views/users.py:128 msgid "Please enter the user's email address in order to send a password reset" msgstr "โปรดป้อนที่อยู่อีเมลของผู้ใช้เพื่อส่งการรีเซ็ตรหัสผ่าน" -#: basxbread/views/util.py:30 +#: basxbread/views/util.py:31 msgid "Read" msgstr "อ่าน" -#: basxbread/views/util.py:60 +#: basxbread/views/util.py:61 msgid "Are you sure you want to copy {}?" msgstr "คุณแน่ใจหรือไม่ว่าต้องการคัดลอก {}?" -#: basxbread/views/util.py:90 +#: basxbread/views/util.py:91 msgid "Add {}" msgstr "เพิ่ม {}" @@ -1458,6 +1469,70 @@ msgstr "เรียบร้อย" msgid "Continue" msgstr "ต่อไป" +#~ msgid "Table of Contents" +#~ msgstr "สารบัญ" + +#~ msgid "" +#~ "This is some tooltip text. This box shows the maximum amount of text that " +#~ "should appear inside. If more room is needed please use a modal instead." +#~ msgstr "" +#~ "นี่คือข้อความคำแนะนำเครื่องมือบางส่วน กล่องนี้แสดงจำนวนตัวอักษรสูงสุดที่ควรปรากฏอยู่ภายใน " +#~ "หากต้องการพื้นที่เพิ่ม โปรดใช้โมดุลแทน" + +#~ msgid "This is a server message in the ToastNotification." +#~ msgstr "นี่คือข้อความเซิร์ฟเวอร์ ToastNotification" + +#~ msgid "Click to see ToastNotification in action" +#~ msgstr "คลิกเพื่อดูการทำงานของ ToastNotification" + +#~ msgid "Django Admin" +#~ msgstr "Django แอดมิน" + +#~ msgid "Component Preview" +#~ msgstr "การแสดงตัวอย่างส่วนประกอบ" + +#~ msgid "Back to top" +#~ msgstr "กลับสู่ด้านบนสุด" + +#~ msgid "Layout" +#~ msgstr "เค้าโครง" + +#~ msgid "Informational" +#~ msgstr "ข้อมูล" + +#~ msgid "Interactive" +#~ msgstr "เชิงโต้ตอบ" + +#~ msgid "Datatable" +#~ msgstr "ตารางข้อมูล" + +#~ msgid "Form" +#~ msgstr "แบบฟอร์ม" + +#~ msgid "Widget preview" +#~ msgstr "แสดงตัวอย่างวิดเจ็ต" + +#~ msgid "Widgets" +#~ msgstr "วิดเจ็ต" + +#~ msgid "Configure preview" +#~ msgstr "กำหนดค่าการแสดงตัวอย่าง" + +#~ msgid "Apply" +#~ msgstr "นำมาใช้" + +#~ msgid "Tooltips" +#~ msgstr "เคล็ดลับเครื่องมือ" + +#~ msgid "Definition tooltip" +#~ msgstr "คำจำกัดความแนะนำเครื่องมือ" + +#~ msgid "Icon tooltip" +#~ msgstr "ไอคอนเคล็ดลับเครื่องมือ" + +#~ msgid "Interactive tooltip" +#~ msgstr "แบบโต้ตอบเคล็ดลับเครื่องมือ" + #~ msgid "Workflow Diagram" #~ msgstr "ผังแสดงลำดับขั้นตอนการทำงาน" @@ -1496,15 +1571,9 @@ msgstr "ต่อไป" #~ msgid "Path to the desired value (see help)" #~ msgstr "การตั้งค่าตามที่ต้องการ(ดูที่ช่วยเหลือ)" -#~ msgid "Template" -#~ msgstr "แบบฟอร์มเอกสาร" - #~ msgid "Jinja template with 'value' in context" #~ msgstr "เทมเพลต Jinja พร้อม 'value' ในบริบท" -#~ msgid "Raw value" -#~ msgstr "ตั้งค่าขนาดของแถว" - #~ msgid "Variable" #~ msgstr "ค่าตัวแปร" diff --git a/basxbread/utils/model_helpers.py b/basxbread/utils/model_helpers.py index bfc81c3d..08210e3f 100644 --- a/basxbread/utils/model_helpers.py +++ b/basxbread/utils/model_helpers.py @@ -15,15 +15,15 @@ def quickregister( **kwargs, ): from .. import menu - from ..views import BrowseView + from ..views import BrowseView, deletelink, editlink from .links import Link, ModelHref from .urls import default_model_paths rowactions = [] if with_editaction: - rowactions.append(BrowseView.editlink()) + rowactions.append(editlink()) if with_deleteaction: - rowactions.append(BrowseView.deletelink()) + rowactions.append(deletelink()) kwargs["browseview"] = kwargs.get("browseview", BrowseView)._with( rowactions=rowactions diff --git a/basxbread/views/browse.py b/basxbread/views/browse.py index 3966d8fd..9eea3367 100644 --- a/basxbread/views/browse.py +++ b/basxbread/views/browse.py @@ -159,7 +159,7 @@ def __init__(self, *args, **kwargs): ) self.title = kwargs.get("title") or self.title if self.rowactions is None: - self.rowactions = (BrowseView.editlink(), BrowseView.deletelink()) + self.rowactions = (editlink(), deletelink()) self.rowactions = kwargs.get("rowactions") or self.rowactions self.model = kwargs.get("model") or self.model self.columns = filter_fieldlist( @@ -394,30 +394,30 @@ def gen_rowclickaction(modelaction, **kwargs): iconname=None, ) - @staticmethod - def editlink(return_to_current=True, **attributes): - return Link( - href=ModelHref(hg.C("row"), "edit", return_to_current=return_to_current), - label=_("Edit"), - iconname="edit", - attributes=attributes, - permissions=[hg.F(lambda c: permissionname(c["row"], "change"))], - ) - @staticmethod - def deletelink(return_to_current=True, **attributes): - return Link( - href=ModelHref(hg.C("row"), "delete", return_to_current=return_to_current), - label=_("Delete"), - iconname="delete", - attributes=attributes, - is_submit=True, - confirm_text=hg.format( - _("Are you sure you want to delete {}?"), - hg.SPAN(hg.STRONG(hg.C("row"))), - ), - permissions=[hg.F(lambda c: permissionname(c["row"], "delete"))], - ) +def editlink(return_to_current=True, **attributes): + return Link( + href=ModelHref(hg.C("row"), "edit", return_to_current=return_to_current), + label=_("Edit"), + iconname="edit", + attributes=attributes, + permissions=[hg.F(lambda c: permissionname(c["row"], "change"))], + ) + + +def deletelink(return_to_current=True, **attributes): + return Link( + href=ModelHref(hg.C("row"), "delete", return_to_current=return_to_current), + label=_("Delete"), + iconname="delete", + attributes=attributes, + is_submit=True, + confirm_text=hg.format( + _("Are you sure you want to delete {}?"), + hg.SPAN(hg.STRONG(hg.C("row"))), + ), + permissions=[hg.F(lambda c: permissionname(c["row"], "delete"))], + ) # helper function to export a queryset to excel diff --git a/basxbread/views/users.py b/basxbread/views/users.py index 2fb8411e..c8f1b6a0 100644 --- a/basxbread/views/users.py +++ b/basxbread/views/users.py @@ -7,7 +7,7 @@ from basxbread import layout, utils -from . import AddView, BrowseView, EditView, ReadView +from . import AddView, BrowseView, EditView, ReadView, editlink class UserBrowseView(BrowseView): @@ -22,7 +22,7 @@ class UserBrowseView(BrowseView): "last_login", ] rowactions = ( - BrowseView.editlink(), + editlink(), utils.Link( href=utils.LazyHref("password_reset", query={"email": hg.C("row").email}), label=hg.If(