Frank H. Ellenberger
b9c5416a00
Merge PR #1457 into maint
2023-02-19 17:42:42 +01:00
Frank H. Ellenberger
4bbe1f6977
L10N:cs: add glossary to CMakelists.txt
2023-02-19 16:11:01 +01:00
Frank H. Ellenberger
d922876d18
L10N:DE:SKR04 drop a placeholder
2023-02-19 15:01:49 +01:00
Frank H. Ellenberger
5e0e686356
L10N:cs: Add glossary and fix plural formula
2023-02-19 12:55:57 +01:00
Szia Tomi
69f838b84a
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-02-19 00:42:41 +01:00
Kryštof Černý
339a45d01f
Translation update by Kryštof Černý <cleverline1mc@gmail.com> using Weblate
...
po/cs.po: 45.8% (2478 of 5401 strings; 1805 fuzzy)
701 failing checks (12.9%)
Translation: GnuCash/Program (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/cs/
Translation update by Kryštof Černý <cleverline1mc@gmail.com> using Weblate
po/cs.po: 45.8% (2478 of 5401 strings; 1805 fuzzy)
701 failing checks (12.9%)
Translation: GnuCash/Program (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/cs/
Translation update by Kryštof Černý <cleverline1mc@gmail.com> using Weblate
po/cs.po: 44.2% (2390 of 5401 strings; 1901 fuzzy)
681 failing checks (12.6%)
Translation: GnuCash/Program (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/cs/
Co-authored-by: Kryštof Černý <cleverline1mc@gmail.com>
2023-02-19 00:42:41 +01:00
mocsa
d6afb0da5e
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 63.0% (3403 of 5401 strings; 1019 fuzzy)
381 failing checks (7.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 62.5% (3378 of 5401 strings; 1062 fuzzy)
396 failing checks (7.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 62.3% (3366 of 5401 strings; 1074 fuzzy)
396 failing checks (7.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 62.2% (3363 of 5401 strings; 1077 fuzzy)
396 failing checks (7.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 62.2% (3363 of 5401 strings; 1077 fuzzy)
395 failing checks (7.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.5% (3322 of 5401 strings; 1133 fuzzy)
400 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.4% (3320 of 5401 strings; 1135 fuzzy)
400 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.4% (3317 of 5401 strings; 1138 fuzzy)
400 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3309 of 5401 strings; 1156 fuzzy)
409 failing checks (7.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3308 of 5401 strings; 1161 fuzzy)
403 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3308 of 5401 strings; 1164 fuzzy)
406 failing checks (7.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3308 of 5401 strings; 1164 fuzzy)
405 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3308 of 5401 strings; 1164 fuzzy)
404 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.1% (3305 of 5401 strings; 1175 fuzzy)
412 failing checks (7.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.8% (3286 of 5401 strings; 1194 fuzzy)
400 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-19 00:42:40 +01:00
Christopher Lam
5acf686c76
[eguile-utilities.scm] fmtnumeric: use xaccPrintAmount
...
fmtnumeric is used to render Quantity, Discount percent. Previously it
would render 1/3 as 0.333333333. Use xaccPrintAmount to show exact
fractions for Qty and Discount, where appropriate.
2023-02-18 13:13:54 +08:00
Christopher Lam
2acba0ea18
[taxinvoice.scm] use fmtnumeric to render discount percentage
2023-02-18 13:10:50 +08:00
Jeff
87ff5f1191
[taxinvoice.eguile.scm] subtotal discount column appropriately
2023-02-18 13:08:46 +08:00
Christopher Lam
498799a749
[receipt.eguile.scm] remove commented-out line
2023-02-18 13:08:33 +08:00
mocsa
10b73de133
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 60.8% (3285 of 5401 strings; 1196 fuzzy)
553 failing checks (10.2%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.7% (3280 of 5401 strings; 1203 fuzzy)
556 failing checks (10.2%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.9% (3345 of 5401 strings; 1212 fuzzy)
562 failing checks (10.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.9% (3344 of 5401 strings; 1213 fuzzy)
548 failing checks (10.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.9% (3344 of 5401 strings; 1213 fuzzy)
534 failing checks (9.8%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.9% (3344 of 5401 strings; 1213 fuzzy)
516 failing checks (9.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.9% (3344 of 5401 strings; 1213 fuzzy)
507 failing checks (9.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.9% (3344 of 5401 strings; 1213 fuzzy)
496 failing checks (9.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-13 16:28:25 +01:00
Christopher Lam
851b51d547
[new-owner-report] use let* to access split->owner
...
oops
2023-02-13 23:27:38 +08:00
Christopher Lam
4953cf94fa
[reports] use gnc:make-split->owner with guardian
...
Instead of a gnc:split->owner, use gnc:make-split->owner instead which
generates a split->owner function with its own hashtable. This
function (and its hash table) will be garbage collected in due course,
triggering the gncOwnerFreeing of all owners.
This is a better approach than gnc:split->owner which maintains a
single hash table. It could be buggy: a report calls gnc:split->owner
to query a split, fails to reset its hashtable via #f; the split's
owner is assigned or modified, and the next call to gnc:split->owner
will return the incorrect cached owner.
2023-02-13 23:17:02 +08:00
Szia Tomi
2b32382c78
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 61.9% (3344 of 5401 strings; 1213 fuzzy)
492 failing checks (9.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 61.8% (3343 of 5401 strings; 1214 fuzzy)
492 failing checks (9.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 61.8% (3343 of 5401 strings; 1214 fuzzy)
492 failing checks (9.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-02-12 16:35:52 +01:00
Kárász Attila
dd972d9d21
Translation update by Kárász Attila <cult.edie@gmail.com> using Weblate
...
po/hu.po: 61.8% (3343 of 5401 strings; 1214 fuzzy)
493 failing checks (9.1%)
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: 61.8% (3342 of 5401 strings; 1214 fuzzy)
492 failing checks (9.1%)
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: 61.8% (3341 of 5401 strings; 1214 fuzzy)
492 failing checks (9.1%)
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>
2023-02-12 16:35:51 +01:00
Szia Tomi
72dc75b451
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-02-12 16:35:51 +01:00
Kryštof Černý
7def8a8e87
Translation update by Kryštof Černý <cleverline1mc@gmail.com> using Weblate
...
po/cs.po: 44.2% (2388 of 5401 strings; 1917 fuzzy)
704 failing checks (13.0%)
Translation: GnuCash/Program (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/cs/
Co-authored-by: Kryštof Černý <cleverline1mc@gmail.com>
2023-02-12 16:35:47 +01:00
aleksej0R
3486cc7535
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>
2023-02-12 16:35:46 +01:00
mocsa
16015110de
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 61.8% (3341 of 5401 strings; 1213 fuzzy)
491 failing checks (9.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-12 16:35:46 +01:00
John Ralls
66d9f1383e
Merge Ralf Habacker's 'fix-798732' into maint.
2023-02-06 12:35:49 -08:00
Christopher Lam
9c87585d4e
Bug 798747 - Crash in Investment Portfolio report
...
add support for pricedb-before in portfolio reports
2023-02-05 22:19:36 +08:00
Christopher Lam
68cd8cfa2c
[portfolio] remove unused the_price
2023-02-05 17:24:49 +08:00
John Ralls
928f4f6232
Fix test error from replacing guile * form.
2023-02-04 14:12:35 -08:00
John Ralls
1c09adec87
Use gnc_numeric_multiply instead of Guile's * form for computing prices.
...
Partly fixes bug 798550 (https://bugs.gnucash.org/show_bug.cgi?id=798550 )
Guile's * form when applied to rationals doesn't reduce and since
guile uses gmp for unlimited precision arithmetic produces numbers
that can't be passed back to C functions because they're too big for
any normal C integer types.
2023-02-04 09:43:56 -08:00
John Ralls
ce3447e6ea
Bug 798740 - Build fails with gcc 13
...
Protect against passing an lseek failure rv to read().
2023-01-30 16:48:16 -08:00
Geert Janssens
8a167d186b
Payment dialog - always list all possible post accounts
...
Before only the post account in the currency of the selected
vendor or customer was available.
This was reported in bug 797487n comment 17.
2023-01-30 13:48:19 +01:00
Geert Janssens
849aea31ef
Bug 797477 - Manual foreign transaction from APAR to another doesn't trigger price input
2023-01-30 12:07:39 +01:00
Geert Janssens
5bbfb8efd4
Add proper indent to scheme changes from previous commit
...
Committed seperately to make it easier to look at the actual changes.
This commit only adds a 2 space indent to one function body.
2023-01-29 23:11:49 +01:00
Geert Janssens
34ed91eac9
Bug 798734 - Aging Reports don't handle mixed currency payments and invoices without Trading Accounts
...
Revisit the fix. It still made assumptions about the way
payment transactions were created. It can now handle
payment transaction either in the payment account
currency or in the post account currency.
2023-01-29 23:09:06 +01:00
Geert Janssens
894f8241e1
Revisit invoice payment in multi-currency context
...
- Show proper amount in dialog when applying or editing an existing transaction as payment
- Be more careful not to waste the existing payment split
- If the user changed the payment amount while starting from an existing transaction
unreconcile the changed payment split
- Avoid needlessly changing transaction currency (only do so if the user chose
a new transfer account and the old currency is neither the new transfer account's
currency nor the post account's currency)
2023-01-29 23:09:06 +01:00
Geert Janssens
2d3d05068d
Edit/assign payment - be more prudent not to lose data
...
We can't handle the case where a transaction has splits in more than one
APAR account. Instead of only warning that some of them will be lost
refuse to continue and leave it to the user to fix the transaction first.
2023-01-29 23:09:06 +01:00
Geert Janssens
8e6fb15d44
Improve a few messages related to business payments
2023-01-29 23:09:06 +01:00
Geert Janssens
dd50c7af13
Multi-currency - show split amount rather than transaction value
...
This issue was found while evaluating bug 798734, but not
the immediate topic of that bug.
2023-01-29 23:09:06 +01:00
Christopher Lam
34be3c8b14
[report-utilities] use fold for gnc:accounts-count-splits
...
previous definition would build intermediate lists for each step. also
handles the null account-list.
2023-01-29 23:51:31 +08:00
Geert Janssens
3a6d1ea663
Bug 798737 - Minor grammatical error - 'for' missing in 'You will be asked a conversion rate for each.'
2023-01-29 10:14:38 +01:00
Christopher Lam
e615a5775a
Bug 798734 - Aging Reports don't handle mixed currency payments and invoices without Trading Accounts
2023-01-28 20:53:24 +08:00
luzpaz
67ab9e90d2
Fix some typos
2023-01-26 13:48:58 +01:00
John Ralls
f4c6d65395
Merge Bob Fewell's 'nofree' into maint.
2023-01-24 13:25:02 -08:00
John Ralls
46f9fb01c9
Simplify gnc_commodity equality and compare functions.
...
gnc_commodity_compare is used for sorting and so needs to have a less-than
return value. The only place it's used presents nothing to the UI; a GncGUID
ordering is fast and stable.
GnuCash allows only one commodity per book for any namespace/mnemonic pair, so
the exhaustive string comparisons are superflous. While the current engine
design allows only one instance of any object, meaning that a pointer comparison
is sufficient to determine equality, that may not be true in the future, but the
GncGUID is guaranteed to sufficiently identify a single commodity. Note that
gnc_commodity_equiv is used to enforce that single-commodity rule and so cannot
use GncGUID comparison.
2023-01-24 10:46:01 -08:00
Ralf Habacker
7c605043c3
Bug 798732: Type of balance carry forward accounts for german skr49 account template fixed
...
The accounts listed are of the EQUITY type and not ASSET.
2023-01-24 11:08:25 +01:00
John Ralls
a81b72f04c
Merge Ralf Habacker's 'activate-opening-balance-accounts' into maint.
2023-01-23 14:43:49 -08:00
Richard Cohen
19bbde7000
Fix some typos
2023-01-23 15:01:46 +00:00
Christopher Lam
d1b84fae9f
[balsheet-pnl] shorten workload by deduping commodities
2023-01-23 14:59:20 +08:00
Christopher Lam
c16bde1aea
[commodity-utilities] shorten workload by deduping commodities
2023-01-23 14:12:26 +08:00
John Ralls
ae6efa39ca
Merge 2 simple PRs from Richard Cohen into maint.
2023-01-22 10:41:02 -08:00
richardcohen
2a119375c3
Avoid touching the global errno
2023-01-22 10:40:00 -08:00
richardcohen
f3cc223f5f
Fix some bad code formatting
2023-01-22 10:39:48 -08:00
Vin
2d66631fea
Translation update by Vin <k3kelm4vw@mozmail.com> using Weblate
...
po/ru.po: 77.9% (4210 of 5401 strings; 816 fuzzy)
326 failing checks (6.0%)
Translation: GnuCash/Program (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ru/
Co-authored-by: Vin <k3kelm4vw@mozmail.com>
2023-01-20 20:01:45 +01:00
Christopher Lam
69cf911afa
Translation update by Christopher Lam <christopher.lck@gmail.com> using Weblate
...
po/fr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Christopher Lam <christopher.lck@gmail.com>
2023-01-19 17:49:54 +01:00