" % SKGServices::stringToHtml(i18nc("the numerical total of a sum of values", "Total of %1", currentType)) % " | " "" % doc->formatMoney(sumTypeV1, primary) % " |
") % SKGServices::stringToHtml(name) % " | " ""; if (!unitAccountSymbol.isEmpty() && primary.Symbol != unitAccountSymbol) { SKGUnitObject unitAccount(getDocument()); unitAccount.setSymbol(unitAccountSymbol); unitAccount.load(); double unitAccountValue = SKGServices::stringToDouble(unitAccount.getAttribute(QStringLiteral("f_CURRENTAMOUNT"))); SKGServices::SKGUnitInfo u2 = primary; u2.Symbol = unitAccountSymbol; u2.NbDecimal = unitAccount.getNumberDecimal(); html += doc->formatMoney(v1 / unitAccountValue, u2); html += '='; } html += doc->formatMoney(v1, primary); html += QStringLiteral(" |
" % SKGServices::stringToHtml(i18nc("the numerical total of a sum of values", "Total of %1", currentType)) % " | " "" % doc->formatMoney(sumTypeV1, primary) % " | " "
" % SKGServices::stringToHtml(i18nc("Noun, the numerical total of a sum of values", "Total")) % " | " "" % doc->formatMoney(sumV1, primary) % " | " "
You may come back to this page any time by closing all tabs.
"
"For more information about using Skrooge, check the Skrooge website.
We hope that you will enjoy Skrooge
" " The Skrooge Team", iMapping[QStringLiteral("about_accountpage")].toString(), iMapping[QStringLiteral("about_operationpage")].toString(), iMapping[QStringLiteral("about_importurl")].toString())); iMapping.insert(QStringLiteral("logo"), QUrl::fromLocalFile(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("icons/breeze/apps/48/skrooge.svg"))).url()); iMapping.insert(QStringLiteral("logo_black"), QUrl::fromLocalFile(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("icons/breeze/apps/48/skrooge-black.svg"))).url()); iMapping.insert(QStringLiteral("title_main"), i18nc("A monthly report title", "Report for %1", getPeriod())); iMapping.insert(QStringLiteral("title_budget"), i18nc("A monthly report title", "Budget")); iMapping.insert(QStringLiteral("title_main_categories"), i18nc("A monthly report title", "5 main categories of expenditure")); iMapping.insert(QStringLiteral("title_variations"), i18nc("A monthly report title", "5 main variations")); iMapping.insert(QStringLiteral("title_account"), i18nc("A monthly report title", "Amounts in accounts")); iMapping.insert(QStringLiteral("title_unit"), i18nc("A monthly report title", "Amounts of units")); iMapping.insert(QStringLiteral("title_advice"), i18nc("A monthly report title", "Advice")); iMapping.insert(QStringLiteral("title_portfolio"), i18nc("A monthly report title", "Stock portfolio")); iMapping.insert(QStringLiteral("title_interests"), i18nc("A monthly report title", "Estimated interests")); iMapping.insert(QStringLiteral("title_alarms"), i18nc("A monthly report title", "Alarms")); iMapping.insert(QStringLiteral("title_highlighted"), i18nc("A monthly report title", "Highlighted operations")); iMapping.insert(QStringLiteral("title_networth"), i18nc("A monthly report title", "Net Worth")); iMapping.insert(QStringLiteral("title_annual_spending"), i18nc("A monthly report title", "Annual Spending")); iMapping.insert(QStringLiteral("title_personal_finance_score"), i18nc("A monthly report title", "Personal Finance Score")); iMapping.insert(QStringLiteral("msg_no_variation"), i18nc("A monthly report message", "No variation found.")); iMapping.insert(QStringLiteral("msg_no_scheduled"), i18nc("A monthly report message", R"(No scheduled operations defined on the "Scheduled operations" page.)", "skg://Skrooge_scheduled_plugin/")); iMapping.insert(QStringLiteral("msg_no_highlighted"), i18nc("A monthly report message", R"(No highlighted operations defined on the "Operations" page.)", "skg://Skrooge_operation_plugin/")); iMapping.insert(QStringLiteral("msg_no_budget"), i18nc("A monthly report message", R"(No budget defined on the "Budget" page.)", "skg://Skrooge_budget_plugin/")); iMapping.insert(QStringLiteral("msg_no_share"), i18nc("A monthly report message", R"(No share defined on the "Unit" page.)", "skg://Skrooge_unit_plugin/")); iMapping.insert(QStringLiteral("msg_amount_unit_date"), i18nc("A monthly report message", "All amounts are calculated using the unit rates of the last day of the corresponding period.")); } diff --git a/skgbasegui/skgmainpanel.cpp b/skgbasegui/skgmainpanel.cpp index 9e12ac4db..e11e1c3c3 100644 --- a/skgbasegui/skgmainpanel.cpp +++ b/skgbasegui/skgmainpanel.cpp @@ -1,2743 +1,2745 @@ /*************************************************************************** * Copyright (C) 2008 by S. MANKOWSKI / G. DE BURE support@mankowski.fr * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program. If not, see