Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Jun 21, 2024
1 parent b30fbd8 commit 70dcf29
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 79 deletions.
4 changes: 0 additions & 4 deletions src/redturtle/prenotazioni/browser/bookings_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def csv_fields(self):
_("csv_export_booking_folder", default="BOOKING FOLDER")
),
api.portal.translate(_("csv_export_company", default="COMPANY")),
api.portal.translate(_("csv_export_link", default="LINK")),
]

@property
Expand Down Expand Up @@ -109,9 +108,6 @@ def brain2row(self, brain):
api.portal.translate(
_("csv_export_company", default="COMPANY")
): booking.company,
api.portal.translate(
_("csv_exptranslate_link", default="LINK")
): booking.absolute_url(),
}

def get_csv_rows(self):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-06-21 13:29+0000\n"
"POT-Creation-Date: 2024-06-21 13:54+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -40,7 +40,7 @@ msgstr ""
msgid "Attention"
msgstr ""

#: redturtle/prenotazioni/browser/bookings_export.py:148
#: redturtle/prenotazioni/browser/bookings_export.py:146
msgid "Bad date format passed"
msgstr ""

Expand Down Expand Up @@ -777,80 +777,70 @@ msgid "contacts_label"
msgstr ""

#. Default: "BOOKING FOLDER"
#: redturtle/prenotazioni/browser/bookings_export.py:37
#: redturtle/prenotazioni/browser/bookings_export.py:38
msgid "csv_export_booking_folder"
msgstr ""

#. Default: "CODE"
#: redturtle/prenotazioni/browser/bookings_export.py:24
#: redturtle/prenotazioni/browser/bookings_export.py:25
msgid "csv_export_code"
msgstr ""

#. Default: "COMPANY"
#: redturtle/prenotazioni/browser/bookings_export.py:39
#: redturtle/prenotazioni/browser/bookings_export.py:40
msgid "csv_export_company"
msgstr ""

#. Default: "EMAIL"
#: redturtle/prenotazioni/browser/bookings_export.py:27
#: redturtle/prenotazioni/browser/bookings_export.py:28
msgid "csv_export_email"
msgstr ""

#. Default: "BOOKING EXPIRATION"
#: redturtle/prenotazioni/browser/bookings_export.py:31
#: redturtle/prenotazioni/browser/bookings_export.py:32
msgid "csv_export_end_time"
msgstr ""

#. Default: "FISCALCODE"
#: redturtle/prenotazioni/browser/bookings_export.py:28
#: redturtle/prenotazioni/browser/bookings_export.py:29
msgid "csv_export_fiscalcode"
msgstr ""

#. Default: "GATE"
#: redturtle/prenotazioni/browser/bookings_export.py:34
#: redturtle/prenotazioni/browser/bookings_export.py:35
msgid "csv_export_gate"
msgstr ""

#. Default: "LINK"
#: redturtle/prenotazioni/browser/bookings_export.py:40
msgid "csv_export_link"
msgstr ""

#. Default: "NOTES"
#: redturtle/prenotazioni/browser/bookings_export.py:35
#: redturtle/prenotazioni/browser/bookings_export.py:36
msgid "csv_export_notes"
msgstr ""

#. Default: "PHONE"
#: redturtle/prenotazioni/browser/bookings_export.py:26
#: redturtle/prenotazioni/browser/bookings_export.py:27
msgid "csv_export_phone"
msgstr ""

#. Default: "BOOKING START"
#: redturtle/prenotazioni/browser/bookings_export.py:29
#: redturtle/prenotazioni/browser/bookings_export.py:30
msgid "csv_export_start_time"
msgstr ""

#. Default: "STATE"
#: redturtle/prenotazioni/browser/bookings_export.py:33
#: redturtle/prenotazioni/browser/bookings_export.py:34
msgid "csv_export_state"
msgstr ""

#. Default: "TYPE"
#: redturtle/prenotazioni/browser/bookings_export.py:25
#: redturtle/prenotazioni/browser/bookings_export.py:26
msgid "csv_export_type"
msgstr ""

#. Default: "UID"
#: redturtle/prenotazioni/browser/bookings_export.py:23
#: redturtle/prenotazioni/browser/bookings_export.py:24
msgid "csv_export_uid"
msgstr ""

