Commit Graph

25444 Commits

Author SHA1 Message Date
154pinkchairs
677b585d20
Translation update by 154pinkchairs <ovehis@riseup.net> using Weblate
po/pl.po: 62.1% (3348 of 5390 strings; 1533 fuzzy)
591 failing checks (10.9%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: 154pinkchairs <ovehis@riseup.net>
2022-04-12 04:10:23 +02:00
Frank H. Ellenberger
2298590316 Merge PR #1309 into maint 2022-04-12 00:20:11 +02:00
ltai0001
4e5932ac92
Translation update by ltai0001 <yltaief@gmail.com> using Weblate
po/ar.po: 74.4% (4012 of 5390 strings; 898 fuzzy)
424 failing checks (7.8%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Translation update  by ltai0001 <yltaief@gmail.com> using Weblate

po/ar.po: 74.4% (4011 of 5390 strings; 899 fuzzy)
426 failing checks (7.9%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Translation update  by ltai0001 <yltaief@gmail.com> using Weblate

po/ar.po: 74.1% (3997 of 5390 strings; 913 fuzzy)
430 failing checks (7.9%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Co-authored-by: ltai0001 <yltaief@gmail.com>
2022-04-11 03:43:21 +02:00
Christopher Lam
1420368b5b [balsheet-pnl] faster definition of balance lists
because the accounts and accounts-cols-data have direct 1-to-1
mapping, it is not necessary to map accounts and retrieve from
accounts-cols-data. mapping from accounts-cols-data produces
identical results, avoiding O(N^2) access from accounts-cols-data.
2022-04-11 09:36:52 +08:00
Christopher Lam
736d223198 Merge branch 'maint-progress3' into maint #1312 2022-04-10 12:05:08 +08:00
Christopher Lam
d022651f38 Merge branch 'maint-progress2' into maint #1311 2022-04-10 12:04:51 +08:00
Christopher Lam
40d5db43e6 Bug 797163 - qof_book_get_option segfaults when retrieving a non-leaf frame
returns a KvpFrame into a nested list of pairs
returns a KvpValue GLIST into a list
2022-04-10 11:46:12 +08:00
Christopher Lam
0c4d438a0e [kvp-frame.cpp] expose iterator, skip inexistent frame 2022-04-09 17:45:44 +08:00
Christopher Lam
aab33954e7 [gnc-numeric.cpp] Reduce logging level of gnc_numeric exception message
Exceptions are expected in some use cases.
2022-04-09 07:21:15 +08:00
Christopher Lam
ebbf7565c9 Bug 798496 - gncEntry Quantity and Discount are misusing commodity scu 2022-04-09 07:21:12 +08:00
luz paz
8adedc2248 Fix various typos
Found via `codespell -q 3 -S *.po,./po,*.min.js,./ChangeLog*,./NEWS,./borrowed,./doc/README*,./AUTHORS,./libgnucash/tax/us/txf-de*,./data/accounts -L ans,ba,cas,dragable,gae,iff,iif,mut,nd,numer,parm,parms,startd,stoll`
2022-04-08 14:12:50 -04:00
Christopher Lam
c8f1caa95f Bug 798493 - Invoice Report Quantity & Unit Price fields have limited decimal precision on printed invoices
use xaccPrintAmount which formats number nicely.
2022-04-08 22:33:05 +08:00
Christopher Lam
6a668df168 [qofutil.h] don't recurse includes 2022-04-08 19:20:40 +08:00
John Ralls
fbaa416cfb Fix gcc compilation errors. 2022-04-07 16:02:27 -07:00
John Ralls
7b1c0509f7 Fix wrong date of beginning of epoch. 2022-04-07 09:34:59 -07:00
Kárász Attila
7147e8a6e5
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
po/glossary/hu.po: 83.3% (180 of 216 strings; 23 fuzzy)
2 failing checks (0.9%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/

Translation update  by Kárász Attila <cult.edie@gmail.com> using Weblate

po/hu.po: 55.9% (3018 of 5390 strings; 1396 fuzzy)
527 failing checks (9.7%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Kárász Attila <cult.edie@gmail.com> using Weblate

po/hu.po: 55.8% (3010 of 5390 strings; 1404 fuzzy)
538 failing checks (9.9%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Kárász Attila <cult.edie@gmail.com>
2022-04-07 01:19:31 +02:00
YTX
82634dd3ef
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.9% (5389 of 5390 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>
2022-04-07 01:19:31 +02:00
ltai0001
50df6b6176
Translation update by ltai0001 <yltaief@gmail.com> using Weblate
po/ar.po: 74.1% (3996 of 5390 strings; 914 fuzzy)
437 failing checks (8.1%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Translation update  by ltai0001 <yltaief@gmail.com> using Weblate

po/ar.po: 73.8% (3981 of 5390 strings; 929 fuzzy)
462 failing checks (8.5%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Co-authored-by: ltai0001 <yltaief@gmail.com>
2022-04-07 01:19:31 +02:00
Christopher Lam
a4b1827793 [gnc-plugin-page-register] use gnc_g_list_stringjoin to store .gcm
for gnc_plugin_page_register_filter_response_cb
2022-04-06 23:06:39 +08:00
Christopher Lam
5ff0bc1b3c [gnc-plugin-page-register] use gnc_g_list_stringjoin to set tooltip
instead of repeated g_free g_strconcat in
gnc_plugin_page_register_set_filter_tooltip
2022-04-06 23:06:39 +08:00
John Ralls
26b009c0f4 Bug 798500 - FTBFS (tests failure) on armhf
Ensure the transition_times are correctly aligned for their sizes
before attempting to copy them into the transitions vector.
2022-04-05 11:45:22 -07:00
Christopher Lam
3125352d5a Bug 798499 - Expense Chart data tables include extra columns of data
Because all-data was shortened when it exceeds the max-sliecs, but
list-of-rows and row-totals were not redefined.

Delay list-of-rows and row-totals until after all-data is pruned.
2022-04-05 22:29:21 +08:00
Geert Janssens
3df7bdf31e Remove icon experiment that accidentally slipped through. 2022-04-03 20:58:40 +02:00
Geert Janssens
04bafdebf0 Redo icon handling in cmake
Using globs for file copying prevents cmake from discovering newly added icons.
Writing rules that explicitly use lists of icons will fix this as a new icon
in the sources will have to be added to the list and will force reparsing by
cmake. We have to maintain the lists anyway for our dist target so there's
actually no extra work involved for the devs.
2022-04-03 19:22:56 +02:00
Christopher Lam
ee8729dfb6 [account.cpp] char* must be freed 2022-04-02 14:14:50 +08:00
Christopher Lam
11458bf8b3 [core-utils.i] Use g_dpgettext2 instead of g_dpgettext
avoids using \004 context and msg separator.

Discussed in dae2ea8356
2022-04-02 10:24:33 +08:00
Avi Markovitz
842c4879a6
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5390 of 5390 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2022-03-31 14:43:48 +02:00
YTX
b9de15915c
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.9% (5389 of 5390 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Translation update  by YTX <ytx.cash@gmail.com> using Weblate

po/zh_CN.po: 99.9% (5389 of 5390 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>
2022-03-31 14:43:48 +02:00
ltai0001
e75a2d212f
Translation update by ltai0001 <yltaief@gmail.com> using Weblate
po/ar.po: 73.6% (3972 of 5390 strings; 936 fuzzy)
472 failing checks (8.7%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Translation update  by ltai0001 <yltaief@gmail.com> using Weblate

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

Co-authored-by: ltai0001 <yltaief@gmail.com>
2022-03-31 14:43:48 +02:00
Christopher Lam
b6d5cedd32 Merge branch 'maint-after-string-thaw' into maint #1295 2022-03-31 20:18:04 +08:00
John Ralls
9a50be4c5d [QIF import] fix misplaced paren. 2022-03-27 19:45:04 -07:00
John Ralls
be8f798fca Fix wrong GNC-COMMODITY-NS-ISO4217 2022-03-27 09:29:55 -07:00
John Ralls
fa0a10c4cf Release GnuCash 4.10 2022-03-26 15:21:24 -07:00
John Ralls
cb04a2a7d0 [L10N] Update Hungarian translator-credits 2022-03-26 14:55:36 -07:00
ButterflyOfFire
2c4e2350ca
Translation update by ButterflyOfFire <ButterflyOfFire@protonmail.com> using Weblate
po/ar.po: 73.6% (3970 of 5390 strings; 938 fuzzy)
499 failing checks (9.2%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Translation update  by ButterflyOfFire <ButterflyOfFire@protonmail.com> using Weblate

po/fr.po: 99.9% (5389 of 5390 strings; 1 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
2022-03-25 23:20:31 +01:00
154pinkchairs
f88c9db4b5
Translation update by 154pinkchairs <ovehis@riseup.net> using Weblate
po/pl.po: 61.7% (3331 of 5390 strings; 1550 fuzzy)
608 failing checks (11.2%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: 154pinkchairs <ovehis@riseup.net>
2022-03-25 23:20:31 +01:00
Kárász Attila
6dab8fc69a
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
po/hu.po: 55.6% (2999 of 5390 strings; 1415 fuzzy)
552 failing checks (10.2%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Kárász Attila <cult.edie@gmail.com>
2022-03-25 23:20:31 +01:00
John Ralls
7d94ade599 [python]Remove non-namespace "All non-currency" fom namespace test. 2022-03-25 15:19:57 -07:00
John Ralls
109efe62b8 Rework default non-currency commodity namespace.
Separate the "All noncurrency" convenience category in the commodity
selector and the default non-commodity namespace proposed by the QIF
importer because they have different functions.

Also remove the namespace guessing code from qif-dialog because with
only one default non-currency namespace there's nothing to guess.
2022-03-24 18:10:32 -07:00
Christopher Lam
9cde35aed8 [test-balsheet-pnl] there's a <hr> between income&exp and net-income 2022-03-25 08:58:23 +08:00
Christopher Lam
a3aa93e7e0 [income-statement] single-column doesn't need separate inc/exp tables
disable html-table within html-table for single-column income statement.

Thanks to AdrienM for debugging.

https://lists.gnucash.org/pipermail/gnucash-user/2022-March/100354.html
2022-03-25 08:38:23 +08:00
YTX
150ca997ea
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.9% (5388 of 5390 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>
2022-03-23 10:56:37 +01:00
Avi Markovitz
9f55086fe6
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5390 of 5390 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2022-03-23 10:56:37 +01:00
Kárász Attila
88580cf022
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
po/hu.po: 55.6% (2998 of 5390 strings; 1416 fuzzy)
554 failing checks (10.2%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Kárász Attila <cult.edie@gmail.com> using Weblate

po/hu.po: 55.5% (2996 of 5390 strings; 1418 fuzzy)
556 failing checks (10.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Kárász Attila <cult.edie@gmail.com>
2022-03-21 15:56:14 +01:00
Christopher Lam
4a75baa4c6 [gnc-xml-backend.cpp] gchar* must be freed after use.
It is used as a constructor for std::string which makes a copy but
doesn't take ownership.
2022-03-21 07:26:45 +08:00
John Ralls
7fbbd6e745 Merge Christoph Holterman's 'python-gnc-numeric' into maint. 2022-03-20 12:26:42 -07:00
Christoph Holtermann
6a015c8744 make GncNumeric.invert() return GncNumeric 2022-03-20 20:04:56 +01:00
Christoph Holtermann
567df27cc7 Implement some comparisons and arithmetics for GncNumeric
Derive some numeric comparisons and arithmetics from Fraction
class
https://github.com/python/cpython/blob/3.7/Lib/fractions.py
and general information from
https://docs.python.org/3/library/numbers.html#numbers.Integral

These methods are bound closer to the gnucash-C-api than those
from the fraction class.

This is not the full set of comparisons and arithmetics, needs
to be extended. It would be good to extend tests to cover this.
2022-03-20 20:04:44 +01:00
YTX
859b57203c
Translation update by YTX <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.9% (5388 of 5390 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>
2022-03-20 15:55:57 +01:00
Petter Reinholdtsen
67d58cf3d2
Translation update by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate
po/glossary/nb.po: 94.4% (204 of 216 strings; 5 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nb_NO/

Translation update  by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate

po/nb.po: 53.5% (2886 of 5390 strings; 1638 fuzzy)
397 failing checks (7.3%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/

Translation update  by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate

po/glossary/nb.po: 93.9% (203 of 216 strings; 6 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/nb_NO/

Translation update  by Petter Reinholdtsen <pere-weblate@hungry.com> using Weblate

po/nb.po: 53.5% (2885 of 5390 strings; 1638 fuzzy)
397 failing checks (7.3%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
2022-03-20 15:55:56 +01:00