Commit Graph

24177 Commits

Author SHA1 Message Date
Sean Guan
d547c3a53e
Translation update by Sean Guan <guanshangkang@gmail.com> using Weblate
po/zh_CN.po: 57.2% (3134 of 5479 strings; 1625 fuzzy)
635 failing checks (11.5%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: Sean Guan <guanshangkang@gmail.com>
2021-04-23 21:32:05 +02:00
Thomas Jungers
09d176cebf
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
po/fr.po: 70.5% (3868 of 5479 strings; 1130 fuzzy)
687 failing checks (12.5%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Translation update  by Thomas Jungers <thomasjungers@gmail.com> using Weblate

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

Translation update  by Thomas Jungers <thomasjungers@gmail.com> using Weblate

po/fr.po: 70.1% (3845 of 5479 strings; 1151 fuzzy)
694 failing checks (12.6%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-23 21:32:05 +02:00
Christopher Lam
2ba930713a Add new price source - 'nearest before report date'
Add new price source - 'nearest before report date' will ignore
prices *after* report date. Will be useful to fix bug 743753.
2021-04-23 21:47:28 +08:00
Christopher Lam
5957b3c256 Add scheme backward compatibility functions renamed in #979 2021-04-23 21:20:42 +08:00
John Ralls
49102c7ac2 Python Bindings: Provide a deprecated GncPriceDB.lookup_latest_before_t64.
To avoid breaking user scripts.
2021-04-23 11:56:15 +01:00
Robert Fewell
87285f945e Update gnucash_core.py with gnc-pricedb function name change 2021-04-23 11:56:15 +01:00
Robert Fewell
e535ba5411 Change some functions to use const gnc_commodity for gnc_pricedb 2021-04-23 11:56:15 +01:00
Robert Fewell
e75308e684 Rename a couple of gnc-pricedb functions that have not been used.
To be more consistent change gnc_pricedb_lookup_latest_before_t64 and
gnc_pricedb_lookup_latest_before_any_currency_t64 to be of the form
'_nearest_before_' and add a missing utest.
2021-04-23 11:56:15 +01:00
Robert Fewell
d3bd7fda61 Add unit tests for new gnc-pricedb functions 2021-04-23 11:56:15 +01:00
Robert Fewell
4a491f7cde Change a couple of docbook definitions in gnc-pricdb.h 2021-04-23 11:56:15 +01:00
Robert Fewell
05507008c5 Add retrieval functions for price before the date given
Add a new function, gnc_pricedb_convert_balance_nearest_before_price_t64
that retrieves the balance using the last price dated before a
specified date like today for the preset value. This uses another new
function gnc_pricedb_get_nearest_before_price to do the retrieval.
2021-04-23 11:56:15 +01:00
Robert Fewell
b54c30e03d Bug 798148 - Chart of Accounts page Present(xxx) value wrong
If for some reason you have price information in the future for a
security, the present value is based on the price retrieved for the
greatest date and not a price which is before the current date.

To fix this use the 'xaccAccountGetBalanceAsOfDateInCurrencyRecursive'
function.
2021-04-23 11:56:15 +01:00
Thomas Jungers
ab80a0c495
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
po/fr.po: 69.8% (3825 of 5479 strings; 1170 fuzzy)
700 failing checks (12.7%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-22 11:32:02 +02:00
TwoEightNine
3974584b59 Translation update by TwoEightNine <twoeightnine@list.ru> using Weblate
po/glossary/ru.po: 73.0% (152 of 208 strings; 28 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Russian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ru/

Co-authored-by: TwoEightNine <twoeightnine@list.ru>
2021-04-22 01:21:35 +02:00
Frank H. Ellenberger
8429fd6e7a I18N: Minor enhancements on translator comments 2021-04-22 01:16:36 +02:00
Frank H. Ellenberger
77ddb525d2 L10N:ca: update to last msgmerge 2021-04-22 01:15:45 +02:00
Frank H. Ellenberger
5966bae42b L10N:ca: Update from TP 2021-04-21 18:40:56 +02:00
TianXing_Yi
d822a0a082 Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 56.7% (3110 of 5479 strings; 1641 fuzzy)
651 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Translation update  by TianXing_Yi <duguqiubailee@gmail.com> using Weblate

po/zh_CN.po: 56.6% (3104 of 5479 strings; 1646 fuzzy)
654 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Translation update  by TianXing_Yi <duguqiubailee@gmail.com> using Weblate

po/glossary/zh_CN.po: 100.0% (214 of 214 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/zh_Hans/

Translation update  by TianXing_Yi <duguqiubailee@gmail.com> using Weblate

po/zh_CN.po: 56.6% (3104 of 5479 strings; 1646 fuzzy)
654 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-20 20:05:04 +02:00
Boyuan Yang
76919207b3 Translation update by Boyuan Yang <073plan@gmail.com> using Weblate
po/zh_CN.po: 56.6% (3104 of 5479 strings; 1646 fuzzy)
654 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: Boyuan Yang <073plan@gmail.com>
2021-04-20 20:05:04 +02:00
TianXing_Yi
4f0b28351b Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 56.5% (3099 of 5479 strings; 1647 fuzzy)
654 failing checks (11.9%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-20 20:05:04 +02:00
Avi Markovitz
cc5dbba194 Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
po/he.po: 100.0% (5479 of 5479 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>
2021-04-20 20:05:04 +02:00
Thomas Jungers
740cc85afa Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
po/fr.po: 69.8% (3825 of 5479 strings; 1170 fuzzy)
700 failing checks (12.7%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-20 20:05:04 +02:00
Pascal HUE
370bf8d9bb Translation update by Pascal HUE <pascal.hue35@gmail.com> using Weblate
po/fr.po: 69.8% (3825 of 5479 strings; 1170 fuzzy)
700 failing checks (12.7%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Pascal HUE <pascal.hue35@gmail.com>
2021-04-20 20:05:04 +02:00
Diego Marin
d450cf9ff3 Translation update by Diego Marin <alterne@gmail.com> using Weblate
po/fr.po: 69.8% (3825 of 5479 strings; 1170 fuzzy)
700 failing checks (12.7%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Diego Marin <alterne@gmail.com>
2021-04-20 20:05:04 +02:00
Wellington Terumi Uemura
e014408a2a Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5479 of 5479 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Translation update  by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate

po/pt_BR.po: 99.7% (5466 of 5479 strings; 10 fuzzy)
5 failing checks (0.1%)
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>
2021-04-20 20:05:04 +02:00
Frank H. Ellenberger
ea6894ab50 Translation update by Frank H. Ellenberger <frank.h.ellenberger@gmail.com> using Weblate
po/de.po: 99.6% (5462 of 5479 strings; 14 fuzzy)
325 failing checks (5.9%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/

Co-authored-by: Frank H. Ellenberger <frank.h.ellenberger@gmail.com>
2021-04-20 20:05:04 +02:00
John Ralls
bbb4113a5a Bug 798156 - glib 2.68.0 breaks gnucash
Move all of the #include <glib> to before the extern "C" blocks
so that the include guards will protect against headers inside
the extern "C" block also including glib.h.
2021-04-20 11:03:23 -07:00
John Ralls
40e005d963 Bug 798133 - Gnucash crash when any custom action is entered
1. Protect strlen call in gnucash_sheet_modify_current_cell to
prevent it from crashing.

2. Handle NULL selection in gnc_item_list_key_event when key is
GDK_KEY_Return so that new string in combo control is handled
correctly.
2021-04-20 10:22:05 -07:00
John Ralls
f7f35faefe Bug 797928 - Since last run asks for security price when no shares traded
Refactor a bit to ensure that the same price variable names and transaction
currency is used for both extracting the variables and retrieving
any required exchange rates, and that splits with no formula are
ignored in both cases.
2021-04-19 14:25:59 -07:00
Robert Fewell
cd355c20fc Bug 648335 - Add preference for 'Review Created Transactions'
Add a preference for the 'Review Created Transactions' setting in the
'Sinse Last Run' dialog so that the default can be specified.
2021-04-19 11:07:20 +01:00
Robert Fewell
2da78db5e4 Reformat schedule transaction source files for white space 2021-04-19 11:07:20 +01:00
Robert Fewell
c2a7b8eaaf Bug 753283 - Highlight missing when returning from schedule edit.
When you return from editing a scheduled transaction the highlight is
missing in the tree view. This is partly due to the model being
recreated when ever a change is made to a scheduled transaction. To
overcome this, the selected schedules are added to a GList which is
used in a new call back signal that has been added to indicate when the
model is populated. When this happens, the model is scanned for the
schedules that are in the GList so they can be reselected.
2021-04-19 11:07:20 +01:00
Robert Fewell
33b8a19253 Add depreciation warnings for the removal of individual option tool tips 2021-04-18 12:17:51 +01:00
Robert Fewell
02a6a0ae4a Remove the function gnc_option_permissible_value_description
Remove function and scheme using this function which deals with
individual tool tips on multi-choice options.
2021-04-18 12:17:51 +01:00
Robert Fewell
00bde6a32c Remove individual tool tips from radio button options 2021-04-18 12:17:51 +01:00
Robert Fewell
08f490ee98 Remove widget GncCombott - Part2
Remove tip entry for gnc:make-multichoice-option in SCM files and
change some of the multichoice items to that of the removed tip
2021-04-18 12:17:51 +01:00
Robert Fewell
e1525721ad Remove widget GncCombott - Part1
It has been decided that per menu item tooltips is not required so it
has been removed and replaced with GtkComboBox where required.
2021-04-18 12:17:51 +01:00
Frank H. Ellenberger
97c480cb08 I18N: Remove superflous newlines from online banking intro 2021-04-16 23:43:19 +02:00
Frank H. Ellenberger
2454395e24 L10N: msgmerge recent changes 2021-04-16 22:14:05 +02:00
Frank H. Ellenberger
daf4da8a22 L10N: Preparing patch for mgsmerge 2021-04-16 21:24:02 +02:00
Frank H. Ellenberger
8c29af5153 Bug 794877 - Intro text of "Online Banking Setup" is outdated 2021-04-16 21:18:38 +02:00
Frank H. Ellenberger
913c84b0a2 I18N: 1 Remove and 1 Improvement of text about Saved Settings 2021-04-16 20:05:50 +02:00
Frank H. Ellenberger
0d8f96ee7d I18N: Overwrite (one word) 2021-04-16 20:05:25 +02:00
Frank H. Ellenberger
26606c3b4e I18N: Explain $DISPLAY to translators 2021-04-16 20:05:10 +02:00
Frank H. Ellenberger
91d2bcdac9 I18N: Replace several wrong accent grave by apostroph 2021-04-16 20:04:55 +02:00
Frank H. Ellenberger
f12a134a26 I18N: Use a real sentence in the dup trans dialog tooltip 2021-04-16 20:04:26 +02:00
TianXing_Yi
a186f58bcf
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 56.4% (3097 of 5484 strings; 1650 fuzzy)
650 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-16 19:26:58 +02:00
Thomas Jungers
2e68ba69e3
Translation update by Thomas Jungers <thomasjungers@gmail.com> using Weblate
po/fr.po: 69.7% (3826 of 5484 strings; 1170 fuzzy)
682 failing checks (12.4%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Thomas Jungers <thomasjungers@gmail.com>
2021-04-16 19:26:57 +02:00
Guille Lopez
8b3d88fe25
Translation update by Guille Lopez <willelopz@gmail.com> using Weblate
po/glossary/es.po: 94.2% (196 of 208 strings; 6 fuzzy)
3 failing checks (1.4%)
Translation: GnuCash/Glossary (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/es/

Translation update  by Guille Lopez <willelopz@gmail.com> using Weblate

po/es.po: 94.5% (5185 of 5484 strings; 236 fuzzy)
84 failing checks (1.5%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

Co-authored-by: Guille Lopez <willelopz@gmail.com>
2021-04-16 16:12:30 +02:00
TianXing_Yi
b0abf2dc24
Translation update by TianXing_Yi <duguqiubailee@gmail.com> using Weblate
po/zh_CN.po: 56.3% (3091 of 5484 strings; 1656 fuzzy)
652 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Translation update  by TianXing_Yi <duguqiubailee@gmail.com> using Weblate

po/zh_CN.po: 56.3% (3090 of 5484 strings; 1656 fuzzy)
651 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Translation update  by TianXing_Yi <duguqiubailee@gmail.com> using Weblate

po/zh_CN.po: 56.3% (3090 of 5484 strings; 1656 fuzzy)
651 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Translation update  by TianXing_Yi <duguqiubailee@gmail.com> using Weblate

po/zh_CN.po: 56.3% (3090 of 5484 strings; 1656 fuzzy)
651 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Translation update  by TianXing_Yi <duguqiubailee@gmail.com> using Weblate

po/zh_CN.po: 56.3% (3090 of 5484 strings; 1656 fuzzy)
651 failing checks (11.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: TianXing_Yi <duguqiubailee@gmail.com>
2021-04-16 16:12:29 +02:00