#. Default: "LINK"
#: redturtle/prenotazioni/browser/bookings_export.py:111
msgid "csv_exptranslate_link"
msgstr ""

#. Default: "This day is not valid."
#: redturtle/prenotazioni/browser/vacations.py:223
msgid "day_error"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2024-06-21 13:29+0000\n"
"POT-Creation-Date: 2024-06-21 13:54+0000\n"
"PO-Revision-Date: 2014-05-27 17:36+0200\n"
"Last-Translator: Alessandro Pisa <[email protected]>\n"
"Language-Team: American English <[email protected]>\n"
Expand Down Expand Up @@ -42,7 +42,7 @@ msgstr "L'orario di inizio del pomeriggio non può essere successivo alla chiusu
msgid "Attention"
msgstr "Attenzione!"

#: redturtle/prenotazioni/browser/bookings_export.py:148
#: redturtle/prenotazioni/browser/bookings_export.py:146
msgid "Bad date format passed"
msgstr "Parametro 'date' è composto male"

Expand Down Expand Up @@ -780,80 +780,70 @@ msgid "contacts_label"
msgstr "Contatti"

#. Default: "BOOKING FOLDER"
#: redturtle/prenotazioni/browser/bookings_export.py:37
#: redturtle/prenotazioni/browser/bookings_export.py:38
msgid "csv_export_booking_folder"
msgstr "CARTELLA PRENOTAZIONI"

#. Default: "CODE"
#: redturtle/prenotazioni/browser/bookings_export.py:24
#: redturtle/prenotazioni/browser/bookings_export.py:25
msgid "csv_export_code"
msgstr "CODICE"

#. Default: "COMPANY"
#: redturtle/prenotazioni/browser/bookings_export.py:39
#: redturtle/prenotazioni/browser/bookings_export.py:40
msgid "csv_export_company"
msgstr "AZIENDA"

#. Default: "EMAIL"
#: redturtle/prenotazioni/browser/bookings_export.py:27
#: redturtle/prenotazioni/browser/bookings_export.py:28
msgid "csv_export_email"
msgstr "EMAIL"

#. Default: "BOOKING EXPIRATION"
#: redturtle/prenotazioni/browser/bookings_export.py:31
#: redturtle/prenotazioni/browser/bookings_export.py:32
msgid "csv_export_end_time"
msgstr "FINE PRENOTAZIONE"

#. Default: "FISCALCODE"
#: redturtle/prenotazioni/browser/bookings_export.py:28
#: redturtle/prenotazioni/browser/bookings_export.py:29
msgid "csv_export_fiscalcode"
msgstr "CODICE FISCALE"

#. Default: "GATE"
#: redturtle/prenotazioni/browser/bookings_export.py:34
#: redturtle/prenotazioni/browser/bookings_export.py:35
msgid "csv_export_gate"
msgstr "POSTAZIONE"

#. Default: "LINK"
#: redturtle/prenotazioni/browser/bookings_export.py:40
msgid "csv_export_link"
msgstr "LINK"

#. Default: "NOTES"
#: redturtle/prenotazioni/browser/bookings_export.py:35
#: redturtle/prenotazioni/browser/bookings_export.py:36
msgid "csv_export_notes"
msgstr "NOTE"

#. Default: "PHONE"
#: redturtle/prenotazioni/browser/bookings_export.py:26
#: redturtle/prenotazioni/browser/bookings_export.py:27
msgid "csv_export_phone"
msgstr "NUMERO TELEFONO"

#. Default: "BOOKING START"
#: redturtle/prenotazioni/browser/bookings_export.py:29
#: redturtle/prenotazioni/browser/bookings_export.py:30
msgid "csv_export_start_time"
msgstr "INIZIO PRENOTAZIONE"

#. Default: "STATE"
#: redturtle/prenotazioni/browser/bookings_export.py:33
#: redturtle/prenotazioni/browser/bookings_export.py:34
msgid "csv_export_state"
msgstr "STATO"

#. Default: "TYPE"
#: redturtle/prenotazioni/browser/bookings_export.py:25
#: redturtle/prenotazioni/browser/bookings_export.py:26
msgid "csv_export_type"
msgstr "TIPO"

#. Default: "UID"
#: redturtle/prenotazioni/browser/bookings_export.py:23
#: redturtle/prenotazioni/browser/bookings_export.py:24
msgid "csv_export_uid"
msgstr "UID"

