diff --git a/nummi/category/locale/fr_FR/LC_MESSAGES/django.mo b/nummi/category/locale/fr_FR/LC_MESSAGES/django.mo index 4dfa16e..32338f9 100644 Binary files a/nummi/category/locale/fr_FR/LC_MESSAGES/django.mo and b/nummi/category/locale/fr_FR/LC_MESSAGES/django.mo differ diff --git a/nummi/category/locale/fr_FR/LC_MESSAGES/django.po b/nummi/category/locale/fr_FR/LC_MESSAGES/django.po index ca5b98a..e5881ca 100644 --- a/nummi/category/locale/fr_FR/LC_MESSAGES/django.po +++ b/nummi/category/locale/fr_FR/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-04-22 15:16+0200\n" +"POT-Creation-Date: 2023-11-25 12:05+0100\n" "PO-Revision-Date: 2023-04-22 15:18+0200\n" "Last-Translator: Edgar P. Burkhart \n" "Language-Team: \n" @@ -61,3 +61,11 @@ msgstr "Dépenses" #: .\category\templates\category\category_plot.html:16 msgid "Income" msgstr "Revenus" + +#: .\category\templates\category\category_plot.html:56 +msgid "No transaction" +msgstr "Aucune transaction" + +#: .\category\templates\category\category_plot.html:64 +msgid "Total" +msgstr "Total" diff --git a/nummi/main/locale/fr_FR/LC_MESSAGES/django.mo b/nummi/main/locale/fr_FR/LC_MESSAGES/django.mo index 4685846..7f2a8f0 100644 Binary files a/nummi/main/locale/fr_FR/LC_MESSAGES/django.mo and b/nummi/main/locale/fr_FR/LC_MESSAGES/django.mo differ diff --git a/nummi/main/locale/fr_FR/LC_MESSAGES/django.po b/nummi/main/locale/fr_FR/LC_MESSAGES/django.po index 6697c94..18f7b5d 100644 --- a/nummi/main/locale/fr_FR/LC_MESSAGES/django.po +++ b/nummi/main/locale/fr_FR/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-04-23 08:02+0200\n" +"POT-Creation-Date: 2023-11-25 12:05+0100\n" "PO-Revision-Date: 2023-04-23 08:03+0200\n" "Last-Translator: Edgar P. Burkhart \n" "Language-Team: \n" @@ -124,3 +124,7 @@ msgstr "Aucune catégorie" #: .\main\templates\main\index.html:44 msgid "History" msgstr "Historique" + +#: .\main\views.py:68 +msgid "was created successfully" +msgstr "a été créé avec succès" diff --git a/nummi/main/views.py b/nummi/main/views.py index 51a7131..e1d52a3 100644 --- a/nummi/main/views.py +++ b/nummi/main/views.py @@ -5,6 +5,7 @@ from django.contrib.auth import views as auth_views from django.contrib.auth.mixins import LoginRequiredMixin from django.urls import reverse_lazy from django.utils.html import format_html +from django.utils.translation import gettext as _ from django.views.generic import ( CreateView, DeleteView, @@ -64,7 +65,7 @@ class NummiCreateView(UserMixin, CreateView): "{name} {msg}", surl=surl, name=self.object, - msg="was created successfully", + msg=_("was created successfully"), ), ) diff --git a/nummi/statement/locale/fr_FR/LC_MESSAGES/django.po b/nummi/statement/locale/fr_FR/LC_MESSAGES/django.po index 88593df..c9ae392 100644 --- a/nummi/statement/locale/fr_FR/LC_MESSAGES/django.po +++ b/nummi/statement/locale/fr_FR/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-04-22 15:22+0200\n" +"POT-Creation-Date: 2023-11-25 12:05+0100\n" "PO-Revision-Date: 2023-04-22 15:22+0200\n" "Last-Translator: Edgar P. Burkhart \n" "Language-Team: \n" @@ -65,20 +65,20 @@ msgstr "Relevé" msgid "Statements" msgstr "Relevés" -#: .\statement\templates\statement\statement_form.html:5 +#: .\statement\templates\statement\statement_form.html:4 #: .\statement\templates\statement\statement_table.html:5 msgid "Create statement" msgstr "Créer un relevé" -#: .\statement\templates\statement\statement_form.html:8 +#: .\statement\templates\statement\statement_form.html:7 msgid "New statement" msgstr "Nouveau relevé" -#: .\statement\templates\statement\statement_form.html:23 +#: .\statement\templates\statement\statement_form.html:22 msgid "Categories" msgstr "Catégories" -#: .\statement\templates\statement\statement_form.html:27 +#: .\statement\templates\statement\statement_form.html:24 #: .\statement\templates\statement\statement_table.html:28 msgid "Transactions" msgstr "Transactions" diff --git a/nummi/transaction/locale/fr_FR/LC_MESSAGES/django.po b/nummi/transaction/locale/fr_FR/LC_MESSAGES/django.po index fc73dd9..26f95c0 100644 --- a/nummi/transaction/locale/fr_FR/LC_MESSAGES/django.po +++ b/nummi/transaction/locale/fr_FR/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-04-23 08:02+0200\n" +"POT-Creation-Date: 2023-11-25 12:05+0100\n" "PO-Revision-Date: 2023-04-23 08:03+0200\n" "Last-Translator: Edgar P. Burkhart \n" "Language-Team: \n" @@ -69,7 +69,7 @@ msgid "Account" msgstr "Compte" #: .\transaction\models.py:83 -#: .\transaction\templates\transaction\transaction_archive_month.html:12 +#: .\transaction\templates\transaction\transaction_archive_month.html:11 #: .\transaction\templates\transaction\transaction_list.html:4 #: .\transaction\templates\transaction\transaction_list.html:7 msgid "Transactions" @@ -108,7 +108,7 @@ msgstr "Supprimer" msgid "No invoice" msgstr "Aucune facture" -#: .\transaction\templates\transaction\transaction_archive_month.html:15 +#: .\transaction\templates\transaction\transaction_archive_month.html:14 msgid "Categories" msgstr "Catégories"