Commit Graph

27262 Commits

Author SHA1 Message Date
Geert Janssens
16cc218097 C++ - use more expressive std::any_of rather than std::find
What's looked for is encapsulated in a lambda function
named is_req_column_type. This compares values in the vector
with a value captured from the main context, which is updated
for each call of std::any.
2023-03-13 19:58:11 +01:00
Geert Janssens
0ed0be4ef2 C++ - use more expressive std::accumulate algo rather than std::for_each
It encapsulates the custom string concatenation bits into a
lambda called "add_bullet_item" and streamlines the logic
of when to add what to the summary.
2023-03-13 19:58:11 +01:00
Geert Janssens
4ae15e675c CsvImport - actually do as the warning indicates
If an invalid column is found in a preset, replace it
with a NONE column, rather than not inserting a column
at all.
2023-03-13 19:58:10 +01:00
Geert Janssens
37e0f407e9 First test for gnc-trans-props-tx
Start with test for parse_monetary
- a few basic tests
- extra tests for recent bug fixes, like
  - allow blank as thousands separator
  - double minus sign equals positive number
2023-03-13 19:58:10 +01:00
Geert Janssens
d75ab275f1 Eliminate gnc-csv-account-map.[ch]
The code is was only used by the csv import assistant and forced
gtk as a dependency on gnc-imp-props-tx

