From e974406870e9b658600bf7b2f290086c3b7de5fb Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Tue, 23 May 2023 14:21:04 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20the=20=E2=80=9Call=E2=80=9D=20columns?= =?UTF-8?q?=20from=20products=20and=20contacts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That column was supposed to have a checkbox for batch operations, but we do not have any operation that would like to perform to many products or contacts at the same time. For now, at least. --- po/ca.po | 46 ++++++++++++++++-------------- po/es.po | 46 ++++++++++++++++-------------- web/template/contacts/index.gohtml | 4 +-- web/template/products/index.gohtml | 4 +-- 4 files changed, 50 insertions(+), 50 deletions(-) diff --git a/po/ca.po b/po/ca.po index a2d9f19..11d0510 100644 --- a/po/ca.po +++ b/po/ca.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: numerus\n" "Report-Msgid-Bugs-To: jordi@tandem.blog\n" -"POT-Creation-Date: 2023-05-22 11:12+0200\n" +"POT-Creation-Date: 2023-05-23 14:16+0200\n" "PO-Revision-Date: 2023-01-18 17:08+0100\n" "Last-Translator: jordi fita mas \n" "Language-Team: Catalan \n" @@ -49,25 +49,24 @@ msgid "New Invoice" msgstr "Nova factura" #: web/template/invoices/products.gohtml:48 -#: web/template/products/index.gohtml:38 msgctxt "product" msgid "All" msgstr "Tots" #: web/template/invoices/products.gohtml:49 -#: web/template/products/index.gohtml:39 +#: web/template/products/index.gohtml:38 msgctxt "title" msgid "Name" msgstr "Nom" #: web/template/invoices/products.gohtml:50 -#: web/template/invoices/view.gohtml:62 web/template/products/index.gohtml:41 +#: web/template/invoices/view.gohtml:62 web/template/products/index.gohtml:40 msgctxt "title" msgid "Price" msgstr "Preu" #: web/template/invoices/products.gohtml:64 -#: web/template/products/index.gohtml:81 +#: web/template/products/index.gohtml:79 msgid "No products added yet." msgstr "No hi ha cap producte." @@ -126,7 +125,7 @@ msgctxt "title" msgid "Invoice Num." msgstr "Núm. factura" -#: web/template/invoices/index.gohtml:49 web/template/contacts/index.gohtml:39 +#: web/template/invoices/index.gohtml:49 web/template/contacts/index.gohtml:38 msgctxt "title" msgid "Customer" msgstr "Client" @@ -136,8 +135,8 @@ msgctxt "title" msgid "Status" msgstr "Estat" -#: web/template/invoices/index.gohtml:51 web/template/contacts/index.gohtml:42 -#: web/template/expenses/index.gohtml:44 web/template/products/index.gohtml:40 +#: web/template/invoices/index.gohtml:51 web/template/contacts/index.gohtml:41 +#: web/template/expenses/index.gohtml:44 web/template/products/index.gohtml:39 msgctxt "title" msgid "Tags" msgstr "Etiquetes" @@ -152,8 +151,8 @@ msgctxt "title" msgid "Download" msgstr "Descàrrega" -#: web/template/invoices/index.gohtml:54 web/template/contacts/index.gohtml:43 -#: web/template/expenses/index.gohtml:47 web/template/products/index.gohtml:42 +#: web/template/invoices/index.gohtml:54 web/template/contacts/index.gohtml:42 +#: web/template/expenses/index.gohtml:47 web/template/products/index.gohtml:41 msgctxt "title" msgid "Actions" msgstr "Accions" @@ -164,8 +163,8 @@ msgid "Select invoice %v" msgstr "Selecciona factura %v" #: web/template/invoices/index.gohtml:116 web/template/invoices/view.gohtml:19 -#: web/template/contacts/index.gohtml:73 web/template/expenses/index.gohtml:86 -#: web/template/products/index.gohtml:71 +#: web/template/contacts/index.gohtml:71 web/template/expenses/index.gohtml:86 +#: web/template/products/index.gohtml:69 msgctxt "action" msgid "Edit" msgstr "Edita" @@ -216,8 +215,8 @@ msgstr "Edició de la factura «%s»" #: web/template/invoices/edit.gohtml:68 msgctxt "action" -msgid "Edit invoice" -msgstr "Edita factura" +msgid "Save" +msgstr "Desa" #: web/template/form.gohtml:36 msgctxt "input" @@ -316,22 +315,17 @@ msgctxt "action" msgid "New contact" msgstr "Nou contacte" -#: web/template/contacts/index.gohtml:38 -msgctxt "contact" -msgid "All" -msgstr "Tots" - -#: web/template/contacts/index.gohtml:40 +#: web/template/contacts/index.gohtml:39 msgctxt "title" msgid "Email" msgstr "Correu-e" -#: web/template/contacts/index.gohtml:41 +#: web/template/contacts/index.gohtml:40 msgctxt "title" msgid "Phone" msgstr "Telèfon" -#: web/template/contacts/index.gohtml:83 +#: web/template/contacts/index.gohtml:81 msgid "No contacts added yet." msgstr "No hi ha cap contacte." @@ -1031,6 +1025,14 @@ msgstr "No podeu deixar el codi postal en blanc." msgid "This value is not a valid postal code." msgstr "Aquest valor no és un codi postal vàlid." +#~ msgctxt "action" +#~ msgid "Edit invoice" +#~ msgstr "Edita factura" + +#~ msgctxt "contact" +#~ msgid "All" +#~ msgstr "Tots" + #~ msgid "Product ID can not be empty." #~ msgstr "No podeu deixar l’identificador del producte en blanc." diff --git a/po/es.po b/po/es.po index 1cab2af..10f0b35 100644 --- a/po/es.po +++ b/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: numerus\n" "Report-Msgid-Bugs-To: jordi@tandem.blog\n" -"POT-Creation-Date: 2023-05-22 11:12+0200\n" +"POT-Creation-Date: 2023-05-23 14:16+0200\n" "PO-Revision-Date: 2023-01-18 17:45+0100\n" "Last-Translator: jordi fita mas \n" "Language-Team: Spanish \n" @@ -49,25 +49,24 @@ msgid "New Invoice" msgstr "Nueva factura" #: web/template/invoices/products.gohtml:48 -#: web/template/products/index.gohtml:38 msgctxt "product" msgid "All" msgstr "Todos" #: web/template/invoices/products.gohtml:49 -#: web/template/products/index.gohtml:39 +#: web/template/products/index.gohtml:38 msgctxt "title" msgid "Name" msgstr "Nombre" #: web/template/invoices/products.gohtml:50 -#: web/template/invoices/view.gohtml:62 web/template/products/index.gohtml:41 +#: web/template/invoices/view.gohtml:62 web/template/products/index.gohtml:40 msgctxt "title" msgid "Price" msgstr "Precio" #: web/template/invoices/products.gohtml:64 -#: web/template/products/index.gohtml:81 +#: web/template/products/index.gohtml:79 msgid "No products added yet." msgstr "No hay productos." @@ -126,7 +125,7 @@ msgctxt "title" msgid "Invoice Num." msgstr "Nº factura" -#: web/template/invoices/index.gohtml:49 web/template/contacts/index.gohtml:39 +#: web/template/invoices/index.gohtml:49 web/template/contacts/index.gohtml:38 msgctxt "title" msgid "Customer" msgstr "Cliente" @@ -136,8 +135,8 @@ msgctxt "title" msgid "Status" msgstr "Estado" -#: web/template/invoices/index.gohtml:51 web/template/contacts/index.gohtml:42 -#: web/template/expenses/index.gohtml:44 web/template/products/index.gohtml:40 +#: web/template/invoices/index.gohtml:51 web/template/contacts/index.gohtml:41 +#: web/template/expenses/index.gohtml:44 web/template/products/index.gohtml:39 msgctxt "title" msgid "Tags" msgstr "Etiquetes" @@ -152,8 +151,8 @@ msgctxt "title" msgid "Download" msgstr "Descargar" -#: web/template/invoices/index.gohtml:54 web/template/contacts/index.gohtml:43 -#: web/template/expenses/index.gohtml:47 web/template/products/index.gohtml:42 +#: web/template/invoices/index.gohtml:54 web/template/contacts/index.gohtml:42 +#: web/template/expenses/index.gohtml:47 web/template/products/index.gohtml:41 msgctxt "title" msgid "Actions" msgstr "Acciones" @@ -164,8 +163,8 @@ msgid "Select invoice %v" msgstr "Seleccionar factura %v" #: web/template/invoices/index.gohtml:116 web/template/invoices/view.gohtml:19 -#: web/template/contacts/index.gohtml:73 web/template/expenses/index.gohtml:86 -#: web/template/products/index.gohtml:71 +#: web/template/contacts/index.gohtml:71 web/template/expenses/index.gohtml:86 +#: web/template/products/index.gohtml:69 msgctxt "action" msgid "Edit" msgstr "Editar" @@ -216,8 +215,8 @@ msgstr "Edición de la factura «%s»" #: web/template/invoices/edit.gohtml:68 msgctxt "action" -msgid "Edit invoice" -msgstr "Editar factura" +msgid "Save" +msgstr "Guardad" #: web/template/form.gohtml:36 msgctxt "input" @@ -316,22 +315,17 @@ msgctxt "action" msgid "New contact" msgstr "Nuevo contacto" -#: web/template/contacts/index.gohtml:38 -msgctxt "contact" -msgid "All" -msgstr "Todos" - -#: web/template/contacts/index.gohtml:40 +#: web/template/contacts/index.gohtml:39 msgctxt "title" msgid "Email" msgstr "Correo-e" -#: web/template/contacts/index.gohtml:41 +#: web/template/contacts/index.gohtml:40 msgctxt "title" msgid "Phone" msgstr "Teléfono" -#: web/template/contacts/index.gohtml:83 +#: web/template/contacts/index.gohtml:81 msgid "No contacts added yet." msgstr "No hay contactos." @@ -1031,6 +1025,14 @@ msgstr "No podéis dejar el código postal en blanco." msgid "This value is not a valid postal code." msgstr "Este valor no es un código postal válido válido." +#~ msgctxt "action" +#~ msgid "Edit invoice" +#~ msgstr "Editar factura" + +#~ msgctxt "contact" +#~ msgid "All" +#~ msgstr "Todos" + #~ msgid "Product ID can not be empty." #~ msgstr "No podéis dejar el identificador de producto en blanco." diff --git a/web/template/contacts/index.gohtml b/web/template/contacts/index.gohtml index d4fc4bb..efb2f61 100644 --- a/web/template/contacts/index.gohtml +++ b/web/template/contacts/index.gohtml @@ -35,7 +35,6 @@ - @@ -47,7 +46,6 @@ {{ with .Contacts }} {{- range $contact := . }} - @@ -80,7 +78,7 @@ {{- end }} {{ else }} - + {{ end }} diff --git a/web/template/products/index.gohtml b/web/template/products/index.gohtml index cfdcaa7..52a5389 100644 --- a/web/template/products/index.gohtml +++ b/web/template/products/index.gohtml @@ -35,7 +35,6 @@
{{( pgettext "All" "contact" )}} {{( pgettext "Customer" "title" )}} {{( pgettext "Email" "title" )}} {{( pgettext "Phone" "title" )}}
{{ .Name }} {{ .Email }} {{ .Phone }}
{{( gettext "No contacts added yet." )}}{{( gettext "No contacts added yet." )}}
- @@ -46,7 +45,6 @@ {{ with .Products }} {{- range $product := . }} - + {{ end }}
{{( pgettext "All" "product" )}} {{( pgettext "Name" "title" )}} {{( pgettext "Tags" "title" )}} {{( pgettext "Price" "title" )}}
{{ .Name }} - {{( gettext "No products added yet." )}}{{( gettext "No products added yet." )}}