diff --git a/nummi/locale/fr_fr/LC_MESSAGES/django.mo b/nummi/locale/fr_fr/LC_MESSAGES/django.mo new file mode 100644 index 0000000..75a8c0e Binary files /dev/null and b/nummi/locale/fr_fr/LC_MESSAGES/django.mo differ diff --git a/nummi/locale/fr_fr/LC_MESSAGES/django.po b/nummi/locale/fr_fr/LC_MESSAGES/django.po new file mode 100644 index 0000000..4bbca6e --- /dev/null +++ b/nummi/locale/fr_fr/LC_MESSAGES/django.po @@ -0,0 +1,315 @@ +# Nummi. +# Copyright (C) 2023 +# This file is distributed under the same license as the Nummi package. +# edpibu , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: alpha\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-04-22 14:45+0200\n" +"PO-Revision-Date: 2023-04-22 14:46+0200\n" +"Last-Translator: Edgar P. Burkhart \n" +"Language-Team: \n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.2.2\n" + +#: .\account\models.py:11 .\account\models.py:37 .\account\models.py:45 +#: .\statement\templates\statement\statement_table.html:24 +#: .\transaction\models.py:48 +#: .\transaction\templates\transaction\transaction_table.html:35 +msgid "Account" +msgstr "Compte" + +#: .\account\models.py:11 .\category\models.py:12 .\transaction\models.py:19 +#: .\transaction\models.py:89 +#: .\transaction\templates\transaction\invoice_table.html:9 +#: .\transaction\templates\transaction\transaction_table.html:28 +msgid "Name" +msgstr "Nom" + +#: .\account\models.py:15 .\category\models.py:17 +msgid "Icon" +msgstr "Icône" + +#: .\account\models.py:17 +msgid "Default" +msgstr "Défaut" + +#: .\account\models.py:38 .\main\templates\main\index.html:16 +msgid "Accounts" +msgstr "Comptes" + +#: .\account\templates\account\account_form.html:5 +#: .\main\templates\main\base.html:50 +msgid "Create account" +msgstr "Créer un compte" + +#: .\account\templates\account\account_form.html:8 +msgid "New account" +msgstr "Nouveau compte" + +#: .\account\templates\account\account_form.html:13 +#: .\main\templates\main\base.html:38 .\main\templates\main\index.html:40 +#: .\statement\models.py:90 +#: .\statement\templates\statement\statement_list.html:4 +#: .\statement\templates\statement\statement_list.html:7 +msgid "Statements" +msgstr "Relevés" + +#: .\account\templates\account\account_form.html:15 +#: .\category\templates\category\category_form.html:12 +#: .\main\templates\main\base.html:44 .\main\templates\main\index.html:26 +#: .\statement\templates\statement\statement_form.html:27 +#: .\statement\templates\statement\statement_table.html:28 +#: .\transaction\models.py:83 +#: .\transaction\templates\transaction\transaction_list.html:4 +#: .\transaction\templates\transaction\transaction_list.html:7 +msgid "Transactions" +msgstr "Transactions" + +#: .\account\templates\account\account_form.html:18 +#: .\category\templates\category\category_form.html:15 +#: .\main\templates\main\index.html:44 +msgid "History" +msgstr "Historique" + +#: .\category\models.py:12 .\category\models.py:32 +#: .\category\templates\category\category_plot.html:14 +#: .\transaction\models.py:38 +#: .\transaction\templates\transaction\transaction_table.html:32 +msgid "Category" +msgstr "Catégorie" + +#: .\category\models.py:19 +msgid "Budget" +msgstr "Budget" + +#: .\category\models.py:33 .\main\templates\main\index.html:30 +#: .\statement\templates\statement\statement_form.html:23 +msgid "Categories" +msgstr "Catégories" + +#: .\category\templates\category\category_form.html:5 +#: .\main\templates\main\base.html:60 +msgid "Create category" +msgstr "Créer une catégorie" + +#: .\category\templates\category\category_form.html:8 +msgid "New category" +msgstr "Nouvelle catégorie" + +#: .\category\templates\category\category_plot.html:15 +#: .\history\templates\history\plot.html:16 +msgid "Expenses" +msgstr "Dépenses" + +#: .\category\templates\category\category_plot.html:16 +#: .\history\templates\history\plot.html:17 +msgid "Income" +msgstr "Revenus" + +#: .\history\templates\history\plot.html:15 +msgid "Month" +msgstr "Mois" + +#: .\main\models.py:10 +msgid "User" +msgstr "Utilisateur" + +#: .\main\templates\main\base.html:27 +msgid "Skip to main content" +msgstr "Aller au contenu principal" + +#: .\main\templates\main\base.html:33 +msgid "Home" +msgstr "Accueil" + +#: .\main\templates\main\base.html:55 +#: .\statement\templates\statement\statement_form.html:5 +#: .\statement\templates\statement\statement_table.html:5 +msgid "Create statement" +msgstr "Créer un relevé" + +#: .\main\templates\main\base.html:65 +#: .\transaction\templates\transaction\transaction_form.html:5 +#: .\transaction\templates\transaction\transaction_table.html:5 +msgid "Create transaction" +msgstr "Créer une transaction" + +#: .\main\templates\main\base.html:70 .\main\templates\main\list.html:10 +#: .\main\templates\main\list.html:36 .\search\forms.py:7 +#: .\search\templates\search\search.html:6 +#: .\search\templates\search\search.html:18 +#: .\search\templates\search\search_form.html:5 +msgid "Search" +msgstr "Rechercher" + +#: .\main\templates\main\base.html:73 +msgid "Log out" +msgstr "Se déconnecter" + +#: .\main\templates\main\base.html:78 .\main\templates\main\form\login.html:6 +#: .\main\templates\main\login.html:14 +msgid "Log in" +msgstr "Se connecter" + +#: .\main\templates\main\base.html:84 +#, python-format +msgid "Logged in as %(user)s" +msgstr "Connecté en tant que %(user)s" + +#: .\main\templates\main\confirm_delete.html:19 +#, python-format +msgid "Are you sure you want do delete %(object)s ?" +msgstr "Êtes-vous sûr de vouloir supprimer %(object)s ?" + +#: .\main\templates\main\confirm_delete.html:23 +msgid "Cancel" +msgstr "Annuler" + +#: .\main\templates\main\confirm_delete.html:24 +msgid "Confirm" +msgstr "Confirmer" + +#: .\main\templates\main\form\fileinput.html:8 .\statement\models.py:42 +#: .\transaction\models.py:94 +#: .\transaction\templates\transaction\invoice_table.html:10 +#: .\transaction\templates\transaction\invoice_table.html:20 +msgid "File" +msgstr "Fichier" + +#: .\main\templates\main\form\form_base.html:30 +#: .\transaction\templates\transaction\invoice_table.html:11 +#: .\transaction\templates\transaction\invoice_table.html:23 +msgid "Delete" +msgstr "Supprimer" + +#: .\main\templates\main\form\form_base.html:32 +msgid "Reset" +msgstr "Réinitialiser" + +#: .\main\templates\main\form\form_base.html:34 +msgid "Create" +msgstr "Créer" + +#: .\main\templates\main\form\form_base.html:36 +msgid "Save" +msgstr "Sauvegarder" + +#: .\statement\forms.py:28 +msgid "Add transactions" +msgstr "Ajouter des transactions" + +#: .\statement\models.py:15 +msgid "End date" +msgstr "Date de fin" + +#: .\statement\models.py:17 +msgid "Start date" +msgstr "Date de début" + +#: .\statement\models.py:20 +msgid "End value" +msgstr "Valeur finale" + +#: .\statement\models.py:23 +msgid "Start value" +msgstr "Valeur initiale" + +#: .\statement\models.py:29 +#: .\statement\templates\statement\statement_table.html:27 +msgid "Difference" +msgstr "Différence" + +#: .\statement\models.py:36 +msgid "Transaction difference" +msgstr "Différence des transactions" + +#: .\statement\models.py:49 +#, python-format +msgid "%(date)s statement" +msgstr "Relevé du %(date)s" + +#: .\statement\models.py:89 .\transaction\models.py:43 +msgid "Statement" +msgstr "Relevé" + +#: .\statement\templates\statement\statement_form.html:8 +msgid "New statement" +msgstr "Nouveau relevé" + +#: .\statement\templates\statement\statement_table.html:22 +#: .\transaction\models.py:25 +#: .\transaction\templates\transaction\transaction_table.html:27 +msgid "Date" +msgstr "Date" + +#: .\statement\templates\statement\statement_table.html:26 +#: .\transaction\models.py:23 +#: .\transaction\templates\transaction\transaction_table.html:29 +msgid "Value" +msgstr "Valeur" + +#: .\statement\templates\statement\statement_table.html:56 +#: .\transaction\templates\transaction\transaction_table.html:71 +msgid "No transaction" +msgstr "Aucune transaction" + +#: .\statement\templates\statement\statement_table.html:64 +msgid "View all statements" +msgstr "Voir tous les relevés" + +#: .\transaction\models.py:19 .\transaction\models.py:82 +msgid "Transaction" +msgstr "Transaction" + +#: .\transaction\models.py:21 +msgid "Description" +msgstr "Description" + +#: .\transaction\models.py:26 +msgid "Real date" +msgstr "Date réelle" + +#: .\transaction\models.py:28 +#: .\transaction\templates\transaction\transaction_table.html:30 +msgid "Trader" +msgstr "Commerçant" + +#: .\transaction\models.py:31 +msgid "Payment" +msgstr "Paiement" + +#: .\transaction\models.py:89 .\transaction\models.py:122 +msgid "Invoice" +msgstr "Facture" + +#: .\transaction\models.py:123 +#: .\transaction\templates\transaction\transaction_form.html:19 +msgid "Invoices" +msgstr "Factures" + +#: .\transaction\templates\transaction\invoice_form.html:4 +#: .\transaction\templates\transaction\invoice_table.html:35 +msgid "Create invoice" +msgstr "Créer une facture" + +#: .\transaction\templates\transaction\invoice_form.html:7 +msgid "New invoice" +msgstr "Nouvelle facture" + +#: .\transaction\templates\transaction\invoice_table.html:28 +msgid "No invoice" +msgstr "Aucune facture" + +#: .\transaction\templates\transaction\transaction_form.html:8 +msgid "New transaction" +msgstr "Nouvelle transaction" + +#: .\transaction\templates\transaction\transaction_table.html:80 +msgid "View all transactions" +msgstr "Voir toutes les transactions" diff --git a/nummi/main/locale/fr/LC_MESSAGES/django.mo b/nummi/main/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index a7f3afa..0000000 Binary files a/nummi/main/locale/fr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/nummi/main/locale/fr/LC_MESSAGES/django.po b/nummi/main/locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index a2c06f1..0000000 --- a/nummi/main/locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -1,324 +0,0 @@ -# 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: 2023-04-22 09:41+0200\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" - -#: .\forms.py:95 -msgid "Add transactions" -msgstr "Ajouter des transactions" - -#: .\forms.py:113 .\templates\main\base.html:70 -#: .\templates\main\form\search.html:5 .\templates\main\list\transaction.html:9 -#: .\templates\main\list\transaction.html:26 .\templates\main\search.html:6 -#: .\templates\main\search.html:18 -msgid "Search" -msgstr "Rechercher" - -#: .\models.py:18 -msgid "User" -msgstr "Utilisateur" - -#: .\models.py:37 .\models.py:71 .\models.py:79 .\models.py:229 -#: .\templates\main\table\snapshot.html:24 -#: .\templates\main\table\transaction.html:35 -msgid "Account" -msgstr "Compte" - -#: .\models.py:37 .\models.py:89 .\models.py:200 .\models.py:270 -#: .\templates\main\table\invoice.html:9 -#: .\templates\main\table\transaction.html:28 -msgid "Name" -msgstr "Nom" - -#: .\models.py:41 .\models.py:94 -msgid "Icon" -msgstr "Icône" - -#: .\models.py:43 -msgid "Default" -msgstr "Défaut" - -#: .\models.py:72 .\templates\main\index.html:16 -msgid "Accounts" -msgstr "Comptes" - -#: .\models.py:89 .\models.py:113 .\models.py:219 -#: .\templates\main\plot\category.html:14 -#: .\templates\main\table\transaction.html:32 -msgid "Category" -msgstr "Catégorie" - -#: .\models.py:96 -msgid "Budget" -msgstr "Budget" - -#: .\models.py:114 .\templates\main\form\snapshot.html:23 -#: .\templates\main\index.html:30 -msgid "Categories" -msgstr "Catégories" - -#: .\models.py:119 -msgid "End date" -msgstr "Date de fin" - -#: .\models.py:121 -msgid "Start date" -msgstr "Date de début" - -#: .\models.py:124 -msgid "End value" -msgstr "Valeur de fin" - -#: .\models.py:127 -msgid "Start value" -msgstr "Valeur de début" - -#: .\models.py:133 .\templates\main\table\snapshot.html:27 -msgid "Difference" -msgstr "Différence" - -#: .\models.py:140 -msgid "Transaction difference" -msgstr "Différence des transactions" - -#: .\models.py:146 .\models.py:275 .\templates\main\form\fileinput.html:8 -#: .\templates\main\table\invoice.html:10 -#: .\templates\main\table\invoice.html:21 -msgid "File" -msgstr "Fichier" - -#: .\models.py:153 -#, python-format -msgid "%(date)s statement" -msgstr "Relevé du %(date)s" - -#: .\models.py:193 .\models.py:224 -msgid "Statement" -msgstr "Relevé" - -#: .\models.py:194 .\templates\main\form\account.html:13 -#: .\templates\main\list\snapshot.html:6 .\templates\main\list\snapshot.html:20 -msgid "Statements" -msgstr "Relevés" - -#: .\models.py:200 .\models.py:263 -msgid "Transaction" -msgstr "Transaction" - -#: .\models.py:202 -msgid "Description" -msgstr "Description" - -#: .\models.py:204 .\templates\main\table\snapshot.html:26 -#: .\templates\main\table\transaction.html:29 -msgid "Value" -msgstr "Valeur" - -#: .\models.py:206 .\templates\main\table\snapshot.html:22 -#: .\templates\main\table\transaction.html:27 -msgid "Date" -msgstr "Date" - -#: .\models.py:207 -msgid "Real date" -msgstr "Date réelle" - -#: .\models.py:209 .\templates\main\table\transaction.html:30 -msgid "Trader" -msgstr "Commerçant" - -#: .\models.py:212 -msgid "Payment" -msgstr "Paiement" - -#: .\models.py:264 .\templates\main\base.html:44 -#: .\templates\main\form\account.html:17 .\templates\main\form\category.html:13 -#: .\templates\main\form\snapshot.html:27 .\templates\main\index.html:26 -#: .\templates\main\list\transaction.html:6 -#: .\templates\main\list\transaction.html:23 -#: .\templates\main\month\transaction.html:15 -#: .\templates\main\table\snapshot.html:28 -msgid "Transactions" -msgstr "Transactions" - -#: .\models.py:270 .\models.py:307 -msgid "Invoice" -msgstr "Facture" - -#: .\models.py:308 .\templates\main\form\transaction.html:18 -msgid "Invoices" -msgstr "Factures" - -#: .\templates\main\base.html:27 -msgid "Skip to main content" -msgstr "Aller au contenu principal" - -#: .\templates\main\base.html:33 -msgid "Home" -msgstr "Accueil" - -#: .\templates\main\base.html:38 .\templates\main\index.html:40 -msgid "Snapshots" -msgstr "Relevés" - -#: .\templates\main\base.html:50 .\templates\main\form\account.html:5 -msgid "Create account" -msgstr "Créer un compte" - -#: .\templates\main\base.html:55 .\templates\main\form\snapshot.html:5 -msgid "Create snapshot" -msgstr "Créer un relevé" - -#: .\templates\main\base.html:60 .\templates\main\form\category.html:5 -msgid "Create category" -msgstr "Créer une catégorie" - -#: .\templates\main\base.html:65 .\templates\main\form\transaction.html:4 -#: .\templates\main\table\transaction.html:5 -msgid "Create transaction" -msgstr "Créer une transaction" - -#: .\templates\main\base.html:73 -msgid "Log out" -msgstr "Se déconnecter" - -#: .\templates\main\base.html:78 .\templates\main\form\login.html:6 -msgid "Log in" -msgstr "Se connecter" - -#: .\templates\main\base.html:83 -msgid "Logged in as %(user)s" -msgstr "Connecté en tant que %(user)s" - -#: .\templates\main\confirm_delete.html:19 -#, python-format -msgid "Are you sure you want do delete %(object)s ?" -msgstr "Êtes-vous sûr de vouloir supprimer %(object)s ?" - -#: .\templates\main\confirm_delete.html:23 -msgid "Cancel" -msgstr "Annuler" - -#: .\templates\main\confirm_delete.html:24 -msgid "Confirm" -msgstr "Confirmer" - -#: .\templates\main\form\account.html:8 -msgid "New account" -msgstr "Nouveau compte" - -#: .\templates\main\form\account.html:19 .\templates\main\form\category.html:15 -#: .\templates\main\index.html:44 -msgid "History" -msgstr "Historique" - -#: .\templates\main\form\category.html:8 -msgid "New category" -msgstr "Nouvelle catégorie" - -#: .\templates\main\form\form_base.html:29 -#: .\templates\main\table\invoice.html:11 -#: .\templates\main\table\invoice.html:24 -msgid "Delete" -msgstr "Supprimer" - -#: .\templates\main\form\form_base.html:31 -msgid "Reset" -msgstr "Réinitialiser" - -#: .\templates\main\form\form_base.html:33 -msgid "Create" -msgstr "Créer" - -#: .\templates\main\form\form_base.html:35 -msgid "Save" -msgstr "Enregistrer" - -#: .\templates\main\form\invoice.html:4 .\templates\main\table\invoice.html:37 -msgid "Create invoice" -msgstr "Créer une facture" - -#: .\templates\main\form\invoice.html:7 -msgid "New invoice" -msgstr "Nouvelle facture" - -#: .\templates\main\form\snapshot.html:8 -msgid "New snapshot" -msgstr "Nouveau relevé" - -#: .\templates\main\form\transaction.html:7 -msgid "New transaction" -msgstr "Nouvelle transaction" - -#: .\templates\main\list\snapshot.html:27 -msgid "No snapshots to show" -msgstr "Aucun relevé à afficher" - -#: .\templates\main\list\transaction.html:33 -msgid "No transactions to show" -msgstr "Aucune transaction à afficher" - -#: .\templates\main\login.html:14 -msgid "Log In" -msgstr "Se connecter" - -#: .\templates\main\plot\category.html:15 .\templates\main\plot\history.html:16 -msgid "Expenses" -msgstr "Dépenses" - -#: .\templates\main\plot\category.html:16 .\templates\main\plot\history.html:17 -msgid "Income" -msgstr "Revenus" - -#: .\templates\main\plot\history.html:15 -msgid "Month" -msgstr "Mois" - -#: .\templates\main\table\invoice.html:30 -msgid "No invoice" -msgstr "Aucune facture" - -#: .\templates\main\table\snapshot.html:5 -msgid "Create statement" -msgstr "Créer un relevé" - -#: .\templates\main\table\snapshot.html:60 -msgid "View all statements" -msgstr "Voir tous les relevés" - -#: .\templates\main\table\transaction.html:73 -msgid "View all transactions" -msgstr "Voir toutes les transactions" - -#~ msgid "New statement" -#~ msgstr "Nouveau relevé" - -#~ msgid "Create Account" -#~ msgstr "Créer Compte" - -#~ msgid "Create Snapshot" -#~ msgstr "Créer Relevé" - -#~ msgid "Create Category" -#~ msgstr "Créer Catégorie" - -#~ msgid "Create Transaction" -#~ msgstr "Créer Transaction" - -#, python-format -#~ msgid "Create %(name)s" -#~ msgstr "Créer %(name)s" diff --git a/nummi/main/templates/main/login.html b/nummi/main/templates/main/login.html index 8cc7cc7..ab579cb 100644 --- a/nummi/main/templates/main/login.html +++ b/nummi/main/templates/main/login.html @@ -11,7 +11,7 @@ type="text/css" /> {% endblock %} {% block body %} -

{% translate "Log In" %}

+

{% translate "Log in" %}

{% csrf_token %} {% include "main/form/login.html" %} diff --git a/nummi/statement/templates/statement/statement_form.html b/nummi/statement/templates/statement/statement_form.html index 06fe238..bb40e07 100644 --- a/nummi/statement/templates/statement/statement_form.html +++ b/nummi/statement/templates/statement/statement_form.html @@ -2,10 +2,10 @@ {% load main_extras %} {% load i18n %} {% block title_new %} - {% translate "Create snapshot" %} + {% translate "Create statement" %} {% endblock %} {% block h2_new %} - {% translate "New snapshot" %} + {% translate "New statement" %} {% endblock %} {% block h2 %} {{ form.instance.sum|check:form.instance.diff }}