Commit Graph

21783 Commits

Author SHA1 Message Date
Frank H. Ellenberger
7acc2706c6 Merge PR #626 into maint 2020-01-02 12:21:03 +01:00
milotype
b384800d8d L12N:hr: update croatian translation with pot file 3.8
5409 translated messages.
2020-01-02 12:19:05 +01:00
Frank H. Ellenberger
bccd9c707e Merge branch 'pr627' into maint 2020-01-02 11:31:23 +01:00
Christopher Lam
3d05f78caf [new-owner-report] add double-header
also create a num-cols function which returns an appropriate number of
cols for various report sections.
2020-01-02 17:17:21 +07:00
Christopher Lam
0397aca144 [html-table][API] html-table can have multirow-col-headers
NEW API:

gnc:html-table-multirow-col-headers and
gnc:html-table-set-multirow-col-headers!

gnc:html-table col-headers have been augmented to support list of th
rows.

* BACKWARD COMPATIBILITY is offered. old use of single-row headers API
gnc:html-table-col-headers and gnc:html-table-set-col-headers! should
be unchanged; will get/set a single row of th elements.

* NEW functions gnc:html-table-multirow-col-headers and
gnc:html-table-set-multirow-col-headers! will get/set an arbitrary
number of rows of th elements.

* using old API gnc:html-table-col-headers on a table, whose multiple
row headers have been set, will lead to a warning and return the first
row only.
2020-01-02 17:17:21 +07:00
Christopher Lam
f3499686ba [new-owner-report] style monetary sale/tax cols with number-cell 2020-01-02 17:17:21 +07:00
Frank H. Ellenberger
795fe9aa95 L12N:pl: Merge a fresh template
3521 przetłumaczonych komunikatów, 1465 tłumaczeń budzi wątpliwości, 414
nie przetłumaczonych komunikatów.
2020-01-02 08:46:15 +01:00
Frank H. Ellenberger
d6b52112f4 L12N:pl: Recover translator credits from git history 2020-01-02 08:44:56 +01:00
Jannick
f94319910d po/de.po: amend translation about eguile reports
* po/de.po: here.
2020-01-02 01:23:02 +01:00
Jannick
c8e5813957 po/de.po: fix translation bug 2020-01-02 00:35:05 +01:00
Michał Ciołek
b93be1ca70 Polish translation improved (part2) 2020-01-01 19:06:23 +01:00
Michał Ciołek
ef7db1758c Polish translation improved 2019-12-31 13:31:10 +01:00
Christian Stimming
e77db0671b German translation improved.
5401 translated.
2019-12-30 00:39:13 +01:00
Christian Stimming
80d8c962a4 I18n improvement: Translated column headers should get more human-readable names
... which also already exist as translations in many cases.
2019-12-30 00:39:13 +01:00
Christian Stimming
bbd2a7fc00 More translation improvements by scriptedly removing the removed colon suffix.
In continuation to 67b508ba (and now including the script
po/remove-suffix.sh as well) some more strings were scriptedly
updated in all available translations.
2019-12-30 00:39:13 +01:00
Christian Stimming
d9345c1691 Minor translation improvements
- Glossary needs "aging" as term
- Header gnc-commodity.h contains translatable strings
2019-12-30 00:39:11 +01:00
John Ralls
53ed90862c Bug 797536 - cmake errors out because it cannot find GncPkgConfig (cmake 3.5.2) 2019-12-29 12:35:13 -08:00
Christian Stimming
73a673e5b2 Re-apply 67b508ba: Improve translations by scriptedly removing the removed colon suffix.
The trailing colons have been removed in the source e.g.
here 6897f13e ff, but this created a lot of fuzzy translations.
With the po/remove-suffix.sh script, those changes are
adapted in all po files in order to make translators' life
easier.
2019-12-29 10:12:04 +01:00
Christian Stimming
d6d4307ab4 Update recently updated translation files with gnucash.pot template
(to prepare for merging commit 67b508ba)
2019-12-29 10:11:09 +01:00
John Ralls
211c1119f3 Release GnuCash 3.8. 2019-12-28 13:38:13 -08:00
John Ralls
d51b4d7f08 Bug 797532 - Crash/Coredump Lots
Replace the asserts in cap-gains.c with g_return_val_if_fail. There's
nothing about cap-gains.c that justifies crashing the program.
2019-12-28 13:36:11 -08:00
John Ralls
3bab92367a Improve bug-fix detection and reformatting in release-notes script. 2019-12-28 13:35:51 -08:00
Christopher Lam
85058f8278 [stylesheet-css] a user-customisable CSS based stylesheet
New stylesheet. Exposes a single text box for full CSS customisability.
2019-12-28 17:21:45 +07:00
John Ralls
3e3a553163 Latest translations from the Translation Project 2019-12-27 16:54:38 -08:00
Geert Janssens
cd8698321d Bug 797482 - Can't edit date when using Edit Payment function 2019-12-27 18:38:55 +01:00
Geert Janssens
3be7f993ac Allow account selection by typing into the post-to field of the payment window 2019-12-27 18:19:13 +01:00
Geert Janssens
1dc595589e Bug 796530 - [txn csv importer] usability suggestions
Fix account selection by typing in the base account combo box text field
The typing triggered the combobox' changed event. That triggered a repopulation
of the csv data treeview (due to possibly having to unset an account column).
That then in the end retriggered setting the base account. However while typing
in the combo box there may not be a valid account selected in the combo box.
So break this short circuit by testing for a change in the last-known base account
compared to what the combo box believes is the proper account. This last-known
account nore the combo box' internal state will change while typing allowing
proper user input.
2019-12-27 18:19:13 +01:00
Geert Janssens
77ddaf91ab Bug 796530 - [txn csv importer] usability suggestions
Do the same for the price csv importer
2019-12-27 18:19:13 +01:00
Geert Janssens
41b4faf5eb Bug 796530 - [txn csv importer] usability suggestions
Add note to tooltips for 'Save Settings' and 'Delete Settings' regarding
reserved save names
2019-12-27 18:19:13 +01:00
Robert Fewell
9291ad23d6 Take account of some columns in the register having 'Tot' added.
In the journal register and when using auto split some register columns
have 'Tot added to them like 'Tot Debit' depending on where the cursor
is so if you tried to size that column with a double click on the
header it would be based on the short name. This changes fixes that.
2019-12-27 16:08:42 +00:00
Robert Fewell
28718689dc Take account for the pop up button border in the register.
If the pop up button border is specified in CSS, the default size of
the button needs to change so retrieve the border and add it to the
default button size. Also only add the button margin when cells have
the button.
2019-12-27 16:07:46 +00:00
Robert Fewell
ff10aa24f1 Change the date sample so it has the maximum text width possible 2019-12-27 16:06:43 +00:00
Christopher Lam
b7b81699c9 [new-owner-report] bugfix: balance row needs variable linked cols 2019-12-27 07:13:44 +07:00
Christian Stimming
7629a0185e Update German translation.
5311 translated, 52 fuzzy, 43 untranslated.
2019-12-26 18:36:02 +01:00
Christian Stimming
67b508babe Improve translations by scriptedly removing the removed colon suffix.
The trailing colons have been removed in the source e.g.
here 6897f13e ff, but this created a lot of fuzzy translations.
With the po/remove-suffix.sh script, those changes are
adapted in all po files in order to make translators' life
easier.
2019-12-26 18:23:07 +01:00
Christian Stimming
54f06df2a9 Update all translation files with most recent gnucash.pot template
(... to prepare for some scripted message de-fuzzification...)
2019-12-26 18:23:02 +01:00
Christopher Lam
b65863019a [new-owner-report] insert narrow-cell to split LHS and RHS cleanly
add narrow-cell to cleanly delineate LHS owner-report and RHS links.

