Commit Graph

26258 Commits

Author SHA1 Message Date
Christopher Lam
d3140af6a0 [assistant-stock-transaction] use SPLIT_COL_TOOLIP enum
rename SPLIT_COL_MEMO_ESCAPED to SPLIT_COL_TOOLIP
2022-09-07 23:42:04 +08:00
Laurent Bigonville
6730bc05f2 Standardize the root "Equity" account as "Capitaux propres"
All other French account templates are already doing so
2022-09-07 11:22:59 +02:00
Laurent Bigonville
e19b9f7479 Standardize the root assets account as "Actif"
All other French templates are already doing so
2022-09-07 11:21:47 +02:00
Frank H. Ellenberger
36c7129beb I18N: msgmerge 4.11-pot3 2022-09-07 04:41:04 +02:00
Frank H. Ellenberger
47fa8b281e Merge PR #1425 into maint 2022-09-07 03:16:05 +02:00
이정희
c686974085
Translation update by 이정희 <daemul72@gmail.com> using Weblate
po/ko.po: 54.2% (2927 of 5400 strings; 1374 fuzzy)
445 failing checks (8.2%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/

Co-authored-by: 이정희 <daemul72@gmail.com>
2022-09-07 01:35:27 +02:00
Geert Janssens
ad96999800 Use "help:" instead of "ghelp:" to display our documentation on linux
This comes with a few nice side effects:
* "help:" no longer needs the workaround to link directly to an anchor.
" "help:" requires the document's book id to be "index". We used to have
"index" for guide and "help" for manual. The forced alignment also
allows us to simplify the way MacOS invokes guide an manual.
2022-09-06 16:27:35 -07:00
John Ralls
c81aedddde Bug 798611 - Date changing when changing timezone by one hour
When getting a date from the date editor anywhere in the program
set the time to neutral time instead of the beginning of the day
unless get_date_internal is called with GNC_DATE_EDIT_SHOW_TIME
in which case the user-provided time is used.
2022-09-06 14:36:52 -07:00
John Ralls
a807d3e6b7 Create function gnc_tm_get_today_neutral.
To complement gnc_tm_get_today_begin and gnc_tm_get_today_end.
2022-09-06 14:35:11 -07:00
luz paz
ba94730a23 Fix various typos
Found via `codespell`
2022-09-06 10:44:29 -04:00
Christopher Lam
68aced362c [gnc-ab-utils] concise string accumulator 2022-09-06 18:14:15 +08:00
Christopher Lam
ecd2cdf425 [gnc-glib-utils] gnc_g_list_stringjoin skips NULL data 2022-09-06 18:14:15 +08:00
Christopher Lam
0f13471438 [ifrs-cost-basis] identify sale/purchase according to truth table
...instead of via flawed heuristics
2022-09-06 07:50:59 +08:00
Christopher Lam
3cb9fc5d17 [assistant-stock-transaction] std::optional must be nullified
to release memory
2022-09-05 12:33:02 +08:00
Christopher Lam
7366de9484 [ifrs-cost-basis] add options used as a report footer 2022-09-05 12:06:55 +08:00
이정희
b8d3b43fcd
Translation update by 이정희 <daemul72@gmail.com> using Weblate
po/ko.po: 53.9% (2911 of 5400 strings; 1386 fuzzy)
451 failing checks (8.3%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/

Co-authored-by: 이정희 <daemul72@gmail.com>
2022-09-03 17:21:58 +02:00
이정희
af65897278
Translation update by 이정희 <daemul72@gmail.com> using Weblate
po/ko.po: 52.4% (2830 of 5400 strings; 1415 fuzzy)
457 failing checks (8.4%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/

Translation update  by 이정희 <daemul72@gmail.com> using Weblate

po/ko.po: 51.4% (2780 of 5400 strings; 1437 fuzzy)
459 failing checks (8.5%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/

Translation update  by 이정희 <daemul72@gmail.com> using Weblate

po/ko.po: 50.5% (2732 of 5400 strings; 1482 fuzzy)
503 failing checks (9.3%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/

Translation update  by 이정희 <daemul72@gmail.com> using Weblate

po/ko.po: 49.5% (2676 of 5400 strings; 1524 fuzzy)
533 failing checks (9.8%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/

Co-authored-by: 이정희 <daemul72@gmail.com>
2022-09-03 05:18:34 +02:00
Christopher Lam
efde151ad7 [gnc-dense-cal] avoid GTimer leak
Not sure if this GTimer ever gets leaked, but at least this code is
now GTimer leak-free.
2022-09-02 22:00:35 +08:00
이정희
1998ce2ada
Translation update by 이정희 <daemul72@gmail.com> using Weblate
po/ko.po: 48.3% (2609 of 5400 strings; 1556 fuzzy)
539 failing checks (9.9%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/

Co-authored-by: 이정희 <daemul72@gmail.com>
2022-09-01 16:21:27 +02:00
Yaron Shahrabani
e2d67f300e
Translation update by Yaron Shahrabani <sh.yaron@gmail.com> using Weblate
po/he.po: 100.0% (5400 of 5400 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: Yaron Shahrabani <sh.yaron@gmail.com>
2022-08-31 16:36:10 +02:00
이정희
56d9870b35
Translation update by 이정희 <daemul72@gmail.com> using Weblate
po/ko.po: 46.6% (2519 of 5400 strings; 1638 fuzzy)
610 failing checks (11.2%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/

Co-authored-by: 이정희 <daemul72@gmail.com>
2022-08-31 16:36:10 +02:00
Christopher Lam
f3b3ccb8d8 [lot-viewer] don't show Open & Close dates when not applicable
Bug: an empty lot would show "Opened" date as 01/01/1970.

Fix on lot editor UI:
Empty lots have opening date "Empty", blank closing date.
Open lots have appropriate opening date, closing date "Open"
Closed lots have appropriate opening and closing dates.
2022-08-31 22:01:55 +08:00
John Ralls
95361ad060 [options] Move gnc-options test to engine/test/CMakeLists.txt. 2022-08-29 17:05:33 -07:00
John Ralls
9291548667 Merge branch 'maint' 2022-08-29 14:59:18 -07:00
John Ralls
0d0ab002f5 Fix use-after-free crash in gnc_set_busy_cursor. 2022-08-29 12:47:38 -07:00
Christopher Lam
70abdbd1ae [assistant-stock-transaction] send stock_amt | stock_val fieldmask
because the stock_value may be FieldMask::DISABLED with a stock split
in a short position. The | operator ensures FieldMask::ENABLED_CREDIT
is used, which negates the stock amount.
2022-08-29 13:53:33 +08:00
Christopher Lam
6d15e924db [assistant-stock-transaction] rename capital gains to capital gain
because in each stock transaction there's a singular capital gain or loss
2022-08-29 13:53:33 +08:00
Christopher Lam
44915861c8 [assistant-stock-transaction] rename "Cover buy" to "Buy to cover short"
more accurate
2022-08-29 13:34:39 +08:00
Vik
d98b1767c0
Translation update by Vik <xasertop@gmail.com> using Weblate
po/ru.po: 77.9% (4210 of 5400 strings; 815 fuzzy)
223 failing checks (4.1%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/

Co-authored-by: Vik <xasertop@gmail.com>
2022-08-27 16:27:03 +02:00
Christopher Lam
4e98056782 Bug 798598 - Selecting a line in a Vendor Credit Note changes display of Subtotal cell to 0.00
Because some more ledger types don't have discounts.
2022-08-27 22:26:17 +08:00
John Ralls
d5e93204e2 [options] Delegate widget grid insertion to create functions.
Gets rid of a lot of argument passing.
Also extracts much duplicated code to some inline helper functions.
2022-08-25 22:09:56 -07:00
John Ralls
4c85757b1f [options]Separate the option widgets from the option dialog. 2022-08-25 22:09:56 -07:00
John Ralls
4ae17d12c7 [options] Move options from app-utils to engine.
Options is required for book options that are stored as part of the data
 file and so belongs in engine.
2022-08-25 22:09:56 -07:00
John Ralls
f24f29830b [options] Change std::cerr stream output to PWARN.
Remove temporary diagnostic.
2022-08-25 22:09:56 -07:00
Christopher Lam
e91917b72f Merge branch 'maint' 2022-08-26 08:21:13 +08:00
Artem
5fab901a85
Translation update by Artem <artem@molotov.work> using Weblate
po/uk.po: 100.0% (5400 of 5400 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Ukrainian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/

Co-authored-by: Artem <artem@molotov.work>
2022-08-25 23:55:46 +02:00
Frank H. Ellenberger
03d8d028e2 Merge branch PR #1410 into maint 2022-08-25 23:47:34 +02:00
alexchap
d4622e7748 Update CMakeLists.txt
Add pme-19 template
2022-08-25 21:55:39 +02:00
alexchap
b91e81aff9 Create acctchrt_pme-19.gnucash-xea
Swiss SMB account chart

Update acctchrt_pme-19.gnucash-xea

Fix name of parent equity account + children
2022-08-25 21:55:38 +02:00
Christopher Lam
3e02859277 Merge branch 'maint' 2022-08-25 23:47:18 +08:00
mocsa
4efbddd538
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 58.5% (3163 of 5400 strings; 1303 fuzzy)
459 failing checks (8.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-22 18:57:16 +02:00
John Ralls
f412d91095 Import Matcher: Fix nullptr hash index crash. 2022-08-22 09:56:46 -07:00
Christopher Lam
2c5a5a0485 [assistant-stock-transaction] show stock acct when capitalizing fees
...in final page summary table.

The ignore_account bool is thus not used anymore, and can be removed.
2022-08-22 12:21:28 +08:00
Christopher Lam
ff4c656bac [assistant-stock-transaction] transcription error in truth table
Short Sell should have the same characteristics as Open Buy.
2022-08-22 12:05:38 +08:00
Christopher Lam
b7a3652de7 [date-utilities] avoid report crash if start>end date 2022-08-21 17:27:05 +08:00
Christopher Lam
9642025745 [html-chart] add percent formatter for numbers for older javascript
addendum to f99168064 for win32 builds
2022-08-21 17:10:00 +08:00
John Ralls
1b384df622 Bug 798385 - Description to often only "Landesbank Hessen-Thuringen Girozentrale"
Prepend the Ulitimate Creditor or Ultimate Debtor to the transaction description.
2022-08-19 12:18:22 -07:00
mocsa
12419e283b
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 58.5% (3163 of 5400 strings; 1303 fuzzy)
459 failing checks (8.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2022-08-18 18:31:56 +02:00
Christopher Lam
78f3b33b0c [assistant-stock-transaction] ellipsise memo, add tooltip to summary
Tooltip contains the full Memo field.
2022-08-19 00:31:20 +08:00
Christopher Lam
7e1cb7e2fa [assistant-stock-transaction] prettify the summary split info
- set Memo column to expand, otherwise Credit column expands
- Debit & Credit columns are right-aligned and have padding
2022-08-18 23:32:50 +08:00