diff --git a/locale/it/LC_MESSAGES/django.mo b/locale/it/LC_MESSAGES/django.mo index 4579862..01850c7 100644 Binary files a/locale/it/LC_MESSAGES/django.mo and b/locale/it/LC_MESSAGES/django.mo differ diff --git a/locale/it/LC_MESSAGES/django.po b/locale/it/LC_MESSAGES/django.po index a68bf71..c6f7515 100644 --- a/locale/it/LC_MESSAGES/django.po +++ b/locale/it/LC_MESSAGES/django.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-11-21 12:58+0100\n" -"PO-Revision-Date: 2022-11-21 13:02+0100\n" +"POT-Creation-Date: 2022-11-21 18:59+0100\n" +"PO-Revision-Date: 2022-11-21 19:02+0100\n" "Last-Translator: andywar65 \n" "Language-Team: \n" "Language: it\n" @@ -167,6 +167,7 @@ msgid "Are you sure you want to delete this layer / block?" msgstr "Sei sicuro di voler eliminare questo livello / blocco?" #: .\djeocad\templates\djeocad\includes\drawing_create.html:19 +#: .\djeocad\templates\djeocad\includes\layer_create.html:18 msgid "Add" msgstr "Aggiungi" @@ -175,67 +176,86 @@ msgid "Update drawing" msgstr "Aggiorna il disegno" #: .\djeocad\templates\djeocad\includes\drawing_update.html:24 -#: .\djeocad\templates\djeocad\includes\layer_update.html:19 +#: .\djeocad\templates\djeocad\includes\layer_update.html:18 msgid "Update" msgstr "Aggiorna" #: .\djeocad\templates\djeocad\includes\drawing_update.html:27 -#: .\djeocad\templates\djeocad\includes\layer_update.html:23 -msgid "Cancel" +#: .\djeocad\templates\djeocad\includes\layer_create.html:22 +#: .\djeocad\templates\djeocad\includes\layer_update.html:22 +msgid "Discard" msgstr "Annulla" #: .\djeocad\templates\djeocad\includes\drawing_update.html:33 msgid "Layers / Blocks" msgstr "Livelli / Blocchi" -#: .\djeocad\templates\djeocad\includes\layer_update.html:10 +#: .\djeocad\templates\djeocad\includes\drawing_update.html:39 +msgid "No layers yet" +msgstr "Ancora nessun livello" + +#: .\djeocad\templates\djeocad\includes\drawing_update.html:43 +msgid "Add layer" +msgstr "Aggiungi livello" + +#: .\djeocad\templates\djeocad\includes\layer_create.html:9 +msgid "Create layer" +msgstr "Crea livello" + +#: .\djeocad\templates\djeocad\includes\layer_update.html:9 msgid "Update layer" msgstr "Aggiorna livello" -#: .\djeocad\urls.py:19 +#: .\djeocad\urls.py:20 msgid "author//" msgstr "autore//" -#: .\djeocad\urls.py:21 +#: .\djeocad\urls.py:22 msgid "author//drawing//" msgstr "autore//disegno//" -#: .\djeocad\urls.py:26 +#: .\djeocad\urls.py:27 msgid "author//drawing/add/" msgstr "autore//disegno/aggiungi/" -#: .\djeocad\urls.py:31 +#: .\djeocad\urls.py:32 msgid "author//drawing//update/" msgstr "autore//disegno//aggiorna/" -#: .\djeocad\urls.py:36 +#: .\djeocad\urls.py:37 msgid "author//drawing//delete/" msgstr "autore//disegno//elimina/" -#: .\djeocad\urls.py:41 +#: .\djeocad\urls.py:42 +msgid "author//drawing//layer-add/" +msgstr "autore//disegno//aggiungi-livello/" + +#: .\djeocad\urls.py:47 msgid "author//layer//update/" msgstr "autore//livello//aggiorna/" -#: .\djeocad\urls.py:45 +#: .\djeocad\urls.py:51 msgid "drawing//download/" msgstr "disegno//download/" -#: .\djeocad\views.py:111 .\djeocad\views.py:171 +#: .\djeocad\views.py:111 msgid "Drawing does not belong to User" msgstr "Il disegno non appartiene all'utente" -#: .\djeocad\views.py:190 .\djeocad\views.py:244 +#: .\djeocad\views.py:185 .\djeocad\views.py:280 msgid "Request without HTMX headers" msgstr "" -#: .\djeocad\views.py:220 -msgid "Layer does not belong to User" -msgstr "Il livello non appartiene all'utente" - -#: .\djeocad\views.py:248 +#: .\djeocad\views.py:284 #, python-format msgid "Layer \"%s\" deleted" msgstr "Livello \"%s\" eliminato" +#~ msgid "Cancel" +#~ msgstr "Annulla" + +#~ msgid "Layer does not belong to User" +#~ msgstr "Il livello non appartiene all'utente" + #~ msgid "Elements" #~ msgstr "Elementi" diff --git a/templates/djeocad/includes/drawing_update.html b/templates/djeocad/includes/drawing_update.html index d1ca097..e1e0815 100644 --- a/templates/djeocad/includes/drawing_update.html +++ b/templates/djeocad/includes/drawing_update.html @@ -24,7 +24,7 @@

value="{% trans 'Update' %}" /> - {% trans "Cancel" %} + {% trans "Discard" %} diff --git a/templates/djeocad/includes/layer_create.html b/templates/djeocad/includes/layer_create.html index c448463..da71b77 100644 --- a/templates/djeocad/includes/layer_create.html +++ b/templates/djeocad/includes/layer_create.html @@ -19,7 +19,7 @@

- {% trans "Cancel" %} + {% trans "Discard" %} diff --git a/templates/djeocad/includes/layer_update.html b/templates/djeocad/includes/layer_update.html index 2a48667..5b1bff9 100644 --- a/templates/djeocad/includes/layer_update.html +++ b/templates/djeocad/includes/layer_update.html @@ -19,7 +19,7 @@

- {% trans "Cancel" %} + {% trans "Discard" %}