also fix some detail visibility whereby some columns are switched off
in options.
2019-12-26 22:56:39 +07:00
Christopher Lam
fc69269664 [new-owner-report] improve maintainability - rename vars
1. rename vars to better reflect meaning (num to ref, memo to desc,
value-col to bal-col)
2. reindent
3. final gnc-get-num-action swap to gncInvoiceGetID
2019-12-26 22:55:39 +07:00
Christopher Lam
12705e4fbf Bug 797521 Receivable Aging (beta): prepayments logic doesn't work, appears to use incorrect absolute value logic
Final changes after feedback.

* LHS rows now have rowspan as many as linked rows.
* use gncInvoiceGetID instead of xaccSplitGetMemo
* use gncInvoiceGetType instead of gnc-get-action-num to find txn type
which is unreliable
* swap type/description to reference/type columns
* reuse strings
* URLs generally:

  document -> document-editor

  monetary -> register; all anchors point to non-APAR account. this
  reinforces the view that APAR account is an implementation detail,
  and most invoice posting/payment activity belong in the Transfer
  account.
2019-12-25 23:38:29 +07:00
Christopher Lam
8fb73c7ed1 [gnc-lot.h] amend description for gnc_lot_get_earliest_split
this function doesn't necessarily point to the lot opening split.
2019-12-24 16:43:55 +07:00
Christopher Lam
f583bc6d86 [test-owner-report] amend to test different descriptions 2019-12-24 11:12:12 +07:00
Christopher Lam
5ebbb74435 [new-owner-report] invoice->payments displays lot links
Change of algorithm to display invoice->payments.

