diff --git a/nummi/locale/fr/LC_MESSAGES/django.mo b/nummi/locale/fr/LC_MESSAGES/django.mo new file mode 100644 index 0000000..41fef99 Binary files /dev/null and b/nummi/locale/fr/LC_MESSAGES/django.mo differ diff --git a/nummi/locale/fr/LC_MESSAGES/django.po b/nummi/locale/fr/LC_MESSAGES/django.po new file mode 100644 index 0000000..594f394 --- /dev/null +++ b/nummi/locale/fr/LC_MESSAGES/django.po @@ -0,0 +1,21 @@ +# NUMMI. +# Copyright (C) 2022 +# This file is distributed under the same license as the nummi package. +# edpibu , 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: 0.0.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-12-21 17:26+0100\n" +"PO-Revision-Date: 2022-12-21 17:30+0100\n" +"Last-Translator: edpibu \n" +"Language-Team: edpibu \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +#: .\plot\views.py:28 +msgid "Snapshots" +msgstr "Relevés" diff --git a/nummi/main/locale/fr/LC_MESSAGES/django.mo b/nummi/main/locale/fr/LC_MESSAGES/django.mo index f856459..2037b7a 100644 Binary files a/nummi/main/locale/fr/LC_MESSAGES/django.mo and b/nummi/main/locale/fr/LC_MESSAGES/django.mo differ diff --git a/nummi/main/locale/fr/LC_MESSAGES/django.po b/nummi/main/locale/fr/LC_MESSAGES/django.po index 7ff0ccd..3d7ea69 100644 --- a/nummi/main/locale/fr/LC_MESSAGES/django.po +++ b/nummi/main/locale/fr/LC_MESSAGES/django.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: 0.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-21 09:08+0100\n" -"PO-Revision-Date: 2022-05-30 19:00+0200\n" +"POT-Creation-Date: 2022-12-21 17:26+0100\n" +"PO-Revision-Date: 2022-12-21 17:30+0100\n" "Last-Translator: edpibu \n" "Language-Team: edpibu \n" "Language: \n" @@ -17,110 +17,116 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: .\models.py:12 .\models.py:22 .\models.py:56 .\templates\main\base.html:35 -#: .\templates\main\tag\transaction_table.html:10 +#: .\main\models.py:15 .\main\models.py:25 .\main\models.py:59 +#: .\main\templates\main\base.html:35 +#: .\main\templates\main\tag\transaction_table.html:11 msgid "Category" msgstr "Catégorie" -#: .\models.py:12 .\models.py:37 .\models.py:88 -#: .\templates\main\tag\transaction_table.html:7 +#: .\main\models.py:15 .\main\models.py:40 .\main\models.py:103 +#: .\main\templates\main\tag\transaction_table.html:8 msgid "Name" msgstr "Nom" -#: .\models.py:14 +#: .\main\models.py:17 msgid "Icon" msgstr "Icône" -#: .\models.py:15 +#: .\main\models.py:18 msgid "Budget" msgstr "Budget" -#: .\models.py:23 .\templates\main\index.html:19 -#: .\templates\main\snapshot.html:33 +#: .\main\models.py:26 .\main\templates\main\index.html:19 +#: .\main\templates\main\snapshot.html:33 msgid "Categories" msgstr "Catégories" -#: .\models.py:37 .\models.py:64 .\templates\main\base.html:30 +#: .\main\models.py:40 .\main\models.py:75 .\main\templates\main\base.html:30 msgid "Transaction" msgstr "Transaction" -#: .\models.py:39 .\templates\main\tag\transaction_table.html:11 +#: .\main\models.py:42 .\main\templates\main\tag\transaction_table.html:12 msgid "Description" msgstr "Description" -#: .\models.py:41 .\models.py:122 .\templates\main\index.html:32 -#: .\templates\main\tag\transaction_table.html:8 +#: .\main\models.py:44 .\main\models.py:142 .\main\templates\main\index.html:33 +#: .\main\templates\main\tag\transaction_table.html:9 msgid "Value" msgstr "Valeur" -#: .\models.py:43 .\models.py:120 .\templates\main\index.html:31 -#: .\templates\main\tag\transaction_table.html:6 +#: .\main\models.py:46 .\main\models.py:140 .\main\templates\main\index.html:32 +#: .\main\templates\main\tag\transaction_table.html:7 msgid "Date" msgstr "Date" -#: .\models.py:44 +#: .\main\models.py:47 msgid "Real date" msgstr "Date réelle" -#: .\models.py:46 .\templates\main\tag\transaction_table.html:9 +#: .\main\models.py:49 .\main\templates\main\tag\transaction_table.html:10 msgid "Trader" msgstr "Commerçant" -#: .\models.py:49 +#: .\main\models.py:52 msgid "Payment" msgstr "Paiement" -#: .\models.py:65 .\templates\main\category.html:24 -#: .\templates\main\index.html:14 .\templates\main\index.html:34 -#: .\templates\main\snapshot.html:87 .\templates\main\transactions.html:13 +#: .\main\models.py:76 .\main\templates\main\category.html:24 +#: .\main\templates\main\index.html:14 .\main\templates\main\index.html:35 +#: .\main\templates\main\snapshot.html:87 +#: .\main\templates\main\transactions.html:13 msgid "Transactions" msgstr "Transactions" -#: .\models.py:88 .\models.py:105 +#: .\main\models.py:103 .\main\models.py:121 msgid "Invoice" msgstr "Facture" -#: .\models.py:93 +#: .\main\models.py:108 .\main\models.py:153 msgid "File" msgstr "Fichier" -#: .\models.py:106 .\templates\main\transaction.html:23 +#: .\main\models.py:122 .\main\templates\main\transaction.html:23 msgid "Invoices" msgstr "Factures" -#: .\models.py:230 .\templates\main\base.html:40 +#: .\main\models.py:261 .\main\templates\main\base.html:40 msgid "Snapshot" msgstr "Relevé" -#: .\models.py:231 .\templates\main\index.html:28 +#: .\main\models.py:262 .\main\templates\main\index.html:28 msgid "Snapshots" msgstr "Relevés" -#: .\templates\main\index.html:33 +#: .\main\templates\main\base.html:44 .\main\templates\main\base.html:45 +msgid "Search" +msgstr "Rechercher" + +#: .\main\templates\main\index.html:34 msgid "Difference" msgstr "Différence" -#: .\templates\main\index.html:35 +#: .\main\templates\main\index.html:36 msgid "Valid" msgstr "Valide" -#: .\templates\main\login.html:12 .\templates\main\login.html:31 +#: .\main\templates\main\login.html:12 .\main\templates\main\login.html:31 msgid "Log In" msgstr "Se connecter" -#: .\templates\main\tag\form_buttons.html:4 -#: .\templates\main\transaction.html:29 +#: .\main\templates\main\tag\form_buttons.html:4 +#: .\main\templates\main\transaction.html:29 msgid "Delete" msgstr "Supprimer" -#: .\templates\main\tag\form_buttons.html:14 +#: .\main\templates\main\tag\form_buttons.html:14 msgid "Save" msgstr "Enregistrer" -#: .\templates\main\transaction.html:36 +#: .\main\templates\main\transaction.html:36 msgid "Add invoice" msgstr "Ajouter une facture" -#: .\templates\main\transaction.html:41 +#: .\main\templates\main\transaction.html:41 msgid "Add" msgstr "Ajouter" diff --git a/nummi/nummi/settings.py b/nummi/nummi/settings.py index 52da9aa..73cd510 100644 --- a/nummi/nummi/settings.py +++ b/nummi/nummi/settings.py @@ -110,13 +110,12 @@ AUTH_PASSWORD_VALIDATORS = [ # https://docs.djangoproject.com/en/4.0/topics/i18n/ LANGUAGE_CODE = "fr-fr" - TIME_ZONE = "CET" - USE_I18N = True - USE_TZ = True - +LOCALE_PATHS = [ + "locale", +] # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/4.0/howto/static-files/