Commit Graph

24056 Commits

Author SHA1 Message Date
小高
72ab7041bd
Translation update by 小高 <2926295173@qq.com> using Weblate
po/glossary/zh_CN.po: 93.2% (194 of 208 strings; 7 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hans/

Co-authored-by: 小高 <2926295173@qq.com>
2021-03-02 16:50:30 +01:00
bruh
1f46f88d38
Translation update by bruh <quangtrung02hn16@gmail.com> using Weblate
po/vi.po: 47.9% (2652 of 5526 strings; 1972 fuzzy)
791 failing checks (14.3%)
Translation: GnuCash/Program (Vietnamese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/vi/

Co-authored-by: bruh <quangtrung02hn16@gmail.com>
2021-03-02 16:50:30 +01:00
Frank H. Ellenberger
93e2829ee5 Merge PR #899 into maint 2021-03-02 01:17:26 +01:00
luz paz
16b4976381 Fix typos in libgnucash/
Found via `codespell -q 3 -L ans,ba,parm,parms,numer`
2021-03-02 01:15:32 +01:00
YOSHINO Yoshihito
f7c353c90f Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 92.8% (5131 of 5526 strings; 156 fuzzy)
500 failing checks (9.0%)
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>
2021-03-01 16:21:28 +01:00
Christopher Lam
6bfab011c4 [gnc-icons.c] plug memory leak 2021-03-01 23:20:57 +08:00
bruh
cf484bbee9
Translation update by bruh <quangtrung02hn16@gmail.com> using Weblate
po/glossary/vi.po: 84.6% (176 of 208 strings; 19 fuzzy)
3 failing checks (1.4%)
Translation: GnuCash/Glossary (Vietnamese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/vi/

Co-authored-by: bruh <quangtrung02hn16@gmail.com>
2021-03-01 15:50:29 +01:00
Metroseksuaali
e5781e5350
Translation update by Metroseksuaali <timmy.kinnunen@elisanet.fi> using Weblate
po/glossary/fi.po: 99.5% (207 of 208 strings; 1 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Finnish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/fi/

Co-authored-by: Metroseksuaali <timmy.kinnunen@elisanet.fi>
2021-02-25 19:50:33 +01:00
Ζωή Καίσα
80e091ca1c
Translation update by Ζωή Καίσα <kaisazoe@gmail.com> using Weblate
po/el.po: 53.3% (2948 of 5526 strings; 1527 fuzzy)
608 failing checks (11.0%)
Translation: GnuCash/Program (Greek)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/el/

Co-authored-by: Ζωή Καίσα <kaisazoe@gmail.com>
2021-02-25 19:50:32 +01:00
Christopher Lam
c6421d67dc [income-gst-statement.scm] "Secondary Subtotal" invalid value set
It should be #f

But the value is already #f. Remove modifying this option.
2021-02-24 21:53:15 +08:00
Christopher Lam
37a4031449 [dialog-options.c] increase logging when option is set to bad value 2021-02-24 21:51:56 +08:00
Christopher Lam
686f842c3d Bug 798135 - GtkEntry text with search list: shows selected entry again for no reason
Because setting the GtkEntry to inline completion gtk_entry_completion_set_inline_completion (completion, TRUE)
2021-02-24 20:25:30 +08:00
Christopher Lam
422c151a03 [window-main-summarybar.c] use g_list_free_full 2021-02-24 09:08:25 +08:00
Christopher Lam
f743f24e7e [gnc-tree-model-split-reg.c] don't call g_list_length
use model->number_of_trans_in_full_tlist instead which has already
stored the length.
2021-02-24 09:08:25 +08:00
Christopher Lam
b767d16059 [gnc-tree-model-split-reg.c] use xaccSplitListGetUniqueTransactionsReversed
which is then reversed if required. this removes the need for double
reversal.
2021-02-24 09:08:25 +08:00
Christopher Lam
e79db92d8d [Split.c] xaccSplitListGetUniqueTransactionsReversed
Same as xaccSplitListGetUniqueTransactions but doesn't reverse the
list prior to returning. To be used by gnc-tree-model-split-reg.c

Several optimizations

* doesn't call g_list_find and g_list_append for every iteration
* uses g_hash_table to cache list of txns already added instead of g_list_find
* does not reverse the result, thereby returning a reversed list.
2021-02-24 09:08:25 +08:00
Christopher Lam
0a22f688a6 plug memory leaks 2021-02-24 09:08:25 +08:00
Christopher Lam
b2b8792110 prepend-and-reverse instead of O(N^2) append 2021-02-24 09:08:25 +08:00
Christopher Lam
b73cacd58c [gnc-recurrence.c] avoid O(N^2) children traversal
* each loop iteration called g_list_length and g_list_nth_data

better to forloop scan children instead
2021-02-24 09:08:25 +08:00
Avi Markovitz
910da534bf Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5526 of 5526 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>
2021-02-23 11:49:46 +01:00
Wellington Terumi Uemura
481e56e2fc Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5526 of 5526 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2021-02-23 11:49:46 +01:00
Robert Fewell
2e5c419c9e Follow up to Bug 798098 fix
If there are GncMainWindows that have no pages added and Gnucash is
quitted they are not destroyed. This fix checks for windows with no
pages and then does a gtk_widget_destroy on them.
2021-02-23 10:43:03 +00:00
Frank H. Ellenberger
8441aa86e7 L10N: Merge a fresh pot 2021-02-22 18:29:21 +01:00
Frank H. Ellenberger
a3c875075c I10N: patch po files 2021-02-22 18:09:19 +01:00
Frank H. Ellenberger
6bc8679932 I18N: replace several spourious spaces 2021-02-22 17:56:50 +01:00
Frank H. Ellenberger
956705453e I18N: drop translatable flag from "xxx" dummies
remove trailing spaces from translatable strings
2021-02-22 17:56:50 +01:00
Kornelijus Tvarijanavičius
18f075ba05
Translation update by Kornelijus Tvarijanavičius <kornelitvari@protonmail.com> using Weblate
po/glossary/lt.po: 89.4% (186 of 208 strings; 14 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Lithuanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/lt/

Translation update  by Kornelijus Tvarijanavičius <kornelitvari@protonmail.com> using Weblate

po/lt.po: 71.1% (3937 of 5532 strings; 994 fuzzy)
230 failing checks (4.1%)
Translation: GnuCash/Program (Lithuanian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/lt/

Co-authored-by: Kornelijus Tvarijanavičius <kornelitvari@protonmail.com>
2021-02-21 22:50:39 +01:00
Christian Stimming
8e6faba89a
Translation update by Christian Stimming <christian@cstimming.de> using Weblate
po/de.po: 99.6% (5511 of 5532 strings; 9 fuzzy)
330 failing checks (5.9%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Christian Stimming <christian@cstimming.de>
2021-02-21 22:50:39 +01:00
Adithya K
5eb0d5cd96
Translation update by Adithya K <adithyak04@gmail.com> using Weblate
po/pl.po: 61.8% (3419 of 5532 strings; 1603 fuzzy)
688 failing checks (12.4%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Translation update  by Adithya K <adithyak04@gmail.com> using Weblate

po/en_GB.po: 48.6% (2690 of 5532 strings; 1653 fuzzy)
631 failing checks (11.4%)
Translation: GnuCash/Program (English (United Kingdom))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/

Translation update  by Adithya K <adithyak04@gmail.com> using Weblate

po/brx.po: 74.2% (4107 of 5532 strings; 933 fuzzy)
522 failing checks (9.4%)
Translation: GnuCash/Program (Bodo)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/brx/

Co-authored-by: Adithya K <adithyak04@gmail.com>
2021-02-21 22:50:38 +01:00
Hindi and Sanskrit Speaker
4a798070be
Translation update by Hindi and Sanskrit Speaker <ifiotsbywzpamtrbbk@wqcefp.com> using Weblate
po/hi.po: 73.7% (4080 of 5532 strings; 971 fuzzy)
1991 failing checks (35.9%)
Translation: GnuCash/Program (Hindi)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hi/

Co-authored-by: Hindi and Sanskrit Speaker <ifiotsbywzpamtrbbk@wqcefp.com>
2021-02-21 22:50:37 +01:00
Reza Almanda
1c683fea0a
Translation update by Reza Almanda <rezaalmanda27@gmail.com> using Weblate
po/glossary/id.po: 100.0% (208 of 208 strings; 0 fuzzy)
5 failing checks (2.4%)
Translation: GnuCash/Glossary (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/id/

Translation update  by Reza Almanda <rezaalmanda27@gmail.com> using Weblate

po/id.po: 98.5% (5452 of 5532 strings; 80 fuzzy)
73 failing checks (1.3%)
Translation: GnuCash/Program (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/id/

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
2021-02-21 22:50:36 +01:00
Theresa Zhang
6b4efe6be8
Translation update by Theresa Zhang <theresa7qing@sina.com> using Weblate
po/glossary/zh_CN.po: 92.7% (193 of 208 strings; 7 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hans/

Co-authored-by: Theresa Zhang <theresa7qing@sina.com>
2021-02-21 22:50:36 +01:00
Alex Aycinena
9d74333d82 2nd Update Form/Schedule line references for 2020 for the US Income Tax Report. 2021-02-16 18:41:20 -08:00
Alex Aycinena
320e84b990 Update Form/Schedule line references for 2020 for the US Income Tax Report. 2021-02-16 16:21:31 -08:00
John Ralls
77e141e80b Merge Bill Nottingham's glib-fixes into maint. 2021-02-16 13:25:10 -08:00
John Ralls
7a7c26f87e Move glib and gtk includes out of extern C for tests.
Needed to compile with glib 2.67 and later.
2021-02-16 13:23:48 -08:00
John Ralls
62df5866ef Adjust GNC_DEFINE_TYPE_EXTENDED_END
To match new signature of g_once_init_enter and g_once_init_leave.
2021-02-16 13:23:32 -08:00
Bill Nottingham
c0f2c3ae25 Fix build with glib2 2.67.x.
glib headers should not be included with 'extern "C"'.
2021-02-16 13:23:16 -08:00
Frank H. Ellenberger
3c9d2a2842 Revert "Translation update by insensitiveclod <contact@sociallife.org>
using Weblate"

This reverts commit d93b468d4b.

The change is definitly wrong.
2021-02-16 09:25:32 +01:00
insensitiveclod
d93b468d4b Translation update by insensitiveclod <contact@sociallife.org> using Weblate
po/nl.po: 90.2% (4995 of 5532 strings; 348 fuzzy)
135 failing checks (2.4%)
Translation: GnuCash/Program (Dutch)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nl/

Co-authored-by: insensitiveclod <contact@sociallife.org>
2021-02-16 01:57:11 +01:00
Christopher Lam
7b5f5a8560 [balsheet-pnl] Amendment to previous commit.
b4e99a304 had another bug.

Monthly pnl from 1-jan to 31-dec uses list of dates (1-jan 1-feb
... 1-dec 31-dec) The last period 1-dec to 31-dec needs to retrieve
price on 31-dec rather than 30-dec, so, is handled differently to
return 31-dec.

We can now reuse col-idx->price-date as the 'enddate' for pnl column
data.
2021-02-16 08:55:02 +08:00
Christopher Lam
b4e99a3048 [balsheet-pnl] pnl columns should retrieve appropriate price.
Preamble: the profit&loss list of dates starts from starting_date,
adds Delta time until end_date. i.e. monthly pnl from 1-jan to 31-dec
generates list 1-jan 1-feb 1-mar etc.

The pnl columns refer to period ColumnDate to next ColumnDate, less 1
day. i.e. 1-jan to 31-jan, 1-feb to 28-feb, 1-mar to 31-mar etc.

The pnl columns must convert to report-currency using price retrieved
on the period end_date rather than the next start_date. i.e. Old code
would retrieve 1-feb price for 1-jan to 31-jan column. This is
incorrect. This commit ensures that the 1-jan to 31-jan retrieves
price on 31-jan.
2021-02-15 19:10:17 +08:00
Christopher Lam
6efdafb9b4 Merge branch 'maint-yank-canonically-tabbed-option' into maint #908 2021-02-15 09:01:42 +08:00
Christopher Lam
779c0521e0 [options.scm API] yank canonically-tabbed parent-subtotal-mode
'canonically-tabbed option is buggy and has never graduated out of
experimental for 17 years. Time to put it to rest.

All previous saved reports with this option will be switched to 't
i.e. parent-subtotal-mode enabled..
2021-02-15 08:59:50 +08:00
Artem
eb56bf9107
Translation update by Artem <KovalevArtem.ru@gmail.com> using Weblate
po/ru.po: 78.3% (4332 of 5532 strings; 825 fuzzy)
247 failing checks (4.4%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/

Co-authored-by: Artem <KovalevArtem.ru@gmail.com>
2021-02-14 23:50:43 +01:00
Alois Spitzbart
a61c0b226b
Translation update by Alois Spitzbart <spitz234@hotmail.com> using Weblate
po/de.po: 99.6% (5512 of 5532 strings; 8 fuzzy)
329 failing checks (5.9%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Alois Spitzbart <spitz234@hotmail.com>
2021-02-14 23:50:42 +01:00
Wellington Terumi Uemura
974368c2b8
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/glossary/pt_BR.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pt_BR/

Translation update  by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate

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

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2021-02-14 01:50:30 +01:00
John Ralls
ba0a21c715 Add /usr/bin/core_perl to the PATH for ArchLinux Dockers.
Apparently perl's PKGCONFIB doesn't do so any more.
2021-02-13 11:43:08 -08:00
Robert Fewell
325ec13d15 Bug 798096 - can't duplicate TX previous to red line threshold
Allow the duplication of a transaction previous to read only threshold
which was disabled by mistake in a previous commit.
2021-02-13 11:07:15 +00:00
Wellington Terumi Uemura
998ad65183
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5532 of 5532 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2021-02-13 02:19:45 +01:00