Previously: invoice->lot->splitlist; filtered to payments; retrieve
splits->parent->xaccPaymentAcctSplitList This would find payment
splits in originating currency.

But this fails for lot-link txns whose PaymentAcctSplitList is null.

New algorithm:

- invoice->lot->split-list, each lot-split analysed

- TXN-TYPE-PAYMENT lot-splits will query TransferAcct and each will be
rendered in the originating currency, if they haven't been encountered
before in this invoice.

- TXN-TYPE-LINK lot-splits are rendered as a generic 'Offset
Documents' link to lot-link splits. This helps link invoice to the
link transaction to locate the corresponding credit-note. It is not
possible to link to the corresponding credit-note because a
link-transaction can group many invoices to many credit-notes.

Also:

Increase right-hand-side links from 3 to 4 columns. I think it's quite
useful to add 'Credit Note' 'Invoice' 'Payment' as a separate
column.
2019-12-24 10:55:26 +07:00
Robert Fewell
5a7c8eca89 Change Invoice Entries in dialog-invoice.glade
Change 'Invoice Entries' to just 'Entries' which can be used for all
types Invoice, Bills and Vouchers
2019-12-23 16:21:47 +00:00
Geert Janssens
9f1603d3bb Merge branch 'fix_bug_743943' of https://github.com/mauritslamers/gnucash into maint 2019-12-23 13:32:43 +01:00
Maurits Lamers
da42966629 add { NULL, NULL } markers at the end of the arrays and remove translation markers for placeholder texts. 2019-12-23 11:51:17 +01:00
Maurits Lamers
15c7aacb02 I18N: Make capitalization consistent in tooltip texts 2019-12-23 11:51:17 +01:00
Maurits Lamers
48fef49e3b add include to gncInvoice.h to make sure the
GncInvoiceType enum is available
2019-12-23 11:51:17 +01:00
Maurits Lamers
61792d9bd9 Bug #743943 - "Edit->Post Invoice" is ambiguous
Read invoice type and set label and tooltip texts to
the translations of static definitions.
Remove unnecessary list counts.
2019-12-23 11:51:03 +01:00
Christopher Lam
92509761a5 sort-and-delete-duplicates: change < function to ensure dedupe works
sort-and-delete-duplicates require that the < proc can sort elements
properly.

In new-owner-report, previous used split->parent->posted_date for
sorting during call to sort-and-delete-duplicates. This does not
guarantee equal elements will be adjacent. Using xaccSplitOrder
satisfies that guarantee, and splits will be deduped properly.

Also account and commodity comparison functions similarly defined to
have consistent code.

This change will modify the output in some tests (e.g. balsheet-pnl
will now group currencies and commodities together due to
string-comparison using gnc-commodity-get-full-name) which must be
modified.
2019-12-18 06:31:15 +08:00
Robert Fewell
984fe65822 Move the adding of the register state file comment
The adding of the register comment to the state file is at the start
of the gnc_table_save_state function but this only gets added if the
state_section already exists and on first register save it does not so
move it to after the register column widths are added so the
state_section will exist.
2019-12-16 14:54:31 +00:00