Set x axis label to "days" in StatsPanel for in-month stats
This commit is contained in:
parent
f5f787aeec
commit
223106fbfc
Binary file not shown.
|
@ -2,7 +2,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-02-26 09:14+0100\n"
|
||||
"POT-Creation-Date: 2012-03-20 09:31+0100\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Soutadé <soutade@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
|
@ -19,7 +19,7 @@ msgstr ""
|
|||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#: src/view/StatsPanel.cpp:415
|
||||
#: src/view/StatsPanel.cpp:416
|
||||
msgid " - "
|
||||
msgstr " - "
|
||||
|
||||
|
@ -71,7 +71,7 @@ msgstr "%d comptes"
|
|||
msgid "%d categories"
|
||||
msgstr "%d catégories"
|
||||
|
||||
#: src/view/StatsPanel.cpp:355
|
||||
#: src/view/StatsPanel.cpp:360
|
||||
msgid "0 line"
|
||||
msgstr "Limite 0"
|
||||
|
||||
|
@ -90,7 +90,7 @@ msgstr "Compte"
|
|||
msgid "Account "
|
||||
msgstr "Le compte "
|
||||
|
||||
#: src/controller/KissCount.cpp:345
|
||||
#: src/controller/KissCount.cpp:344
|
||||
msgid "Account 1"
|
||||
msgstr "Compte 1"
|
||||
|
||||
|
@ -103,7 +103,7 @@ msgstr "Nom du compte"
|
|||
msgid "Account number"
|
||||
msgstr "Numéro de compte"
|
||||
|
||||
#: src/view/StatsPanel.cpp:354
|
||||
#: src/view/StatsPanel.cpp:359
|
||||
#: src/view/PreferencesPanel.cpp:47
|
||||
msgid "Accounts"
|
||||
msgstr "Comptes"
|
||||
|
@ -112,7 +112,7 @@ msgstr "Comptes"
|
|||
msgid "Accounts updated until "
|
||||
msgstr "Comptes mis à jours jusqu'à "
|
||||
|
||||
#: src/view/StatsPanel.cpp:339
|
||||
#: src/view/StatsPanel.cpp:337
|
||||
msgid "Amount"
|
||||
msgstr "Montant"
|
||||
|
||||
|
@ -138,7 +138,7 @@ msgstr "Format de fichier non reconnu"
|
|||
msgid "Are you sure want to delete "
|
||||
msgstr "Etes vous sûr de vouloir supprimer "
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:757
|
||||
#: src/view/grid/GridAccount.cpp:776
|
||||
msgid "Are you sure want to delete : \n"
|
||||
msgstr "Etes vous sûr de vouloir supprimer : \n"
|
||||
|
||||
|
@ -168,17 +168,17 @@ msgstr "Bloqué"
|
|||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:1247
|
||||
#: src/view/grid/GridAccount.cpp:1260
|
||||
#: src/view/grid/GridAccount.cpp:1266
|
||||
#: src/view/grid/GridAccount.cpp:1279
|
||||
msgid "Cannot group these operations"
|
||||
msgstr "Impossible de grouper ces opérations"
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:1391
|
||||
#: src/view/grid/GridAccount.cpp:1397
|
||||
#: src/view/grid/GridAccount.cpp:1410
|
||||
#: src/view/grid/GridAccount.cpp:1416
|
||||
msgid "Cannot ungroup these operations"
|
||||
msgstr "Impossible de dégrouper ces opérations"
|
||||
|
||||
#: src/controller/KissCount.cpp:336
|
||||
#: src/controller/KissCount.cpp:335
|
||||
msgid "Car"
|
||||
msgstr "Voiture"
|
||||
|
||||
|
@ -286,6 +286,10 @@ msgstr "Date min"
|
|||
msgid "Date to"
|
||||
msgstr "Date max"
|
||||
|
||||
#: src/view/StatsPanel.cpp:351
|
||||
msgid "Days"
|
||||
msgstr "Jours"
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:72
|
||||
msgid "Debit"
|
||||
msgstr "Débit"
|
||||
|
@ -313,7 +317,7 @@ msgstr "Description"
|
|||
msgid "Enter a new description"
|
||||
msgstr "Nouvelle description"
|
||||
|
||||
#: src/view/StatsPanel.cpp:430
|
||||
#: src/view/StatsPanel.cpp:431
|
||||
#: src/view/UsersDialog.cpp:90
|
||||
#: src/view/UsersDialog.cpp:120
|
||||
#: src/view/SearchBanner.cpp:149
|
||||
|
@ -335,10 +339,10 @@ msgstr "Nouvelle description"
|
|||
#: src/view/PasswordDialog.cpp:64
|
||||
#: src/view/PasswordDialog.cpp:70
|
||||
#: src/view/AccountPanel.cpp:970
|
||||
#: src/view/grid/GridAccount.cpp:1247
|
||||
#: src/view/grid/GridAccount.cpp:1260
|
||||
#: src/view/grid/GridAccount.cpp:1391
|
||||
#: src/view/grid/GridAccount.cpp:1397
|
||||
#: src/view/grid/GridAccount.cpp:1266
|
||||
#: src/view/grid/GridAccount.cpp:1279
|
||||
#: src/view/grid/GridAccount.cpp:1410
|
||||
#: src/view/grid/GridAccount.cpp:1416
|
||||
#: src/view/grid/FormulaDelegate.cpp:59
|
||||
#: src/model/Database.cpp:57
|
||||
#: src/model/Database.cpp:65
|
||||
|
@ -381,8 +385,8 @@ msgid "Final value"
|
|||
msgstr "Valeur finale"
|
||||
|
||||
#: src/view/SearchBanner.cpp:70
|
||||
#: src/view/grid/GridAccount.cpp:342
|
||||
#: src/controller/KissCount.cpp:336
|
||||
#: src/view/grid/GridAccount.cpp:359
|
||||
#: src/controller/KissCount.cpp:335
|
||||
msgid "Fix"
|
||||
msgstr "Fixe"
|
||||
|
||||
|
@ -411,7 +415,7 @@ msgstr "Générer mois"
|
|||
msgid "Grisbi files (*.gsb)"
|
||||
msgstr "Fichiers Grisbi (*.gsb)"
|
||||
|
||||
#: src/controller/KissCount.cpp:336
|
||||
#: src/controller/KissCount.cpp:335
|
||||
msgid "Groceries"
|
||||
msgstr "Courses"
|
||||
|
||||
|
@ -423,7 +427,7 @@ msgstr "Grouper"
|
|||
msgid "Hidden"
|
||||
msgstr "Caché"
|
||||
|
||||
#: src/controller/KissCount.cpp:336
|
||||
#: src/controller/KissCount.cpp:335
|
||||
msgid "Hobbies"
|
||||
msgstr "Loisirs"
|
||||
|
||||
|
@ -479,7 +483,7 @@ msgstr "Ancien mot de passe invalide"
|
|||
msgid "Invalid password"
|
||||
msgstr "Mot de passe invalide"
|
||||
|
||||
#: src/view/StatsPanel.cpp:430
|
||||
#: src/view/StatsPanel.cpp:431
|
||||
msgid "Invalide date range"
|
||||
msgstr "Intervalle de temps invalide"
|
||||
|
||||
|
@ -541,7 +545,7 @@ msgstr "Charger les opérations"
|
|||
msgid "Mode"
|
||||
msgstr "Mode"
|
||||
|
||||
#: src/view/StatsPanel.cpp:338
|
||||
#: src/view/StatsPanel.cpp:348
|
||||
msgid "Months"
|
||||
msgstr "Mois"
|
||||
|
||||
|
@ -606,7 +610,7 @@ msgstr "Non rapprochée"
|
|||
msgid "Number"
|
||||
msgstr "Numéro de compte"
|
||||
|
||||
#: src/model/import/OFXImportEngine.cpp:140
|
||||
#: src/model/import/OFXImportEngine.cpp:141
|
||||
msgid "OFX files (*.ofx)"
|
||||
msgstr "Fichiers OFX (*.ofx)"
|
||||
|
||||
|
@ -637,7 +641,7 @@ msgstr "les opérations ont été importées avec succès"
|
|||
msgid "Operations successfuly saved"
|
||||
msgstr "Opérations sauvegardées avec succès"
|
||||
|
||||
#: src/controller/KissCount.cpp:337
|
||||
#: src/controller/KissCount.cpp:336
|
||||
msgid "Other"
|
||||
msgstr "Autres"
|
||||
|
||||
|
@ -649,7 +653,7 @@ msgstr "Mot de passe "
|
|||
msgid "Password changed"
|
||||
msgstr "Mot de passe changé"
|
||||
|
||||
#: src/view/wxUI.cpp:265
|
||||
#: src/view/wxUI.cpp:287
|
||||
msgid ""
|
||||
"Personal accounting software\n"
|
||||
"\n"
|
||||
|
@ -676,7 +680,7 @@ msgstr "Re entrez le mot de passe"
|
|||
msgid "Preferences"
|
||||
msgstr "Préférences"
|
||||
|
||||
#: src/view/wxUI.cpp:270
|
||||
#: src/view/wxUI.cpp:292
|
||||
msgid "Quit KissCount ?"
|
||||
msgstr "Quitter KissCount ?"
|
||||
|
||||
|
@ -707,8 +711,8 @@ msgstr "Chercher"
|
|||
msgid "Shared with"
|
||||
msgstr "Partagé avec"
|
||||
|
||||
#: src/view/StatsPanel.cpp:212
|
||||
#: src/view/StatsPanel.cpp:415
|
||||
#: src/view/StatsPanel.cpp:215
|
||||
#: src/view/StatsPanel.cpp:416
|
||||
msgid "Statistics"
|
||||
msgstr "Statistiques"
|
||||
|
||||
|
@ -742,7 +746,7 @@ msgstr "Impossible de créer "
|
|||
msgid "Unable to open Database"
|
||||
msgstr "Impossible d'ouvrir la base de données"
|
||||
|
||||
#: src/controller/KissCount.cpp:337
|
||||
#: src/controller/KissCount.cpp:336
|
||||
msgid "Unexpected"
|
||||
msgstr "Exceptionnel"
|
||||
|
||||
|
@ -794,7 +798,7 @@ msgstr "Utilisateurs"
|
|||
msgid "Virtual"
|
||||
msgstr "Virtuel"
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:1053
|
||||
#: src/view/grid/GridAccount.cpp:1072
|
||||
msgid "Warning"
|
||||
msgstr "Attention"
|
||||
|
||||
|
@ -806,55 +810,55 @@ msgstr "Quel compte va remplacer celui-ci ?"
|
|||
msgid "Wich category will replace this one ?"
|
||||
msgstr "Quelle catégorie va remplacer celle-ci"
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:1053
|
||||
#: src/view/grid/GridAccount.cpp:1072
|
||||
msgid "You made a debit on a blocked account"
|
||||
msgstr "Vous avez effectué une opération de débit sur un compte bloqué"
|
||||
|
||||
#: src/view/wxUI.cpp:135
|
||||
#: src/view/wxUI.cpp:157
|
||||
msgid "april"
|
||||
msgstr "avril"
|
||||
|
||||
#: src/view/wxUI.cpp:139
|
||||
#: src/view/wxUI.cpp:161
|
||||
msgid "august"
|
||||
msgstr "août"
|
||||
|
||||
#: src/view/wxUI.cpp:143
|
||||
#: src/view/wxUI.cpp:165
|
||||
msgid "december"
|
||||
msgstr "décembre"
|
||||
|
||||
#: src/view/wxUI.cpp:133
|
||||
#: src/view/wxUI.cpp:155
|
||||
msgid "february"
|
||||
msgstr "février"
|
||||
|
||||
#: src/view/wxUI.cpp:132
|
||||
#: src/view/wxUI.cpp:154
|
||||
msgid "january"
|
||||
msgstr "janvier"
|
||||
|
||||
#: src/view/wxUI.cpp:138
|
||||
#: src/view/wxUI.cpp:160
|
||||
msgid "july"
|
||||
msgstr "juillet"
|
||||
|
||||
#: src/view/wxUI.cpp:137
|
||||
#: src/view/wxUI.cpp:159
|
||||
msgid "june"
|
||||
msgstr "juin"
|
||||
|
||||
#: src/view/wxUI.cpp:134
|
||||
#: src/view/wxUI.cpp:156
|
||||
msgid "march"
|
||||
msgstr "mars"
|
||||
|
||||
#: src/view/wxUI.cpp:136
|
||||
#: src/view/wxUI.cpp:158
|
||||
msgid "may"
|
||||
msgstr "mai"
|
||||
|
||||
#: src/view/wxUI.cpp:142
|
||||
#: src/view/wxUI.cpp:164
|
||||
msgid "november"
|
||||
msgstr "novembre"
|
||||
|
||||
#: src/view/wxUI.cpp:141
|
||||
#: src/view/wxUI.cpp:163
|
||||
msgid "october"
|
||||
msgstr "octobre"
|
||||
|
||||
#: src/view/wxUI.cpp:140
|
||||
#: src/view/wxUI.cpp:162
|
||||
msgid "september"
|
||||
msgstr "septembre"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-02-26 14:03+0100\n"
|
||||
"POT-Creation-Date: 2012-03-20 09:31+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -17,7 +17,7 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: src/view/StatsPanel.cpp:415
|
||||
#: src/view/StatsPanel.cpp:416
|
||||
msgid " - "
|
||||
msgstr ""
|
||||
|
||||
|
@ -65,7 +65,7 @@ msgstr ""
|
|||
msgid "%d categories"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/StatsPanel.cpp:355
|
||||
#: src/view/StatsPanel.cpp:360
|
||||
msgid "0 line"
|
||||
msgstr ""
|
||||
|
||||
|
@ -93,7 +93,7 @@ msgstr ""
|
|||
msgid "Account number"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/StatsPanel.cpp:354 src/view/PreferencesPanel.cpp:47
|
||||
#: src/view/StatsPanel.cpp:359 src/view/PreferencesPanel.cpp:47
|
||||
msgid "Accounts"
|
||||
msgstr ""
|
||||
|
||||
|
@ -101,7 +101,7 @@ msgstr ""
|
|||
msgid "Accounts updated until "
|
||||
msgstr ""
|
||||
|
||||
#: src/view/StatsPanel.cpp:339
|
||||
#: src/view/StatsPanel.cpp:337
|
||||
msgid "Amount"
|
||||
msgstr ""
|
||||
|
||||
|
@ -125,7 +125,7 @@ msgstr ""
|
|||
msgid "Are you sure want to delete "
|
||||
msgstr ""
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:757
|
||||
#: src/view/grid/GridAccount.cpp:776
|
||||
msgid "Are you sure want to delete : \n"
|
||||
msgstr ""
|
||||
|
||||
|
@ -154,11 +154,11 @@ msgstr ""
|
|||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:1247 src/view/grid/GridAccount.cpp:1260
|
||||
#: src/view/grid/GridAccount.cpp:1266 src/view/grid/GridAccount.cpp:1279
|
||||
msgid "Cannot group these operations"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:1391 src/view/grid/GridAccount.cpp:1397
|
||||
#: src/view/grid/GridAccount.cpp:1410 src/view/grid/GridAccount.cpp:1416
|
||||
msgid "Cannot ungroup these operations"
|
||||
msgstr ""
|
||||
|
||||
|
@ -264,6 +264,10 @@ msgstr ""
|
|||
msgid "Date to"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/StatsPanel.cpp:351
|
||||
msgid "Days"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:72
|
||||
msgid "Debit"
|
||||
msgstr ""
|
||||
|
@ -289,7 +293,7 @@ msgstr ""
|
|||
msgid "Enter a new description"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/StatsPanel.cpp:430 src/view/UsersDialog.cpp:90
|
||||
#: src/view/StatsPanel.cpp:431 src/view/UsersDialog.cpp:90
|
||||
#: src/view/UsersDialog.cpp:120 src/view/SearchBanner.cpp:149
|
||||
#: src/view/SearchBanner.cpp:159 src/view/SearchBanner.cpp:172
|
||||
#: src/view/SearchBanner.cpp:181 src/view/ImportPanel.cpp:170
|
||||
|
@ -300,8 +304,8 @@ msgstr ""
|
|||
#: src/view/PreferencesPanel.cpp:1032 src/view/PreferencesPanel.cpp:1038
|
||||
#: src/view/PreferencesPanel.cpp:1078 src/view/PasswordDialog.cpp:64
|
||||
#: src/view/PasswordDialog.cpp:70 src/view/AccountPanel.cpp:970
|
||||
#: src/view/grid/GridAccount.cpp:1247 src/view/grid/GridAccount.cpp:1260
|
||||
#: src/view/grid/GridAccount.cpp:1391 src/view/grid/GridAccount.cpp:1397
|
||||
#: src/view/grid/GridAccount.cpp:1266 src/view/grid/GridAccount.cpp:1279
|
||||
#: src/view/grid/GridAccount.cpp:1410 src/view/grid/GridAccount.cpp:1416
|
||||
#: src/view/grid/FormulaDelegate.cpp:59 src/model/Database.cpp:57
|
||||
#: src/model/Database.cpp:65 src/model/Database.cpp:84
|
||||
#: src/model/Database.cpp:112 src/model/Database.cpp:118
|
||||
|
@ -336,7 +340,7 @@ msgstr ""
|
|||
msgid "Final value"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/SearchBanner.cpp:70 src/view/grid/GridAccount.cpp:342
|
||||
#: src/view/SearchBanner.cpp:70 src/view/grid/GridAccount.cpp:359
|
||||
#: src/controller/KissCount.cpp:335
|
||||
msgid "Fix"
|
||||
msgstr ""
|
||||
|
@ -433,7 +437,7 @@ msgstr ""
|
|||
msgid "Invalid password"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/StatsPanel.cpp:430
|
||||
#: src/view/StatsPanel.cpp:431
|
||||
msgid "Invalide date range"
|
||||
msgstr ""
|
||||
|
||||
|
@ -492,7 +496,7 @@ msgstr ""
|
|||
msgid "Mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/StatsPanel.cpp:338
|
||||
#: src/view/StatsPanel.cpp:348
|
||||
msgid "Months"
|
||||
msgstr ""
|
||||
|
||||
|
@ -549,7 +553,7 @@ msgstr ""
|
|||
msgid "Number"
|
||||
msgstr ""
|
||||
|
||||
#: src/model/import/OFXImportEngine.cpp:140
|
||||
#: src/model/import/OFXImportEngine.cpp:141
|
||||
msgid "OFX files (*.ofx)"
|
||||
msgstr ""
|
||||
|
||||
|
@ -638,7 +642,7 @@ msgstr ""
|
|||
msgid "Shared with"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/StatsPanel.cpp:212 src/view/StatsPanel.cpp:415
|
||||
#: src/view/StatsPanel.cpp:215 src/view/StatsPanel.cpp:416
|
||||
msgid "Statistics"
|
||||
msgstr ""
|
||||
|
||||
|
@ -712,7 +716,7 @@ msgstr ""
|
|||
msgid "Virtual"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:1053
|
||||
#: src/view/grid/GridAccount.cpp:1072
|
||||
msgid "Warning"
|
||||
msgstr ""
|
||||
|
||||
|
@ -724,7 +728,7 @@ msgstr ""
|
|||
msgid "Wich category will replace this one ?"
|
||||
msgstr ""
|
||||
|
||||
#: src/view/grid/GridAccount.cpp:1053
|
||||
#: src/view/grid/GridAccount.cpp:1072
|
||||
msgid "You made a debit on a blocked account"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -334,7 +334,6 @@ void StatsPanel::UpdateStats(int monthFrom, int yearFrom, int monthTo, int yearT
|
|||
KDChart::CartesianAxis *yAxis = new KDChart::CartesianAxis (_plot->lineDiagram());
|
||||
xAxis->setPosition (KDChart::CartesianAxis::Bottom);
|
||||
yAxis->setPosition (KDChart::CartesianAxis::Left);
|
||||
xAxis->setTitleText (_("Months"));
|
||||
yAxis->setTitleText (_("Amount"));
|
||||
|
||||
xAxis->setLabels(xlabels);
|
||||
|
@ -346,7 +345,10 @@ void StatsPanel::UpdateStats(int monthFrom, int yearFrom, int monthTo, int yearT
|
|||
KDChart::TextAttributes axisTextAttr(xAxis->textAttributes());
|
||||
axisTextAttr.setRotation(-60);
|
||||
xAxis->setTextAttributes(axisTextAttr);
|
||||
xAxis->setTitleText (_("Months"));
|
||||
}
|
||||
else
|
||||
xAxis->setTitleText (_("Days"));
|
||||
|
||||
_plot->lineDiagram()->addAxis(xAxis);
|
||||
_plot->lineDiagram()->addAxis(yAxis);
|
||||
|
|
Loading…
Reference in New Issue
Block a user