Part has been moved to Account, other bits have
been moved to the importer code where they were
used.
2023-03-13 19:58:10 +01:00
Geert Janssens
13ec4bb594 xaccParseAmount... - some code cleanups
- declare at first use
- compact tests
- reduce use of {}
2023-03-13 19:58:10 +01:00
Geert Janssens
8010d9646c Restore proper indentation
It got mixed up while refactoring the various xaccParseAmountXYZ functions
2023-03-13 19:58:10 +01:00
J0kWang
79bb8a6f97
Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
2023-03-13 18:40:54 +01:00
Carlson Mak
b2c3730359
Translation update by Carlson Mak <hbmaak@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
2023-03-13 18:40:53 +01:00
J0kWang
881d472436
Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: J0kWang <lianjiefly@gmail.com>
2023-03-13 17:35:54 +01:00
Carlson Mak
f7acd478fa
Translation update by Carlson Mak <hbmaak@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: Carlson Mak <hbmaak@gmail.com>
2023-03-13 17:35:53 +01:00
Szia Tomi
bb9aa3eb11
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 65.2% (3524 of 5401 strings; 842 fuzzy)
162 failing checks (2.9%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-03-13 17:35:52 +01:00
Guille Lopez
1260d85a8c
Translation update by Guille Lopez <willelopz@gmail.com> using Weblate
po/es.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
9 failing checks (0.1%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

Co-authored-by: Guille Lopez <willelopz@gmail.com>
2023-03-13 17:35:52 +01:00
Arve Eriksson
d8656fccd7
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/

Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-03-13 17:35:51 +01:00
Pedro Albuquerque
e7560ba629
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/pt.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/

Translation update  by Pedro Albuquerque <pmra@gmx.com> using Weblate

po/pt.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/

Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2023-03-13 17:35:50 +01:00
YOSHINO Yoshihito
1a5fd97d84
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 92.7% (5012 of 5401 strings; 153 fuzzy)
443 failing checks (8.2%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Co-authored-by: YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
2023-03-13 17:35:49 +01:00
mocsa
87e42ec8fb
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 65.1% (3518 of 5401 strings; 846 fuzzy)
162 failing checks (2.9%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-03-13 17:35:49 +01:00
Robert Fewell
427c1b96ed Bug 798781 - Printing multiple checks prints duplicate checks
Changed the menu label to 'Print Checks…' which should be the default
in the source file and corrected the wrong action for the 'Find' menu
item.
2023-03-13 10:05:35 +00:00
John Ralls
f2ba3eedb9 Release GnuCash 4.903 2023-03-11 14:58:01 -08:00
John Ralls
0cfe771fb7 Merge Richard Cohen's 'fix-constructor-misuse' into master. 2023-03-11 14:23:37 -08:00
John Ralls
35c3cef157 Merge new translations from WebLate. 2023-03-11 14:16:55 -08:00
John Ralls
7a4a959a9e Merge new translations from WebLate. 2023-03-11 14:13:56 -08:00
YTX
bd5c35f2fa
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: YTX <ytx.cash@gmail.com>
2023-03-11 19:41:24 +01:00
Carlson Mak
ef31c65de3
Translation update by Carlson Mak <hbmaak@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: Carlson Mak <hbmaak@gmail.com>
2023-03-11 19:41:23 +01:00
Pedro Albuquerque
88ca8d7727
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/pt.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/

Co-authored-by: Pedro Albuquerque <pmra@gmx.com>
2023-03-11 19:41:22 +01:00
mocsa
f34d3d17b0
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 65.1% (3518 of 5401 strings; 846 fuzzy)
162 failing checks (2.9%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 65.1% (3518 of 5401 strings; 846 fuzzy)
162 failing checks (2.9%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 65.1% (3517 of 5401 strings; 847 fuzzy)
161 failing checks (2.9%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-03-11 19:41:22 +01:00
Milo Ivir
67e3ba893c
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Translation update  by Milo Ivir <mail@milotype.de> using Weblate

po/glossary/hr.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hr/

Translation update  by Milo Ivir <mail@milotype.de> using Weblate

po/hr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Translation update  by Milo Ivir <mail@milotype.de> using Weblate

po/hr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Co-authored-by: Milo Ivir <mail@milotype.de>
2023-03-11 19:41:21 +01:00
J0kWang
c6db510c9c
Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 93.1% (5118 of 5494 strings; 256 fuzzy)
156 failing checks (2.8%)
Translation: GnuCash/Program-beta (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/zh_Hans/
2023-03-11 19:40:15 +01:00
YTX
5405e6ff81
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 93.1% (5118 of 5494 strings; 256 fuzzy)
156 failing checks (2.8%)
Translation: GnuCash/Program-beta (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/zh_Hans/
2023-03-11 19:40:15 +01:00
mocsa
2de5dbc917
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.6% (3332 of 5494 strings; 1035 fuzzy)
182 failing checks (3.3%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-03-11 19:40:13 +01:00
Milo Ivir
616caa52cb
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 96.5% (5305 of 5494 strings; 66 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program-beta (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hr/
2023-03-11 19:40:12 +01:00
Pedro Albuquerque
81900fb60b
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/pt.po: 100.0% (5494 of 5494 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program-beta (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/pt/
2023-03-11 11:44:00 +01:00
mocsa
b62fd1cf4a
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.6% (3332 of 5494 strings; 1035 fuzzy)
182 failing checks (3.3%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-03-11 11:44:00 +01:00
Milo Ivir
247d885983
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 96.3% (5291 of 5494 strings; 80 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program-beta (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hr/
2023-03-11 11:44:00 +01:00
Robert Fewell
5393abb58c Missed Change of short cut and icon for scheduled 'Blank' 2023-03-11 10:41:36 +00:00
Christopher Lam
bfb56bdf63 Bug 798765 - Increase the limit for Maximum Slices in the Expense Piechart
57d680912e was missed out in maint merge
2023-03-11 10:20:05 +08:00
John Ralls
bc26f0b9ba Merge branch 'maint' 2023-03-10 13:22:02 -08:00
John Ralls
f40e4118dc Merge new translations from Weblate. 2023-03-10 13:12:53 -08:00
John Ralls
0f39cf68ca Merge translations from Weblate. 2023-03-10 12:52:55 -08:00
mocsa
409f496b72
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.6% (3331 of 5494 strings; 1036 fuzzy)
179 failing checks (3.2%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-03-10 21:51:53 +01:00
Milo Ivir
f2c30bdca8
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 95.8% (5266 of 5494 strings; 105 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program-beta (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hr/
2023-03-10 21:51:53 +01:00
Jaime Marquínez Ferrándiz
66e2e37072
Translation update by Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@fastmail.net> using Weblate
po/es.po: 96.7% (5315 of 5494 strings; 73 fuzzy)
20 failing checks (0.3%)
Translation: GnuCash/Program-beta (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/es/
2023-03-10 21:51:53 +01:00
mocsa
ffa4f19896
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.6% (3330 of 5494 strings; 1037 fuzzy)
179 failing checks (3.2%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-03-10 21:51:53 +01:00
mocsa
d5ba4303ec
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.6% (3330 of 5494 strings; 1039 fuzzy)
179 failing checks (3.2%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-03-10 21:51:52 +01:00
mocsa
05014bc106
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.6% (3330 of 5494 strings; 1039 fuzzy)
179 failing checks (3.2%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-03-10 21:51:52 +01:00
Milo Ivir
813791045d
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 95.7% (5262 of 5494 strings; 109 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program-beta (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hr/
2023-03-10 21:51:52 +01:00
Pedro Albuquerque
cc1075a866
Translation update by Pedro Albuquerque <pmra@gmx.com> using Weblate
po/pt.po: 100.0% (5494 of 5494 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program-beta (Portuguese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/pt/
2023-03-10 21:51:52 +01:00
mocsa
11b83995c6
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.3% (3317 of 5494 strings; 1056 fuzzy)
179 failing checks (3.2%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-03-10 21:51:52 +01:00
mocsa
e95893176c
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.0% (3300 of 5494 strings; 1077 fuzzy)
179 failing checks (3.2%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-03-10 21:51:52 +01:00
Milo Ivir
ed3c2a88be
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 93.3% (5128 of 5494 strings; 231 fuzzy)
86 failing checks (1.5%)
Translation: GnuCash/Program-beta (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hr/
2023-03-10 21:51:52 +01:00