#. Default: "LINK"
#: redturtle/prenotazioni/browser/bookings_export.py:111
msgid "csv_exptranslate_link"
msgstr "LINK"

#. Default: "This day is not valid."
#: redturtle/prenotazioni/browser/vacations.py:223
msgid "day_error"
Expand Down
40 changes: 15 additions & 25 deletions src/redturtle/prenotazioni/locales/redturtle.prenotazioni.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-06-21 13:30+0000\n"
"POT-Creation-Date: 2024-06-21 13:54+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -43,7 +43,7 @@ msgstr ""
msgid "Attention"
msgstr ""

#: redturtle/prenotazioni/browser/bookings_export.py:148
#: redturtle/prenotazioni/browser/bookings_export.py:146
msgid "Bad date format passed"
msgstr ""

Expand Down Expand Up @@ -780,80 +780,70 @@ msgid "contacts_label"
msgstr ""

#. Default: "BOOKING FOLDER"
#: redturtle/prenotazioni/browser/bookings_export.py:37
#: redturtle/prenotazioni/browser/bookings_export.py:38
msgid "csv_export_booking_folder"
msgstr ""

#. Default: "CODE"
#: redturtle/prenotazioni/browser/bookings_export.py:24
#: redturtle/prenotazioni/browser/bookings_export.py:25
msgid "csv_export_code"
msgstr ""

#. Default: "COMPANY"
#: redturtle/prenotazioni/browser/bookings_export.py:39
#: redturtle/prenotazioni/browser/bookings_export.py:40
msgid "csv_export_company"
msgstr ""

#. Default: "EMAIL"
#: redturtle/prenotazioni/browser/bookings_export.py:27
#: redturtle/prenotazioni/browser/bookings_export.py:28
msgid "csv_export_email"
msgstr ""

#. Default: "BOOKING EXPIRATION"
#: redturtle/prenotazioni/browser/bookings_export.py:31
#: redturtle/prenotazioni/browser/bookings_export.py:32
msgid "csv_export_end_time"
msgstr ""

#. Default: "FISCALCODE"
#: redturtle/prenotazioni/browser/bookings_export.py:28
#: redturtle/prenotazioni/browser/bookings_export.py:29
msgid "csv_export_fiscalcode"
msgstr ""

#. Default: "GATE"
#: redturtle/prenotazioni/browser/bookings_export.py:34
#: redturtle/prenotazioni/browser/bookings_export.py:35
msgid "csv_export_gate"
msgstr ""

#. Default: "LINK"
#: redturtle/prenotazioni/browser/bookings_export.py:40
msgid "csv_export_link"
msgstr ""

#. Default: "NOTES"
#: redturtle/prenotazioni/browser/bookings_export.py:35
#: redturtle/prenotazioni/browser/bookings_export.py:36
msgid "csv_export_notes"
msgstr ""

#. Default: "PHONE"
#: redturtle/prenotazioni/browser/bookings_export.py:26
#: redturtle/prenotazioni/browser/bookings_export.py:27
msgid "csv_export_phone"
msgstr ""

#. Default: "BOOKING START"
#: redturtle/prenotazioni/browser/bookings_export.py:29
#: redturtle/prenotazioni/browser/bookings_export.py:30
msgid "csv_export_start_time"
msgstr ""

#. Default: "STATE"
#: redturtle/prenotazioni/browser/bookings_export.py:33
#: redturtle/prenotazioni/browser/bookings_export.py:34
msgid "csv_export_state"
msgstr ""

#. Default: "TYPE"
#: redturtle/prenotazioni/browser/bookings_export.py:25
#: redturtle/prenotazioni/browser/bookings_export.py:26
msgid "csv_export_type"
msgstr ""

#. Default: "UID"
#: redturtle/prenotazioni/browser/bookings_export.py:23
#: redturtle/prenotazioni/browser/bookings_export.py:24
msgid "csv_export_uid"
msgstr ""

#. Default: "LINK"
#: redturtle/prenotazioni/browser/bookings_export.py:111
msgid "csv_exptranslate_link"
msgstr ""

#. Default: "This day is not valid."
#: redturtle/prenotazioni/browser/vacations.py:223
msgid "day_error"
Expand Down

0 comments on commit 70dcf29

Please sign in to comment.