Commit Graph

26108 Commits

Author SHA1 Message Date
Avi Markovitz
9242e1b34a
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/

Translation update  by Avi Markovitz <avi.markovitz@gmail.com> using Weblate

po/he.po: 100.0% (5401 of 5401 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>
2023-01-10 13:51:52 +01:00
Giuseppe Foti
86a03b280b
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
po/glossary/it.po: 99.5% (215 of 216 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/it/

Translation update  by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate

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

Co-authored-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2023-01-09 08:49:19 +01:00
Christopher Lam
f081a2066e Merge branch 'maint-progress' into maint #1493 2023-01-09 13:32:29 +08:00
Christopher Lam
afc32af521 [balsheet-pnl] move out of experimental into regular menu
After 4 years it can finally graduate. Also remove FOOTER-TEXT
warning.
2023-01-09 10:18:42 +08:00
Arve Eriksson
5e8de30b02
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-01-09 01:21:57 +01:00
Frank H. Ellenberger
8a75523928 Translate "Accounts" in "Filter %s by..." 2023-01-09 00:12:02 +01:00
Christopher Lam
5af8213951 [balsheet-pnl] generate exchange-fn for each date separately
and cache its result
2023-01-09 03:47:04 +08:00
Christopher Lam
40b76061e0 Bug 798717 - Reports > Business > Fancy Invoice duplicates company details
company details were duplicated in error.
2023-01-07 22:07:23 +08:00
John Ralls
f7324d16b4 Bug 798625 - "Last up through report date" changed in 4.12
Don't adjust report dates with time64CanonicalDayTime. They're set
to 23:59:59 local which is always >= neutral time at which prices
and transactions are timestamped. Local noon is before neutral time for
all time zones east of UTC+2.
2023-01-07 03:49:48 +03:00
Christopher Lam
2733d23b68 [dialog-sx-editor] increase EX_CAL_NUM_MONTHS from 6 to 12
because the example calendar can show up to 12 months. This means a
daily SX will show all recurrences in the calendar instead of only 6
months.
2023-01-06 11:03:33 +08:00
Christopher Lam
a9a67c717e [dialog-sx-editor] plug GHashTable leaks when returning early 2023-01-06 11:03:33 +08:00
Wellington Terumi Uemura
6ba5b57e41
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5401 of 5401 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>
2023-01-05 03:22:06 +01:00
Milo Ivir
ca0145d73d
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-01-05 03:22:06 +01:00
J0kWang
1399cd24ae
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-01-05 03:22:06 +01:00
ovari
6d8fa2cc2a
Translation update by ovari <ovari123@zoho.com> using Weblate
po/hu.po: 61.7% (3335 of 5401 strings; 1218 fuzzy)
490 failing checks (9.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: ovari <ovari123@zoho.com>
2023-01-05 03:22:06 +01:00
John Ralls
edf5a8783d Bug 798702 - Crash in gnc_plugin_page_focus_idle_destroy() closing...
a report before it completes.

The problem was that the progress bar runs the event loop and lets
tab get destroyed while the stream handler is running, taking the
page and html objects along with it. Then the stream handler returns
and the callers try to use the freed page and html objects. Crash.

To avoid this take out weak pointers on the page and html and only
use the page and html if the respective finalize functions haven't
NULLed the weak pointer.
2023-01-04 18:20:57 -08:00
Alex Aycinena
1085d8920b Update Form/Schedule line references for 2022 for the US Income Tax Report 2023-01-04 16:58:57 -08:00
John Ralls
b922cfd78d Bug 798679 - Unicode normalization should be used for comparison but not stored.
Change to NFC normalization for all comparisons because the Unicode
meaning of compatible might collide with the user's intent.
2023-01-04 13:19:36 -08:00
John Ralls
797098c6e5 [Bug 798705] New: UI string mismatch: OK vs. Next 2023-01-03 14:55:44 -08:00
Kaligula
a66dec3d71
Translation update by Kaligula <kaligula.dev@gmail.com> using Weblate
po/pl.po: 71.2% (3846 of 5401 strings; 1096 fuzzy)
255 failing checks (4.7%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Kaligula <kaligula.dev@gmail.com>
2022-12-31 22:51:40 +01:00
aleksej0R
ea6cc6f892
Translation update by aleksej0R <omolice@hotmail.fr> using Weblate
po/glossary/fr.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/fr/

Co-authored-by: aleksej0R <omolice@hotmail.fr>
2022-12-20 00:55:57 +01:00
Christopher Lam
52deda868f [assistant-stock-transaction] handle sign reversal outside create_split
Passing the FieldMask as an arg to create_split is the wrong approach;
it needs to test the input_new_balance bool and the FieldMask to
determine whether negation should take place. It's best to handle
negation outside create_split.

Thus cash&fee amounts are not mangled when creating a stock-split
transaction whose input_new_balance is true.
2022-12-19 11:46:53 +08:00
John Ralls
dec66bc8c6 Release GnuCash 4.13 2022-12-17 18:20:21 -08:00
John Ralls
98155795d6 [register] Don't usleep on Apple or Win32.
Not needed and usleep needs an extra include for MinGW64.
2022-12-17 18:20:21 -08:00
John Ralls
092d67eb1a [import] Don't leak returns of g_utf8_normalize. 2022-12-17 15:38:03 -08:00
John Ralls
9a8142cacb Merge weblate translations into maint. 2022-12-17 12:56:02 -08:00
帅是我2
787a2cda3b
Translation update by 帅是我2 <a1173522112@163.com> using Weblate
po/zh_CN.po: 99.9% (5397 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: 帅是我2 <a1173522112@163.com>
2022-12-17 21:00:10 +01:00
YOSHINO Yoshihito
85dc4a5ef7
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 92.7% (5011 of 5401 strings; 154 fuzzy)
444 failing checks (8.2%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 92.7% (5011 of 5401 strings; 154 fuzzy)
444 failing checks (8.2%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 91.9% (4968 of 5401 strings; 188 fuzzy)
469 failing checks (8.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 91.8% (4963 of 5401 strings; 193 fuzzy)
472 failing checks (8.7%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 91.8% (4959 of 5401 strings; 197 fuzzy)
476 failing checks (8.8%)
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>
2022-12-17 21:00:10 +01:00
John Ralls
ccd328db9a [import matcher] Don't normalize text when appending descriptions or notes.
Another fix for Bug 798679. Normalized strings are still stored in
quickfills.
2022-12-17 11:57:58 -08:00
John Ralls
65d3546f10 [register] Delay post-ime reset of the selection.
Works around bug 798587.
2022-12-17 10:45:24 -08:00
Geert Janssens
16dca1ad5e Bug 798694 - Cursor in the wrong place after pasting with auto-completion 2022-12-17 11:31:49 +01:00
YOSHINO Yoshihito
dfb2045678
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 91.4% (4941 of 5401 strings; 212 fuzzy)
494 failing checks (9.1%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 91.1% (4924 of 5401 strings; 224 fuzzy)
507 failing checks (9.3%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 91.0% (4919 of 5401 strings; 227 fuzzy)
510 failing checks (9.4%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 90.7% (4901 of 5401 strings; 243 fuzzy)
549 failing checks (10.1%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 90.5% (4889 of 5401 strings; 252 fuzzy)
565 failing checks (10.4%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 90.0% (4861 of 5401 strings; 275 fuzzy)
592 failing checks (10.9%)
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>
2022-12-17 02:43:46 +01:00
John Ralls
091d4aff22 Bug 798657 - Import Summary language is wrong
Root cause is using boost::locale::translate because it ignores
the LANGUAGES environment variable and doesn't support different
values for LC_MESSAGES, LC_DATE, LC_MONETARY, and LC_NUMERIC.
That makes it impossible to configure a user environment that
presents translated strings in a different locale from the one
applied to formatting dates and numbers.

To correct this replace all use of boost::locale::translate
with GNU gettext.
2022-12-16 15:34:10 -08:00
Geert Janssens
dd48a025d5 Make boost::locale::gettext use the proper locale 2022-12-16 20:28:31 +01:00
John Ralls
73a134730f Bug 798680 - Not able to match a reverse transaction of a...
previously matched transaction.

Cloned transactions and copied splits shouldn't keep the online-id
slot.
2022-12-13 13:13:13 -08:00
John Ralls
598a6f1b6b [ofx import] Propose parent account unless last account is right commodity. 2022-12-13 12:38:00 -08:00
John Ralls
f6cc6eda4c [ofx import] Make automatic account creation work.
When Preferences>Import>Automatic commodity creation is enabled.

Note that this behavior isn't indicated in the tooltip and is a bit
clunky: the user has to cancel the manual account selection for it
to fire.
2022-12-13 12:38:00 -08:00
John Ralls
5e7bc1d6c2 [ofx import] Fix the parentage of the select account windows.
The account list window is gone when these are used, use the importer parent.
2022-12-13 12:38:00 -08:00
John Ralls
862848380c Bug 798681 - Previously imported investment income transactions may not be filtered.
Resequence process_investment_transaction so that the first split is
the primary asset account split (cash unless it's a reinvest) followed
by the security asset account if it's not income and finally the income
split for income or reinvest transactions.

Note that there's also a sign change on the income splits for
income and reinvest transactions: testing showed the signs to be
backwards.
2022-12-13 12:38:00 -08:00
John Ralls
6a9e1cb249 [ofx import] Don't set online-id on income accounts. 2022-12-13 12:38:00 -08:00
John Ralls
17eb739da3 [ofx import] Extract functions from ofx_proc_transaction_cb.
set_transaction_dates, fill_transaction_description,
fill_transaction_notes, process_bank_transaction,
process_investment_transaction, choose_investment_account,
choose_income_account, add_investment_split, add_currency_split,
create_investment_subaccount, continue_account_selection,
choose_investment_account_helper, choose_investment_account
2022-12-13 12:36:10 -08:00
John Ralls
0bc2d692c7 [ofx import] Typedef OfxTransactionData.
So we don't have to say struct on every use.
2022-12-13 12:35:37 -08:00
John Ralls
5519a9d788 [import matcher] Make related functions adjacent
gnc_gen_trans_list_add_trans just wraps
gnc_gen_trans_list_add_trans_with_ref_id.
2022-12-13 12:35:32 -08:00
John Ralls
e116a4f195 [import backend] Extract function hash_account_online_ids. 2022-12-13 12:35:32 -08:00
John Ralls
b4bab92da2 Bug 798664 - Result of 'gnucash --nofile' is marked dirty
Don't create a new book in the new-user dialog unless the user says to.
Don't automatically create a new book when retrieving default commodities
because the retrieve might be requested in a context like the Preferences
dialog when there is no book.

Some report tests relied on requesting the default commodity creating
the book, so in those tests ensure that the book is created first.
2022-12-12 11:30:59 -08:00
John Ralls
fae5de80d3 Undo unintended change in Bug 798679 commit. 2022-12-11 19:54:35 -08:00
John Ralls
fd2761bd68 Bug 798679 - Fullwidth characters cannot be pasted as-is in register fields
Control character check doesn't need normalization, the control character
codepoints aren't graphic and so can't be composed nor have compatible
equivalents.
2022-12-11 13:00:40 -08:00
YOSHINO Yoshihito
993697be7f
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 89.9% (4859 of 5401 strings; 276 fuzzy)
593 failing checks (10.9%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 89.8% (4851 of 5401 strings; 284 fuzzy)
601 failing checks (11.1%)
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>
2022-12-10 19:48:52 +01:00
Milo Ivir
66025ae738
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>
2022-12-05 15:47:26 +01:00
Christopher Lam
36b33262ad [account-piecharts] drill-down piechart: tree-depth is at most 6 2022-12-05 14:49:57 +08:00