Commit Graph

27010 Commits

Author SHA1 Message Date
Richard Cohen
ec169e6e24 Fix some non-translatable typos 2023-02-27 11:32:12 +00:00
Szia Tomi
f483d7588e
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-27 02:18:53 +01:00
mocsa
6616ce1077
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 64.1% (3464 of 5401 strings; 960 fuzzy)
199 failing checks (3.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: 64.0% (3461 of 5401 strings; 963 fuzzy)
199 failing checks (3.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-27 02:18:53 +01:00
Christopher Lam
47b85d3b2f [gnc-xml-backend.cpp] g_free char* from g_path_get_dirname 2023-02-27 09:18:01 +08:00
John Ralls
ba12e31251 Bug 798753 - UX improvements in new import dialog
Rename the dialog to not mention export since we don't use it for that.
Change the key-column names to be specific to the listview.
Add tooltips to the listviews to explain what they're for
Persist the selected imexporter and profile in the book's state file.
Stop the inappropriate "there are transactions do you want to import
them?" dialog (missing AWAIT_TRANSACTIONS in gnc_ab_import_context call).
2023-02-26 12:17:09 -08:00
Christopher Lam
89e2bef427 Merge branch 'maint' 2023-02-26 13:51:33 +08:00
Christopher Lam
89e63ef672 Bug 798754 - Build fails with gcc 13 and glib > 2.76, ter 2023-02-26 08:30:14 +08:00
John Ralls
6ab7b16d62 [c++options] Restore the ability to set plot sizes in pixels.
Enable and fix the previously untested GtkOptionGtkUIItem::PLOTSIZE.

This has the potentially unfortunate side effect that integer range
options are assumed to be plot sizes. That's correct for now, but
if some report comes along that needs an integer range option for
something else it will have to be differentiated.
2023-02-25 16:25:36 -08:00
John Ralls
408b5ec216 [c++ options] Restore forward & backward compatibility, fix crash.
Store Number Range option values as a pair '(percentage . value) or '(pixels .
value) depending on the size of value as 4.x and earlier expect. When reading a
stored number range option handle the possibility that value is fixed
point (e.g. 50.0) as 4.x and earlier emit, avoiding a crash.
2023-02-25 16:25:36 -08:00
Christopher Lam
0780cfbfd2 [gnucash.cpp] quote_soures is a GList of char* to be g_freed 2023-02-25 20:02:54 +08:00
Christopher Lam
abcce5000c Bug 798754 - Build fails with gcc 13 and glib > 2.76, bis 2023-02-25 13:12:35 +08:00
Geert Janssens
26482f397b Bug 797033 - The CSV Importer should not obey with the "automatic digital point" setting
Expose variations of xaccParseAmount and
xaccParseAmountExtended that will ignore the
automatic decimal point user preference.
This preference is really only useful for manual number
entering in the register.

The xaccParseAmountImport variant replaces xaccParseAmountPosSign
which was used exclusively by the csv importers.
Like xaccParseAmountPosSign, this replacement has the flag
to ignore or parse the positive number indicator.
2023-02-24 23:02:15 +01:00
Frank H. Ellenberger
fcbda57a6b Merge branch 'maint' 2023-02-24 19:19:12 +01:00
Geert Janssens
9be232cd80 Bug 798572 - Parse numbers with two minus signs as a positive numbers 2023-02-24 14:22:16 +01:00
Szia Tomi
9b626af30d
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 63.8% (3449 of 5401 strings; 996 fuzzy)
290 failing checks (5.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-02-23 18:53:21 +01:00
Kryštof Černý
c7cce26869
Translation update by Kryštof Černý <cleverline1mc@gmail.com> using Weblate
po/glossary/cs.po: 0.9% (2 of 212 strings; 0 fuzzy)
7 failing checks (3.3%)
Translation: GnuCash/Glossary (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/cs/

Co-authored-by: Kryštof Černý <cleverline1mc@gmail.com>
2023-02-23 18:53:21 +01:00
mocsa
c9c7c0a984
Translation update by mocsa <csaba@feltoltve.hu> 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 mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 63.8% (3449 of 5401 strings; 996 fuzzy)
323 failing checks (5.9%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by mocsa <csaba@feltoltve.hu> 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 mocsa <csaba@feltoltve.hu> using Weblate

po/hu.po: 63.7% (3442 of 5401 strings; 1000 fuzzy)
308 failing checks (5.7%)
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: 63.1% (3413 of 5401 strings; 1010 fuzzy)
258 failing checks (4.7%)
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: 63.1% (3411 of 5401 strings; 1013 fuzzy)
254 failing checks (4.7%)
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: 63.1% (3410 of 5401 strings; 1013 fuzzy)
252 failing checks (4.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: 63.0% (3406 of 5401 strings; 1015 fuzzy)
241 failing checks (4.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-23 18:53:21 +01:00
John Ralls
184669f517 Bug 798754 - Build fails with gcc 13 and glib > 2.76
GLib 2.76 introduced a no-discard warning on g_string_free
if the second parameter is FALSE. This revealed a string
leak and a correct usage that didn't use the return value.
2023-02-23 09:47:37 -08:00
Geert Janssens
549c93e005 Fix test for import-backend
Another split function needed mocking
2023-02-23 12:33:31 +01:00
Geert Janssens
fa980fb1c6 Bug 798334 - Importing transactions from CSV with space as thousand separator
In addition to stripping currency symbols also strip
all whitespace from fields that are to be interpreted
as numbers.
2023-02-22 15:49:42 +01:00
Geert Janssens
8c0032efc2 Bug 798691 - Memo field not updated on CSV import using U+C 2023-02-22 14:46:02 +01:00
Geert Janssens
b2703d8a02 CsvTokenizer - add additional test case for escaped quotes
It simulates the case where csv fields are fully quoted and an escaped
quote ("") is found in some field. This case is handled correctly,
adding the test to guard this in potential future modifications.
2023-02-22 14:45:44 +01:00
Geert Janssens
7fbe42530f One more empty string test for PR#1527 2023-02-22 10:51:49 +01:00
Christopher Lam
45cdf40785 Merge branch 'master-progress' #1527 2023-02-22 09:08:28 +08:00
John Ralls
4666a426ed Merge Richard Cohen's 'warn-deprecated-gtk-glib' into master. 2023-02-21 15:39:01 -08:00
Christopher Lam
50e9e70592 [import-backend] don't search GHashTable twice
search acct_id_hash once for dest_acct
2023-02-21 23:32:56 +08:00
Christopher Lam
bf79d6fa58 gtk_entry_get_text instead of gtk_editable_get_chars 2023-02-21 23:32:56 +08:00
Christopher Lam
8d44c1c38c [dialog-customer|employee|job|vendor] harmonize title setter 2023-02-21 23:32:56 +08:00
Christopher Lam
03871c55cf [dialog-employee] toggle sensitivity instead of visibility of GncAccountSel 2023-02-21 23:18:05 +08:00
Christopher Lam
f170d1d54c [dialog-customer|employee|vendor] combine GtkCheckButton with label
UX: increase the target area for click.

Also move GtkCheckButton to left-column and its dependent GtkWidget to
right-column.
2023-02-21 23:18:05 +08:00
Christopher Lam
016f82cf8b [eguile-utilities.scm] remove fmtnumber
deprecated in maint.
2023-02-21 23:18:05 +08:00
Richard Cohen
6470319c88 Warn about deprecated gtk, glib
- G_DISABLE_DEPRECATED no longer exists (as of glib 2.61.2)
- Turn off aqbanking global deprecation

Spoilers:

- gtk
 - (3.22) gdk_screen_width
 - (3.22) gdk_screen_height

- glib
 - (2.68) g_binding_get_target -> g_binding_dup_target

- aqbanking
 - AB_Banking_LoadSharedConfig
2023-02-21 12:59:42 +00:00
Richard Cohen
bddb4468fa Import GLIB2 as a target, and use it to simplify the CMakeLists 2023-02-21 12:59:42 +00:00
Richard Cohen
17648ac91f Remove unused ${GTK_INCLUDE_DIRS} and unneeded ${GTK3_INCLUDE_DIRS} 2023-02-21 12:59:37 +00:00
Richard Cohen
27fe72496e Remove unused ${GLIB_LIBS} ${GLIB_INCLUDE_DIRS}
They have been replaced by GLIB2_*
2023-02-21 12:50:38 +00:00
Richard Cohen
c2a1cd1038 Remove unused ${GNOME_LDFLAGS} 2023-02-21 12:50:38 +00:00
Robert Fewell
08de175e65 Fix previous commit due to recent build changes 2023-02-21 12:03:45 +00:00
Robert Fewell
c2242f769c Add a test for the built in default report invoice define 2023-02-21 10:51:01 +00:00
Robert Fewell
ec7cc27d6d Add tests for default invoice report book property 2023-02-21 10:48:34 +00:00
Robert Fewell
76f0e3a97e Add some PWARN messages to the default invoice report
book functions
2023-02-21 10:44:07 +00:00
Robert Fewell
e84ecd64a0 Remove leftover function from business-gnome-utils.h 2023-02-21 10:40:33 +00:00
Robert Fewell
d6514a47f2 Windows build failure, variable set but not used
With the introduction of using -Werror=unused-but-set-variable, a
variable in strptime.c was defined but no used.

Moved to be included in #ifdef _NL_CURRENT as that is where it is used.
2023-02-21 10:15:26 +00:00
Robert Fewell
d4820a25a4 Sort the gnc tree view column menu 2023-02-21 10:15:26 +00:00
Robert Fewell
b59bf0b633 Delete action on account page not disabled on edits
When the notes or description cells are edited, the toolbar delete
account action was not being disabled and so when you tried to deleted
some text the account was deleted instead.

Fixed by specifying correct action group and using it.
2023-02-21 10:15:26 +00:00
Frank H. Ellenberger
a84f191ed8 Merge branch 'maint' 2023-02-19 19:05:23 +01:00
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
Frank H. Ellenberger
7bcbf3e29d Merge branch 'maint' 2023-02-19 02:19:09 +01:00