Commit Graph

24380 Commits

Author SHA1 Message Date
Allan Nordhøy
cc5ce9d186 Translation update by Allan Nordhøy <epost@anotheragency.no> using Weblate
po/nb.po: 53.1% (2910 of 5479 strings; 1696 fuzzy)
506 failing checks (9.2%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2021-06-04 18:21:38 +02:00
Christopher Lam
ceeb1dff7a [scrub.c] g_value_unset 2021-06-05 00:21:21 +08:00
Christopher Lam
92cd437562 [Transaction.c] g_value_unset to release GValue string 2021-06-05 00:21:20 +08:00
Christopher Lam
3353d3950b [gnc-budget] g_value_unset GValue 2021-06-05 00:20:23 +08:00
Christopher Lam
a6ecd30741 [gnc-budget-view] free GList* 2021-06-05 00:20:10 +08:00
Henio Szewczyk
e0c6c76a01
Translation update by Henio Szewczyk <henryk.szewczyk09@gmail.com> using Weblate
po/glossary/pl.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/pl/

Translation update  by Henio Szewczyk <henryk.szewczyk09@gmail.com> using Weblate

po/pl.po: 61.8% (3388 of 5479 strings; 1588 fuzzy)
698 failing checks (12.7%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Henio Szewczyk <henryk.szewczyk09@gmail.com>
2021-06-03 17:23:51 +02:00
Brian Hsu
01e9f4dece
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 85.0% (4661 of 5479 strings; 497 fuzzy)
387 failing checks (7.0%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 80.8% (4431 of 5479 strings; 636 fuzzy)
457 failing checks (8.3%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 76.7% (4206 of 5479 strings; 811 fuzzy)
499 failing checks (9.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 72.7% (3987 of 5479 strings; 953 fuzzy)
543 failing checks (9.9%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 72.2% (3961 of 5479 strings; 975 fuzzy)
556 failing checks (10.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 71.3% (3910 of 5479 strings; 1007 fuzzy)
564 failing checks (10.2%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/glossary/zh_TW.po: 100.0% (208 of 208 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 68.8% (3770 of 5479 strings; 1097 fuzzy)
590 failing checks (10.7%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Co-authored-by: Brian Hsu <brianhsu.hsu@gmail.com>
2021-06-03 17:23:50 +02:00
Allan Nordhøy
16faea8d8f
Translation update by Allan Nordhøy <epost@anotheragency.no> using Weblate
po/nb.po: 52.3% (2870 of 5479 strings; 1739 fuzzy)
516 failing checks (9.4%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2021-06-03 17:23:49 +02:00
Frank H. Ellenberger
bdc8616425 Merge PR #1023 into maint 2021-06-03 17:14:44 +02:00
Christopher Lam
5e4668ea03 [gnc-ledger-display] free QofQuery* 2021-06-03 21:34:47 +08:00
Christopher Lam
a3e3823ee7 [qofquery] q->terms g_list members must be freed 2021-06-03 17:16:09 +08:00
Christopher Lam
9f1c179fca builder must be g_object_unref'ed 2021-06-03 16:12:46 +08:00
Christopher Lam
020f9a58f4 [gnc-plugin-page-register] Disable reverse on blank split 2021-06-03 13:50:10 +08:00
Timotheus Pokorra
51fb3f361e SKR-49: add missing code 4500-4504 2021-06-02 19:12:13 +02:00
Timotheus Pokorra
ce1818da08 SKR49: drop duplicate account 5490 2021-06-02 19:11:10 +02:00
Timotheus Pokorra
e8a36ddb95 SKR49: fix account code 0674 2021-06-02 19:10:22 +02:00
Christopher Lam
f525712260 [gnc-plugin-page-report] free char* 2021-06-02 22:04:54 +08:00
Christopher Lam
8a6413342d [SchedXaction] free GList* 2021-06-02 22:04:54 +08:00
Christopher Lam
c5585ebe2c [gncInvoice] free GList* 2021-06-02 22:04:52 +08:00
Christopher Lam
d611538ae7 [gncTaxtable] free GSList* 2021-06-02 22:04:33 +08:00
Christopher Lam
2807613c40 [gnc-plugin-page] free char* 2021-06-02 22:04:25 +08:00
Christopher Lam
f33b281046 [dialog-payment] xaccTransGetAPARAcctSplitList must be freed 2021-06-02 21:36:42 +08:00
Christopher Lam
fc67b03e5c [gnc-plugin-page-register] xaccTransGetAPARAcctSplitList must be freed 2021-06-02 21:36:42 +08:00
Christopher Lam
d79b2ea371 [gnc-icons] g_build_filename needs to be g_freed 2021-06-02 21:36:37 +08:00
Christopher Lam
b3101c9385 [gnc-pricedb.c] plug GList leak 2021-06-02 20:09:45 +08:00
Brian Hsu
2906b48468
Translation update by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate
po/zh_TW.po: 66.9% (3670 of 5479 strings; 1162 fuzzy)
604 failing checks (11.0%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 65.0% (3565 of 5479 strings; 1254 fuzzy)
618 failing checks (11.2%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 62.2% (3409 of 5479 strings; 1351 fuzzy)
650 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 61.0% (3346 of 5479 strings; 1385 fuzzy)
655 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Translation update  by Brian Hsu <brianhsu.hsu@gmail.com> using Weblate

po/zh_TW.po: 58.3% (3195 of 5479 strings; 1445 fuzzy)
665 failing checks (12.1%)
Translation: GnuCash/Program (Chinese (Traditional))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

Co-authored-by: Brian Hsu <brianhsu.hsu@gmail.com>
2021-06-01 18:34:45 +02:00
Christopher Lam
8a56a00313 Modify documentation for gncEntryComputeValue
Modify documentation for be19b489e
2021-06-01 08:14:25 +08:00
Christopher Lam
be19b489e4 [gncEntryLedger] free taxes, a list of GncAccountValue 2021-05-31 23:12:59 +08:00
Christopher Lam
c3ed055f31 [gncEntryLedgerModel] const functions should return static buffer 2021-05-31 22:22:54 +08:00
Christopher Lam
4a45d36047 [split-register-model] const functions should return static buffer 2021-05-31 22:22:54 +08:00
Robert Fewell
8f0631590b Add validation to the use of GNCAmountEdit for rest
Add validation of GNCAmountEdit where used in the remaining source
files and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
862e0ca579 Add validation to the use of GNCAmountEdit for search
Add validation of GNCAmountEdit where used in the search source
files and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
08b578a2e4 Add validation to the use of GNCAmountEdit for fincalc
Add validation of GNCAmountEdit where used in the fincalc source files
and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
510e186ed2 Add validation to the use of GNCAmountEdit for assistants
Add validation of GNCAmountEdit where used in the assistant source
files and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
92b877ccd1 Add validation to the use of GNCAmountEdit for Business
Add validation of GNCAmountEdit where used in the Business source files
and make changes required for the change in GNCAmountEdit widget.
2021-05-31 11:11:01 +01:00
Robert Fewell
faaed371ed Bug 798144 - Reconciliation uses different number than entered
If a number was pasted into the balance end value with a currency
symbol the number would silently fail on evaluate and cause the wrong
value to be used. With previous changes to the GNCAmountEdit widget a
warning symbol will indicate a validation error and prevents going
forward.
2021-05-31 11:11:01 +01:00
Robert Fewell
51b062524b Change GNCAmountEdit to be based on a GtkBox
To indicate that the expression entered has failed change the widget it
is based on to a box and add a warning triangle image with tooltip that
is made visible when the validation has failed. This is less intrusive
but if required the error message can be retrieved and used for a
warning dialog if that is in keeping with other dialog checks.
2021-05-31 11:11:01 +01:00
Robert Fewell
7ee9dac2e9 Add filter for currency symbol for GNCAmountEdit widget
When pasting an amount that includes the currency symbol the validation
will silently fail which may lead to unusual behaviour.
2021-05-31 11:11:01 +01:00
Robert Fewell
db6f233705 Incorrect validation for GNCAmountEdit
gnc_amount_edit_expr_is_valid can return 0 for validation OK, 1 for an
error with no position information and also the position of that error.
If the error was at position 0, that will look like the validation was
OK so instead return 1 and use a GError parameter using the position as
the code and setting the message to the common format used. Also as
gnc_amount_edit_evaluate could also benefit from using the GError add
that as a parameter and initially set all occurrences of use to NULL.
2021-05-31 11:11:01 +01:00
Robert Fewell
788166b3a7 Filter control characters when pasted to GNCAmountEdit 2021-05-31 11:11:01 +01:00
Robert Fewell
b728a331cf Realign source file gnc-amount-edit.* for white space 2021-05-31 11:11:01 +01:00
Robert Fewell
32f605aec2 Extract common code used in pricecell and formulacell to basiccell 2021-05-31 11:11:01 +01:00
Robert Fewell
6facaa0683 Change how the print_info is obtained for the register
Currently the register sets up some 'print_info' values using the
default account but if the register is a stock register they should be
obtained from a parent account with a currency.
2021-05-31 11:11:01 +01:00
Robert Fewell
748dbf54e0 Change monetary value for gnc_default_share_print_info
Share values are not currencies so set the monetary value to 0 for the
GNCPrintAmountInfo
2021-05-31 11:11:01 +01:00
Robert Fewell
435bb1c76b Parse the register monetary cells for a currency symbol
Add the ability to strip the currency symbol from a registry monetary
cell if it is pasted with one so it can be validated.
2021-05-31 11:11:01 +01:00
Robert Fewell
5779e72db4 Realign source file gnucash-item-edit.c for white space 2021-05-31 11:11:01 +01:00
Robert Fewell
d55060c0fc Bug 796761 - Control characters can be pasted in register fields
If copied text includes control characters they are inserted when
pasted which can cause alignment issues. This commit filters the
clipboard text for control characters before it is pasted.
2021-05-31 11:11:01 +01:00
Robert Fewell
ec9cdd151d Remove spurious GtkLabel from dialog-transfer.glade 2021-05-31 10:47:27 +01:00
峡州仙士
e5b11401d1 Translation update by 峡州仙士 <c@cjh0613.com> using Weblate
po/zh_CN.po: 100.0% (5479 of 5479 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: 峡州仙士 <c@cjh0613.com>
2021-05-30 05:10:15 +02:00
Christopher Lam
f37fa85705 build dom_tree_to_list_kvp_value more efficiently
seems to be unused however
2021-05-30 11:09:39 +08:00