Merge branch 'maint'

# Conflicts:
#	gnucash/gnome/window-reconcile2.c
#	libgnucash/app-utils/options.scm
#	libgnucash/engine/gnc-numeric.cpp
This commit is contained in:
John Ralls 2022-04-14 18:02:17 -07:00
commit 95487eb4a0
58 changed files with 654 additions and 693 deletions

View File

@ -82,7 +82,7 @@ foreach(install_dir ${CMAKE_INSTALL_FULL_BINDIR}
string(FIND ${install_dir} ${CMAKE_INSTALL_PREFIX} in_prefix)
if(NOT (in_prefix EQUAL 0))
set(ENABLE_BINRELOC OFF)
message(WARNING "${install_dir} is set outside of the intallation prefix ${CMAKE_INSTALL_PREFIX}. That will break relocation so ENABLE_BINRELOC is set to off. With relocation disabled GnuCash will run only in its configured install location. You must set GNC_UNINSTALLED=1 and GNC_BUILDDIR=/path/to/builddir to run from the build directory. GnuCash will not run from a DESTDIR.")
message(WARNING "${install_dir} is set outside of the installation prefix ${CMAKE_INSTALL_PREFIX}. That will break relocation so ENABLE_BINRELOC is set to off. With relocation disabled GnuCash will run only in its configured install location. You must set GNC_UNINSTALLED=1 and GNC_BUILDDIR=/path/to/builddir to run from the build directory. GnuCash will not run from a DESTDIR.")
break()
endif()
endforeach()

View File

@ -171,16 +171,11 @@ extern const char* ngettext (const char *msgid1, const char *msgid2,
extern const char* gettext(const char*);
%rename ("gnc:C_gettext") wrap_C_;
%inline %{
/* This helper function wraps the C_() macro in to a function.
Direct wrapping results in a compiler error on direct string concatenation
inside the macro expansion, so I'm making a detour via g_strconcat */
/* This helper function wraps the C_() macro in a function. */
const char* wrap_C_(const char* context, const char* msg);
const char* wrap_C_(const char* context, const char* msg)
{
gchar* combo = g_strconcat (context, "\004", msg, NULL);
const gchar* translated = g_dpgettext (NULL, combo, strlen (context) + 1);
g_free (combo);
return translated;
return g_dpgettext2 (NULL, context, msg);
}
%}
%rename ("gnc-utf8?") wrap_gnc_utf8_validate;

View File

@ -1,6 +1,7 @@
#include <guid.hpp>
#include <kvp-frame.hpp>
#include <libguile.h>
#include <numeric>
extern "C"
{
@ -21,6 +22,17 @@ extern "C"
* types based only on the scheme type.
*/
static bool scm_is_list_of_string_pairs (SCM val)
{
for (; !scm_is_null (val); val = scm_cdr (val))
{
if (!(scm_is_pair (val) && scm_is_pair (scm_car (val)) &&
scm_is_string (scm_caar (val))))
return false;
}
return true;
}
KvpValue *
gnc_scm_to_kvp_value_ptr(SCM val)
{
@ -59,16 +71,31 @@ gnc_scm_to_kvp_value_ptr(SCM val)
{
return new KvpValue{gnc_scm_to_utf8_string(val)};
}
else if (SWIG_IsPointerOfType(val, SWIG_TypeQuery("_p_KvpFrame")))
else if (!scm_is_null (val) && scm_is_list_of_string_pairs (val))
{
#define FUNC_NAME G_STRFUNC
auto vp_frame = SWIG_MustGetPtr(val,
SWIG_TypeQuery("_p_KvpFrame"), 1, 0);
KvpFrame *frame = static_cast<KvpFrame*>(vp_frame);
#undef FUNC_NAME
return new KvpValue{frame};
auto frame = new KvpFrame;
for (; !scm_is_null (val); val = scm_cdr (val))
{
auto key_str = scm_to_utf8_stringn (scm_caar (val), nullptr);
auto val_scm = scm_cdar (val);
auto prev = frame->set ({key_str}, gnc_scm_to_kvp_value_ptr (val_scm));
g_free (key_str);
// there is a pre-existing key-value
if (prev)
delete prev;
}
return new KvpValue (frame);
}
else if (!scm_is_null (val) && scm_is_list (val))
{
GList *kvplist = nullptr;
for (; !scm_is_null (val); val = scm_cdr (val))
{
auto elt = gnc_scm_to_kvp_value_ptr (scm_car (val));
kvplist = g_list_prepend (kvplist, elt);
}
return new KvpValue (g_list_reverse (kvplist));
}
/* FIXME: add list handler here */
return NULL;
}
@ -102,12 +129,26 @@ gnc_kvp_value_ptr_to_scm(KvpValue* val)
break;
case KvpValue::Type::FRAME:
{
auto frame = val->get<KvpFrame*>();
if (frame != nullptr)
return SWIG_NewPointerObj(frame, SWIG_TypeQuery("_p_KvpFrame"), 0);
auto frame { val->get<KvpFrame*>() };
auto acc = [](const auto& rv, const auto& iter)
{
auto key_scm { scm_from_utf8_string (iter.first) };
auto val_scm { gnc_kvp_value_ptr_to_scm (iter.second) };
return scm_acons (key_scm, val_scm, rv);
};
return scm_reverse (std::accumulate (frame->begin(), frame->end(), SCM_EOL, acc));
}
break;
case KvpValue::Type::GLIST:
{
SCM lst = SCM_EOL;
for (GList *n = val->get<GList*>(); n; n = n->next)
{
auto elt = gnc_kvp_value_ptr_to_scm (static_cast<KvpValue*>(n->data));
lst = scm_cons (elt, lst);
}
return scm_reverse (lst);
}
default:
break;
}

View File

@ -54,6 +54,7 @@ set (scm_tests_with_srfi64_SOURCES
test-core-utils.scm
test-business-core.scm
test-scm-engine.scm
test-scm-kvpvalue.scm
)
if (HAVE_SRFI64)

View File

@ -0,0 +1,68 @@
(use-modules (srfi srfi-64))
(use-modules (tests srfi64-extras))
(use-modules (gnucash engine))
(use-modules (gnucash app-utils))
(define (run-test)
(test-runner-factory gnc:test-runner)
(test-begin "test-app-utils")
(test-kvp-access)
(test-end "test-app-utils"))
(define (setup book)
(qof-book-set-option book "bla" '("top" "lvl1a"))
(qof-book-set-option book "arg" '("top" "lvl1b"))
(qof-book-set-option book "baf" '("top" "lvl1c" "lvl2" "lvl3")))
(define (teardown)
(gnc-clear-current-session))
(define (test-kvp-access)
(define book (gnc-get-current-book))
(test-begin "kvp-access from guile")
(setup book)
(test-equal "top/lvl1a"
"bla"
(qof-book-get-option book '("top" "lvl1a")))
(test-equal "top/lvl1b"
"arg"
(qof-book-get-option book '("top" "lvl1b")))
(test-equal "top/lvl1c/lvl2/lvl3"
"baf"
(qof-book-get-option book '("top" "lvl1c" "lvl2" "lvl3")))
(test-equal "top/lvl1c/lvl2"
'(("lvl3" . "baf"))
(qof-book-get-option book '("top" "lvl1c" "lvl2")))
(test-equal "top/lvl1c"
'(("lvl2" ("lvl3" . "baf")))
(qof-book-get-option book '("top" "lvl1c")))
;; this tests the reading & writing of KvpFrame, copying branch
;; from top/lvl1c to top/lvl1d
(qof-book-set-option book
(qof-book-get-option book '("top" "lvl1c"))
'("top" "lvl1d"))
(test-equal "top/lvl1d, after copying from top/lvl1c"
'(("lvl2" ("lvl3" . "baf")))
(qof-book-get-option book '("top" "lvl1d")))
(test-equal "top/lvl1c/lvl2/error"
#f
(qof-book-get-option book '("top" "lvl1c" "lvl2" "error")))
(test-equal "top"
'(("lvl1a" . "bla")
("lvl1b" . "arg")
("lvl1c" ("lvl2" ("lvl3" . "baf")))
("lvl1d" ("lvl2" ("lvl3" . "baf"))))
(qof-book-get-option book '("top")))
(test-end "kvp-access from guile")
(teardown))

View File

@ -18,7 +18,7 @@
# - SRC_DIR (top level source code directory)
# - SRC (full path to gnucash.appdata.xml.in)
# - DST (full path to destination for gnucash.appdata.xml)
# - REL_FILE (path to file containg (packaging) release info)
# - REL_FILE (path to file containing (packaging) release info)
# - VCS_INFO_FILE (full path to gnc-vcs-info.h - can be in source tree (release builds) or build tree (git builds))
# - GNUCASH_BUILD_ID (optional, extra version information supplied by packagers)

View File

@ -135,8 +135,8 @@ endmacro(find_guile_dirs)
# If keyword TEST is specified this target will be treated as a test target.
# That is its compiled files won't be installed and will be added to the set
# of tests to run via the "check" target. If TEST is not set the targets are
# considerd normal targets and will be added to the list of files to install.
# They will be installed in the guile compied directory relative to the prefix
# considered normal targets and will be added to the list of files to install.
# They will be installed in the guile compiled directory relative to the prefix
# set up for this build, with the OUTPUT_DIR appended to it. For example:
# /usr/local/lib/x86_64-linux-gnu/guile/2.0/site-cache/gnucash
function(gnc_add_scheme_targets _TARGET)

View File

@ -6,7 +6,7 @@
# gnc_add_swig_guile_command is used to generate guile swig wrappers
# - _target is the name of a global target that will be set for this wrapper file,
# this can be used elsewhere to create a depencency on this wrapper
# this can be used elsewhere to create a dependency on this wrapper
# - _out_var will be set to the full path to the generated wrapper file
# - _output is the name of the wrapper file to generate
# - _input is the swig interface file (*.i) to generate this wrapper from
@ -47,7 +47,7 @@ endmacro (gnc_add_swig_guile_command)
# gnc_add_swig_python_command is used to generate python swig wrappers
# from the tarball will be used instead
# - _target is the name of a global target that will be set for this wrapper file,
# this can be used elsewhere to create a depencency on this wrapper
# this can be used elsewhere to create a dependency on this wrapper
# - _out_var will be set to the full path to the generated wrapper file
# - _py_out_var is the same but for the python module that's generated together with the wrapper
# - _output is the name of the wrapper file to generate

View File

@ -37,7 +37,7 @@
# if Free: name of free-ing fn)
{
libgda permanant memory for gda_paramlist_dtd
libgda permanent memory for gda_paramlist_dtd
Memcheck:Leak
fun:malloc
fun:xmlStrndup

View File

@ -86,7 +86,7 @@ void print_test_results(void);
* Use this to set whether successful tests
* should print a message.
* Default is false.
* Successful test messages are useful while initally constructing the
* Successful test messages are useful while initially constructing the
* test suite, but when it's completed, no news is good news.
* A successful test run will be indicated by the message
* from print_test_results().

View File

@ -339,7 +339,7 @@ gboolean test_object_checked_destroy (GObject *obj);
/**
* Ensures that a GObject is still alive at the time
* it's called and that it is finalized. The first assertion will
* trigger if you pass it a ponter which isn't a GObject -- which
* trigger if you pass it a pointer which isn't a GObject -- which
* could be the case if the object has already been finalized. Then it
* calls test_object_checked_destroy() on it, asserting if the
* finalize method wasn't called (which indicates a leak).

View File

@ -23,7 +23,7 @@ Convert a CSV file exported from Rapid Electronics (UK) to a form importable by
Line format is:
line number,product code,quantity,availability,product description,unit price,discounts,line total,delivery,sub total,vat,grand total
Useage: rapid2gnucash.py DOWNLOADED_BASKET.csv "ORDER_NUMBER" <"Expense account"> > output.csv
Usage: rapid2gnucash.py DOWNLOADED_BASKET.csv "ORDER_NUMBER" <"Expense account"> > output.csv
We need to remove first line and totals
@ -46,7 +46,7 @@ try:
INV_ID=sys.argv[2]
except:
print "No order number specified."
print "Useage: rapid2gnucash.py DOWNLOADED_BASKET.csv \"ORDER_NUMBER\""
print "Usage: rapid2gnucash.py DOWNLOADED_BASKET.csv \"ORDER_NUMBER\""
quit(1)
try:
ACCOUNT=sys.argv[3]

View File

@ -1,40 +1,4 @@
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_DATADIR}/gnucash
PATTERN Makefile* EXCLUDE
PATTERN CMake* EXCLUDE
PATTERN CTest* EXCLUDE
PATTERN cmake* EXCLUDE
PATTERN hicolor EXCLUDE
)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}
DESTINATION ${DATADIR_BUILD}/gnucash
PATTERN Makefile* EXCLUDE
PATTERN CMake* EXCLUDE
PATTERN CTest* EXCLUDE
PATTERN cmake* EXCLUDE
PATTERN hicolor EXCLUDE
)
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor DESTINATION ${CMAKE_INSTALL_DATADIR}/gnucash/icons
REGEX "hicolor/.*/apps/.*" EXCLUDE
)
file(
COPY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor
DESTINATION ${DATADIR_BUILD}/gnucash/icons
REGEX "hicolor/.*/apps/.*" EXCLUDE
)
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor DESTINATION ${CMAKE_INSTALL_DATADIR}/icons
REGEX "hicolor/.*/actions/.*" EXCLUDE
)
file(
COPY ${CMAKE_CURRENT_SOURCE_DIR}/hicolor
DESTINATION ${DATADIR_BUILD}/icons
REGEX "hicolor/.*/actions/.*" EXCLUDE
)
set(gncpixmap_DATA
set(gnc_action_icons
hicolor/16x16/actions/gnc-account.png
hicolor/24x24/actions/gnc-account.png
hicolor/16x16/actions/gnc-account-delete.png
@ -71,12 +35,9 @@ set(gncpixmap_DATA
hicolor/24x24/actions/gnc-sx-new.png
hicolor/16x16/actions/gnc-transfer.png
hicolor/24x24/actions/gnc-transfer.png
gnucash-icon.ico
gnucash-icon-48x48.bmp
gnucash_splash.png
)
set(gncicon_DATA
set(gnc_app_icons
hicolor/16x16/apps/gnucash-icon.png
hicolor/22x22/apps/gnucash-icon.png
hicolor/24x24/apps/gnucash-icon.png
@ -86,12 +47,35 @@ set(gncicon_DATA
hicolor/96x96/apps/gnucash-icon.png
hicolor/128x128/apps/gnucash-icon.png
hicolor/256x256/apps/gnucash-icon.png
)
set(gncscalableicon_DATA
hicolor/scalable/apps/gnucash-icon.svg
)
set_local_dist(pixmaps_DIST_local CMakeLists.txt ${gncpixmap_DATA}
${gncicon_DATA} ${gncscalableicon_DATA})
set(gnc_other_pixmaps
gnucash-icon.ico
gnucash-icon-48x48.bmp
gnucash_splash.png
)
install(FILES ${gnc_other_pixmaps} DESTINATION ${CMAKE_INSTALL_DATADIR}/gnucash/pixmaps)
file(COPY ${gnc_other_pixmaps} DESTINATION ${DATADIR_BUILD}/gnucash/pixmaps)
set(dest_base_dir "gnucash/icons")
function (copy_iconpaths_to_dest iconpaths dest_base_dir)
foreach(iconpath ${iconpaths})
get_filename_component(dest_rel_dir ${iconpath} DIRECTORY)
set(dest_dir "${dest_base_dir}/${dest_rel_dir}")
install(FILES ${iconpath} DESTINATION "${CMAKE_INSTALL_DATADIR}/${dest_dir}")
file(COPY ${iconpath} DESTINATION "${DATADIR_BUILD}/${dest_dir}")
endforeach()
endfunction()
copy_iconpaths_to_dest ("${gnc_action_icons}" "gnucash/icons")
copy_iconpaths_to_dest ("${gnc_app_icons}" "icons")
#install(FILES ${gnc_app_icons} DESTINATION ${CMAKE_INSTALL_DATADIR}/icons)
#file(COPY ${gnc_app_icons} DESTINATION ${DATADIR_BUILD}/icons)
set_local_dist(pixmaps_DIST_local CMakeLists.txt ${gnc_action_icons}
${gnc_other_pixmaps} ${gnc_app_icons})
set(pixmaps_DIST ${pixmaps_DIST_local} PARENT_SCOPE)

View File

@ -2116,7 +2116,7 @@
<act:parent type="guid">ce8a0ff9cfc2c79c99e6c65d5e258a55</act:parent>
</gnc:account>
<gnc:account version="2.0.0">
<act:name>Pension Contrbution</act:name>
<act:name>Pension Contribution</act:name>
<act:id type="guid">91e7e5e4cd2374c9aca8024cdc1c4997</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
@ -2929,7 +2929,7 @@
</gnc:account>
<gnc:account version="2.0.0">
<act:name>Federal
Witholding</act:name>
Withholding</act:name>
<act:id type="guid">2ea59a43e4fa1b7225e3b8896c74713d</act:id>
<act:type>EXPENSE</act:type>
<act:commodity>
@ -3555,7 +3555,7 @@ Witholding</act:name>
<trn:date-entered>
<ts:date>2000-09-17 20:34:05 +0200</ts:date>
</trn:date-entered>
<trn:description>Fed Tax Witholding</trn:description>
<trn:description>Fed Tax Withholding</trn:description>
<trn:splits>
<trn:split>
<split:id type="guid">7faf50cecbe6d64bd04275aa35974d02</split:id>

View File

@ -226,7 +226,7 @@ gcv_start_editing (GtkCellEditable *cell_editable,
GncCellView *cv = GNC_CELL_VIEW(cell_editable);
GtkTextIter siter, eiter;
// Remove the text_view tooltip after 5secs to stop it recuring
// Remove the text_view tooltip after 5secs to stop it recurring
cv->tooltip_id = g_timeout_add (5000, (GSourceFunc) gcv_remove_tooltip, cv);
gtk_text_buffer_get_bounds (cv->buffer, &siter, &eiter);

View File

@ -655,7 +655,7 @@ gnc_date_edit_class_init (GNCDateEditClass *klass)
PROP_TIME,
g_param_spec_int64("time",
"Date/time (seconds)",
"Date/time represented in seconds since Januari 31st, 1970",
"Date/time represented in seconds since midnight UTC, 1 January 1970",
G_MININT64,
G_MAXINT64,
0,

View File

@ -97,7 +97,7 @@ void gnc_frequency_set_frequency_label_text (GncFrequency *gf, const gchar *txt)
/**
* Set the label text for the date entry widget. In the current
* impelmentation, the default label text is "Start Date"
* implementation, the default label text is "Start Date"
*/
void gnc_frequency_set_date_label_text (GncFrequency *gf, const gchar *txt);

View File

@ -1422,7 +1422,7 @@ gnc_main_window_quit(GncMainWindow *window)
{
GList *w, *next;
/* This is not a typical list iteration. There is a possability
/* This is not a typical list iteration. There is a possibility
* that the window maybe removed from the active_windows list so
* we have to cache the 'next' pointer before executing any code
* in the loop. */

View File

@ -751,7 +751,17 @@ refresh_page_finish (StockTransactionInfo *info)
}
if (!gnc_numeric_equal (debit, credit))
add_error_str (errors, N_("Debits and credits are not balanced"));
{
auto imbalance_str = N_("Total Debits of %s does not balance with total Credits of %s.");
auto print_info = gnc_commodity_print_info (info->currency, true);
auto debit_str = g_strdup (xaccPrintAmount (debit, print_info));
auto credit_str = g_strdup (xaccPrintAmount (credit, print_info));
auto error_str = g_strdup_printf (_(imbalance_str), debit_str, credit_str);
errors.emplace_back (error_str);
g_free (error_str);
g_free (credit_str);
g_free (debit_str);
}
if (errors.empty())
{

View File

@ -315,7 +315,7 @@ struct _print_check_dialog
};
/* This function walks ths list of available check formats looking for a
/* This function walks the list of available check formats looking for a
* specific format as specified by guid number. If found, a pointer to it is
* returned to the caller. Additionally, if the caller passed a pointer to a
* GtkTreeIter, then the iter for that entry will also be returned.

View File

@ -751,7 +751,7 @@ check_transaction_splits (Transaction *txn, gpointer data)
sd->tcds))
{
gchar *message = g_strdup_printf
(_("Split with memo %s has an unparseable Credit Formula."),
(_("Split with memo %s has an unparsable Credit Formula."),
xaccSplitGetMemo (s));
split_error_warning_dialog (sd->sxed->dialog,
_("Unparsable Formula in Split"),
@ -767,7 +767,7 @@ check_transaction_splits (Transaction *txn, gpointer data)
{
gchar *message = g_strdup_printf
(_("Split with memo %s has an unparseable Debit Formula."),
(_("Split with memo %s has an unparsable Debit Formula."),
xaccSplitGetMemo (s));
split_error_warning_dialog (sd->sxed->dialog,
_("Unparsable Formula in Split"),

View File

@ -63,6 +63,7 @@
#include "gnc-engine.h"
#include "gnc-event.h"
#include "gnc-features.h"
#include "gnc-glib-utils.h"
#include "gnc-gnome-utils.h"
#include "gnc-gobject-utils.h"
#include "gnc-gui-query.h"
@ -3315,52 +3316,38 @@ gnc_plugin_page_register_filter_response_cb (GtkDialog* dialog,
if (priv->fd.save_filter)
{
gchar* filter = g_strdup_printf ("0x%04x",
priv->fd.cleared_match); // cleared match
gchar* tmp = g_strdup (filter);
gchar *filter;
GList *flist = NULL;
// cleared match
flist = g_list_prepend
(flist, g_strdup_printf ("0x%04x", priv->fd.cleared_match));
// start time
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (
priv->fd.start_date_choose)) && priv->fd.start_time != 0)
{
gchar* timeval = gnc_plugin_page_register_filter_time2dmy (
priv->fd.start_time);
filter = g_strconcat (tmp, ",", timeval, NULL);
g_free (timeval);
}
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->fd.start_date_choose)) && priv->fd.start_time != 0)
flist = g_list_prepend (flist, gnc_plugin_page_register_filter_time2dmy (priv->fd.start_time));
else
filter = g_strconcat (tmp, ",0", NULL);
g_free (tmp);
tmp = g_strdup (filter);
g_free (filter);
flist = g_list_prepend (flist, g_strdup ("0"));
// end time
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->fd.end_date_choose))
&& priv->fd.end_time != 0)
{
gchar* timeval = gnc_plugin_page_register_filter_time2dmy (priv->fd.end_time);
filter = g_strconcat (tmp, ",", timeval, NULL);
g_free (timeval);
}
flist = g_list_prepend (flist, gnc_plugin_page_register_filter_time2dmy (priv->fd.end_time));
else
filter = g_strconcat (tmp, ",0", NULL);
g_free (tmp);
tmp = g_strdup (filter);
g_free (filter);
flist = g_list_prepend (flist, g_strdup ("0"));
// number of days
if (priv->fd.days > 0)
filter = g_strdup_printf ("%s,%d", tmp, priv->fd.days);
flist = g_list_prepend (flist, g_strdup_printf ("%d", priv->fd.days));
else
filter = g_strconcat (tmp, ",0", NULL);
g_free (tmp);
flist = g_list_prepend (flist, g_strdup ("0"));
flist = g_list_reverse (flist);
filter = gnc_g_list_stringjoin (flist, ",");
PINFO ("The filter to save is %s", filter);
gnc_plugin_page_register_set_filter (plugin_page, filter);
g_free (filter);
g_list_free_full (flist, g_free);
}
}
priv->fd.dialog = NULL;
@ -3370,42 +3357,19 @@ gnc_plugin_page_register_filter_response_cb (GtkDialog* dialog,
static void
gpp_update_match_filter_text (cleared_match_t match, const guint mask,
const gchar* filter_name, gchar** show, gchar** hide)
const gchar* filter_name, GList **show, GList **hide)
{
if ((match & mask) == mask)
{
if (*show == NULL)
*show = g_strdup (filter_name);
else
{
gchar* temp = g_strdup (*show);
g_free (*show);
*show = g_strconcat (temp, ", ", filter_name, NULL);
}
}
*show = g_list_prepend (*show, g_strdup (filter_name));
else
{
if (*hide == NULL)
*hide = g_strdup (filter_name);
else
{
gchar* temp = g_strdup (*hide);
g_free (*hide);
*hide = g_strconcat (temp, ", ", filter_name, NULL);
}
}
*hide = g_list_prepend (*hide, g_strdup (filter_name));
}
static void
gnc_plugin_page_register_set_filter_tooltip (GncPluginPageRegister* page)
{
GncPluginPageRegisterPrivate* priv;
GncPluginPage* plugin_page;
gchar* text = NULL;
gchar* text_header = g_strdup_printf ("%s", _ ("Filter By:"));
gchar* text_start = NULL;
gchar* text_end = NULL;
gchar* text_cleared = NULL;
GList *t_list = NULL;
g_return_if_fail (GNC_IS_PLUGIN_PAGE_REGISTER (page));
@ -3416,28 +3380,31 @@ gnc_plugin_page_register_set_filter_tooltip (GncPluginPageRegister* page)
if (priv->fd.start_time != 0)
{
gchar* sdate = qof_print_date (priv->fd.start_time);
text_start = g_strdup_printf ("%s %s", _ ("Start Date:"), sdate);
t_list = g_list_prepend
(t_list, g_strdup_printf ("%s %s", _("Start Date:"), sdate));
g_free (sdate);
}
// filtered number of days
if (priv->fd.days > 0)
text_start = g_strdup_printf ("%s %d", _ ("Show previous number of days:"),
priv->fd.days);
t_list = g_list_prepend
(t_list, g_strdup_printf ("%s %d", _("Show previous number of days:"),
priv->fd.days));
// filtered end time
if (priv->fd.end_time != 0)
{
gchar* edate = qof_print_date (priv->fd.end_time);
text_end = g_strdup_printf ("%s %s", _ ("End Date:"), edate);
t_list = g_list_prepend
(t_list, g_strdup_printf ("%s %s", _("End Date:"), edate));
g_free (edate);
}
// filtered match items
if (priv->fd.cleared_match != 31)
if (priv->fd.cleared_match != CLEARED_ALL)
{
gchar* show = NULL;
gchar* hide = NULL;
GList *show = NULL;
GList *hide = NULL;
gpp_update_match_filter_text (priv->fd.cleared_match, 0x01, _ ("Unreconciled"),
&show, &hide);
@ -3450,62 +3417,42 @@ gnc_plugin_page_register_set_filter_tooltip (GncPluginPageRegister* page)
gpp_update_match_filter_text (priv->fd.cleared_match, 0x10, _ ("Voided"),
&show, &hide);
if (show == NULL)
text_cleared = g_strconcat (_ ("Hide:"), " ", hide, NULL);
else
text_cleared = g_strconcat (_ ("Show:"), " ", show, "\n", _ ("Hide:"), " ",
hide, NULL);
show = g_list_reverse (show);
hide = g_list_reverse (hide);
g_free (show);
g_free (hide);
}
// create the tooltip based on created text variables
if ((text_start != NULL) || (text_end != NULL) || (text_cleared != NULL))
{
if (text_start != NULL)
text = g_strconcat (text_header, "\n", text_start, NULL);
if (text_end != NULL)
if (show)
{
if (text == NULL)
text = g_strconcat (text_header, "\n", text_end, NULL);
else
{
gchar* temp = g_strdup (text);
g_free (text);
text = g_strconcat (temp, "\n", text_end, NULL);
g_free (temp);
}
char *str = gnc_g_list_stringjoin (show, ", ");
t_list = g_list_prepend
(t_list, g_strdup_printf ("%s %s", _("Show:"), str));
g_free (str);
}
if (text_cleared != NULL)
if (hide)
{
if (text == NULL)
text = g_strconcat (text_header, "\n", text_cleared, NULL);
else
{
gchar* temp = g_strdup (text);
g_free (text);
text = g_strconcat (temp, "\n", text_cleared, NULL);
g_free (temp);
}
char *str = gnc_g_list_stringjoin (hide, ", ");
t_list = g_list_prepend
(t_list, g_strdup_printf ("%s %s", _("Hide:"), str));
g_free (str);
}
g_list_free_full (show, g_free);
g_list_free_full (hide, g_free);
}
t_list = g_list_reverse (t_list);
if (t_list)
t_list = g_list_prepend (t_list, g_strdup (_("Filter By:")));
// free the existing text if present
if (priv->gsr->filter_text != NULL)
g_free (priv->gsr->filter_text);
// set the tooltip text variable in the gsr
priv->gsr->filter_text = g_strdup (text);
priv->gsr->filter_text = gnc_g_list_stringjoin (t_list, "\n");
if (text_start)
g_free (text_start);
if (text_end)
g_free (text_end);
if (text_cleared)
g_free (text_cleared);
g_free (text_header);
g_free (text);
g_list_free_full (t_list, g_free);
LEAVE (" ");
}

View File

@ -22,7 +22,7 @@
<release version="encoded_version">
...
</releaase>
</release>
encoded_version = gnucash_major * 1000 + gnucash_minor
For example for gnucash 4.7 encoded_version becomes 4 * 1000 + 7 = 4007

View File

@ -93,13 +93,27 @@ struct _GncABImExContextImport
GData *tmp_job_list;
};
static inline gboolean is_leap_year (int year)
{
return (year % 400 == 0 || (year % 4 == 0 && year % 100 != 0 ));
}
static inline time64
gnc_gwen_date_to_time64 (const GNC_GWEN_DATE* date)
{
#if AQBANKING_VERSION_INT >= 59900
return gnc_dmy2time64_neutral(GWEN_Date_GetDay(date),
GWEN_Date_GetMonth(date),
GWEN_Date_GetYear(date));
int day = GWEN_Date_GetDay(date);
int month = GWEN_Date_GetMonth(date);
int year = GWEN_Date_GetYear(date);
/* Some banks use nominal 30-day months and set the value date as
* the day after the posted date. In February this can appear to
* be an invalid date because February has fewer than 30 days. If
* that's the case then back up a day to get a real date for
* posting.
*/
if (month == 2 && day <= 30 && day > (is_leap_year(year) ? 29 : 28))
--day;
return gnc_dmy2time64_neutral(day, month, year);
#else
int month, day, year;
GWEN_Time_GetBrokenDownDate(date, &day, &month, &year);

View File

@ -461,7 +461,7 @@ TransactionGetTokens(GNCImportTransInfo *info)
tokens = tokenize_string(tokens, text);
/* The day of week the transaction occurred is a good indicator of
* what account this transaction belongs in. Get the date and covert
* what account this transaction belongs in. Get the date and convert
* it to day of week as a token
*/
transtime = xaccTransGetDate(transaction);

View File

@ -333,7 +333,7 @@ get_trans_info (GtkTreeModel* model, GtkTreeIter* iter)
-1);
return transaction_info;
}
/* This fuction find the top matching register transaction for the imported transaction pointed to by iter
/* This function finds the top matching register transaction for the imported transaction pointed to by iter
* It then goes through the list of all other imported transactions and creates a list of the ones that
* have the same register transaction as their top match (i.e., are in conflict). It finds the best of them
* (match-score-wise) and returns the rest as a list. The imported transactions in that list will get their

View File

@ -727,7 +727,7 @@
(define (currency_ns? ns)
(or (string=? (GNC-COMMODITY-NS-CURRENCY) ns)
(string=? (GNC-COMMODITY-NS-LEGACY) ns)
(string=? (GNC-COMMODITY-NS-ISO4217) ns)))
(string=? (GNC-COMMODITY-NS-ISO) ns)))
;; Guess a namespace based on the symbol alone.
(define (guess-by-symbol s)
@ -741,12 +741,12 @@
;; compatible with the QIF type?
(and (string=? s (caddr elt))
(not (and (string? qif-type)
(not (currency_ns? (cadr elt))
(not (currency_ns? (cadr elt)))
(or (string-ci=? qif-type "stock")
(string-ci=? qif-type "etf")
(string-ci=? qif-type "mutual fund")
(string-ci=? qif-type "index")
)))))
))))
prefs)
#f))))
;; If a preferences match was found, use its namespace.

View File

@ -87,7 +87,7 @@
2
(length (assoc-ref matches new-txn2)))
(test-equal "test-gnc:account-tree-find-duplicates - 3nd txn matches none"
(test-equal "test-gnc:account-tree-find-duplicates - 3rd txn matches none"
#f
(assoc-ref matches new-txn3))

View File

@ -113,7 +113,7 @@ def replace (console, canvas, anchor):
# ----------------------------------------------------------------------- refresh
def refresh(console):
""" Refreshs all active canvas """
""" Refreshes all active canvas """
figures = console.figures
for fig in figures:
@ -213,7 +213,7 @@ def insert (console, figure):
# ----------------------------------------------------------------------- refresh
def refresh(console):
""" Refreshs all active canvas """
""" Refreshes all active canvas """
figures = console.figures
for fig in figures:
figure, canvas, anchor = fig

View File

@ -265,22 +265,6 @@ gnc_entry_ledger_config_cells (GncEntryLedger *ledger)
((ComboCell *)
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_ACTN_CELL), FALSE);
/* Use GNC_COMMODITY_MAX_FRACTION for all prices and quantities */
gnc_price_cell_set_fraction
((PriceCell *)
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_PRIC_CELL),
GNC_COMMODITY_MAX_FRACTION);
gnc_price_cell_set_fraction
((PriceCell *)
gnc_table_layout_get_cell (ledger->table->layout, ENTRY_DISC_CELL),
GNC_COMMODITY_MAX_FRACTION);
gnc_price_cell_set_fraction
((PriceCell *) gnc_table_layout_get_cell (ledger->table->layout,
ENTRY_QTY_CELL),
GNC_COMMODITY_MAX_FRACTION);
/* add menu items for the action and payment cells */
gnc_entry_ledger_config_action (ledger);
}

View File

@ -1490,7 +1490,7 @@ gnc_split_register_save_to_copy_buffer (SplitRegister *reg,
/* use the changed flag to avoid heavy-weight updates
* of the split & transaction fields. This will help
* cut down on unneccessary register redraws. */
* cut down on unnecessary register redraws. */
if (!gnc_table_current_cursor_changed (reg->table, FALSE))
return FALSE;

View File

@ -753,17 +753,17 @@ also show overall period profit & loss."))
;; account-balances is a list of monetary amounts
(accounts-balances
(map
(lambda (acc)
(cons acc (let ((cols-data (assoc-ref accounts-cols-data acc)))
(map col-datum-get-split-balance cols-data))))
accounts))
(match-lambda
((acc . cols-data)
(cons acc (map col-datum-get-split-balance cols-data))))
accounts-cols-data))
(accounts-balances-with-closing
(map
(lambda (acc)
(cons acc (let ((cols-data (assoc-ref accounts-cols-data acc)))
(map col-datum-get-split-balance-with-closing cols-data))))
accounts))
(match-lambda
((acc . cols-data)
(cons acc (map col-datum-get-split-balance-with-closing cols-data))))
accounts-cols-data))
(exchange-fn (and common-currency
(gnc:case-exchange-time-fn
@ -914,11 +914,10 @@ also show overall period profit & loss."))
;; split is the last one at date boundary
(accounts-splits-dates
(map
(lambda (acc)
(cons acc (let ((cols-data (assoc-ref accounts-cols-data acc)))
(list->vector
(map col-datum-get-last-split cols-data)))))
accounts))
(match-lambda
((acc . cols-data)
(cons acc (list->vector (map col-datum-get-last-split cols-data)))))
accounts-cols-data))
(get-cell-anchor-fn
(lambda (account col-idx)
@ -944,10 +943,10 @@ also show overall period profit & loss."))
;; dates. split-value-balance determined by transaction currency.
(accounts-value-balances
(map
(lambda (acc)
(cons acc (let ((cols-data (assoc-ref accounts-cols-data acc)))
(map col-datum-get-split-value-balance cols-data))))
accounts))
(match-lambda
((acc . cols-data)
(cons acc (map col-datum-get-split-value-balance cols-data))))
accounts-cols-data))
;; a vector of collectors whereby each collector is the sum
;; of asset and liability split-value-balances at report

View File

@ -526,10 +526,8 @@ Please deselect the accounts with negative balances."))
(list-head dates-list (1- (length dates-list)))
dates-list))
(date-string-list (map qof-print-date dates-list))
(list-of-rows (apply zip (map cadr all-data)))
;; total amounts
(row-totals (map (cut fold + 0 <>) list-of-rows)))
(list-of-rows #f)
(row-totals #f))
;; Set chart title, subtitle etc.
(gnc:html-chart-set-type!
@ -578,6 +576,8 @@ Please deselect the accounts with negative balances."))
(gnc:report-anchor-text
(gnc:make-report reportguid options))))))
(set! list-of-rows (apply zip (map cadr all-data)))
(set! row-totals (map (cut fold + 0 <>) list-of-rows))
(gnc:report-percent-done 92)
(for-each

View File

@ -447,7 +447,9 @@ for styling the invoice. Please see the exported report for the CSS class names.
(addif (quantity-col used-columns)
(gnc:make-html-table-cell/markup
"number-cell"
(gncEntryGetDocQuantity entry credit-note?)))
(xaccPrintAmount
(gncEntryGetDocQuantity entry credit-note?)
(gnc-default-print-info #f))))
(addif (price-col used-columns)
(gnc:make-html-table-cell/markup

View File

@ -402,7 +402,7 @@ gchar * gnc_filter_text_for_control_chars (const gchar *incoming_text);
*
* @param symbol to remove
*
* @param cursor_position the posistion of cursor in the incoming text
* @param cursor_position the position of cursor in the incoming text
*
* @return nothing
*/
@ -416,7 +416,7 @@ void gnc_filter_text_set_cursor_position (const gchar *incoming_text,
*
* @param symbol to remove
*
* @param cursor_position the posistion of cursor in the incoming text
* @param cursor_position the position of cursor in the incoming text
*
* @return The incoming text with symbol removed to be freed by the caller
*/

View File

@ -194,7 +194,7 @@
</split>
<split>
<guid>686e0a76ab0ae02b10526729d4309509</guid>
<memo>soem as invst</memo>
<memo>some as invst</memo>
<reconcile-state>n</reconcile-state>
<value>-190000/100</value>
<quantity>-190000/100</quantity>

View File

@ -236,7 +236,7 @@
</trn:split>
<trn:split>
<split:id type="guid">686e0a76ab0ae02b10526729d4309509</split:id>
<split:memo>soem as invst</split:memo>
<split:memo>some as invst</split:memo>
<split:reconciled-state>n</split:reconciled-state>
<split:value>-190000/100</split:value>
<split:quantity>-190000/100</split:quantity>

View File

@ -6004,6 +6004,8 @@ gnc_account_imap_get_info (Account *acc, const char *category)
qof_instance_foreach_slot (QOF_INSTANCE(acc), IMAP_FRAME, category,
build_non_bayes, &imapInfo);
}
g_free (imapInfo.head);
g_free (imapInfo.category);
return g_list_reverse(imapInfo.list);
}

View File

@ -654,7 +654,7 @@ xaccTransClearTradingSplits (Transaction *trans)
xaccTransBeginEdit (trans);
/* destroy_splits doesn't actually free the splits but this gets
* the list ifself freed.
* the list itself freed.
*/
g_list_free_full (trading_splits, destroy_split);
xaccTransCommitEdit (trans);

View File

@ -123,8 +123,8 @@ GncNumeric::GncNumeric(const std::string& str, bool autoround)
static const std::string hex_frag("(0x[a-f0-9]+)");
static const std::string slash( "[ \\t]*/[ \\t]*");
/* The llvm standard C++ library refused to recognize the - in the
* numer_frag patter with the default ECMAScript syntax so we use the awk
* syntax.
* numer_frag pattern with the default ECMAScript syntax so we use the
* awk syntax.
*/
static const regex numeral(numer_frag);
static const regex hex(hex_frag);
@ -1090,7 +1090,7 @@ gnc_numeric_to_decimal(gnc_numeric *a, guint8 *max_decimal_places)
}
catch (const std::exception& err)
{
DEBUG("%s", err.what());
PINFO ("%s", err.what());
return FALSE;
}
}

View File

@ -446,15 +446,23 @@ namespace IANAParser
auto info_index = info_index_zero + index;
if (transition_size == 4)
{
transitions.push_back(
{*(endian_swap(reinterpret_cast<int32_t*>(&fileblock[fb_index]))),
static_cast<uint8_t>(fileblock[info_index])});
int32_t transition_time;
// Ensure correct alignment for ARM.
memcpy(&transition_time,
endian_swap(reinterpret_cast<int32_t*>(&fileblock[fb_index])),
sizeof(int32_t));
auto info = static_cast<uint8_t>(fileblock[info_index]);
transitions.push_back({transition_time, info});
}
else
{
transitions.push_back(
{*(endian_swap(reinterpret_cast<int64_t*>(&fileblock[fb_index]))),
static_cast<uint8_t>(fileblock[info_index])});
int64_t transition_time;
// Ensure correct alignment for ARM.
memcpy(&transition_time,
endian_swap(reinterpret_cast<int64_t*>(&fileblock[fb_index])),
sizeof(int64_t));
auto info = static_cast<uint8_t>(fileblock[info_index]);
transitions.push_back({transition_time, info});
}
}

View File

@ -78,6 +78,8 @@ KvpFrame::get_child_frame_or_nullptr (Path const & path) noexcept
if (map_iter == m_valuemap.end ())
return nullptr;
auto child = map_iter->second->get <KvpFrame *> ();
if (!child)
return nullptr;
Path send;
std::copy (path.begin () + 1, path.end (), std::back_inserter (send));
return child->get_child_frame_or_nullptr (send);

View File

@ -226,6 +226,9 @@ struct KvpFrameImpl
bool empty() const noexcept { return m_valuemap.empty(); }
friend int compare(const KvpFrameImpl&, const KvpFrameImpl&) noexcept;
map_type::iterator begin() { return m_valuemap.begin(); }
map_type::iterator end() { return m_valuemap.end(); }
private:
map_type m_valuemap;

View File

@ -44,7 +44,7 @@
* The PolicyGetLot() routine returns a lot into which the
* indicated split should be placed.
*
* The PolicyGetSplit() routine returns an unassinged split
* The PolicyGetSplit() routine returns an unassigned split
* from the account that is appropriate for placing into the
* indicated lot. For the FIFO policy, that would be the
* earliest split that is not in any account, and is of the

View File

@ -115,7 +115,7 @@ typedef enum
#define QOF_PARAM_VERSION "version"
/* --------------------------------------------------------- */
/** \name Query Subsystem Initialization and Shudown */
/** \name Query Subsystem Initialization and Shutdown */
// @{
/** Subsystem initialization and shutdown. Call init() once
* to initialize the query subsystem; call shutdown() to free

View File

@ -40,7 +40,6 @@ extern "C"
#include <stddef.h>
#include "qof.h"
#include "qoflog.h"
#include "qofutil.h"
#include "qofbackend.h"
#include "qofclass.h"
#include "qofbook.h"

View File

@ -572,7 +572,7 @@ TEST(gnc_datetime_functions, test_date)
/* This test works only in the America/LosAngeles time zone and
* there's no straightforward way to make it more flexible. It ensures
* that DST in that timezone transitions correctly for each day of the
* week in which March begines.
* week in which March begins.
TEST(gnc_datetime_functions, test_timezone_offset)
{

376
po/ar.po

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@
# Guille <willelopz+weblate@gmail.com>, 2021.
# Adolfo Jayme Barrientos <fitojb@ubuntu.com>, 2021.
# Francisco Serrador <fserrador@gmail.com>, 2021, 2022.
# Cow <javier.fserrador@gmail.com>, 2022.
#
#
# ###############################################################################
@ -76,11 +77,11 @@
msgid ""
msgstr ""
"Project-Id-Version: GnuCash 4.9-pre1\n"
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug.cgi?"
"product=GnuCash&component=Translations\n"
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug."
"cgi?product=GnuCash&component=Translations\n"
"POT-Creation-Date: 2022-03-09 18:00-0800\n"
"PO-Revision-Date: 2022-02-23 18:56+0000\n"
"Last-Translator: Francisco Serrador <fserrador@gmail.com>\n"
"PO-Revision-Date: 2022-04-12 19:10+0000\n"
"Last-Translator: Cow <javier.fserrador@gmail.com>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/gnucash/gnucash/"
"es/>\n"
"Language: es\n"
@ -91,8 +92,8 @@ msgstr ""
"X-Generator: Weblate 4.12-dev\n"
"X-Bugs: Report translation errors to the Language-Team address.\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: <b>;</b>;<span weight=\"bold\" size=\"larger\">;</"
"span>;<span size=\"larger\" weight=\"bold\">\n"
"X-Poedit-KeywordsList: <b>;</b>;<span weight=\"bold\" size=\"larger\""
">;</span>;<span size=\"larger\" weight=\"bold\">\n"
#: borrowed/goffice/go-charmap-sel.c:70
msgid "Arabic"
@ -557,6 +558,11 @@ msgid ""
"(File[->Most Recently Used-List]).\n"
"The full path is displayed in the status bar."
msgstr ""
"Si desea conocer cuales directorios donde están almacenados los archivos "
"GnuCash recientes, pase el cursor sobre una de las entradas en el menú de "
"historial\n"
"(Archivo[->Listado más recientes utilizados]).\n"
"La ruta completa es representada dentro de la barra de estado."
#: doc/tip_of_the_day.list.c:24
msgid ""
@ -15861,6 +15867,9 @@ msgid ""
"investment categories like STOCKS and BONDS or exchange names like NASDAQ "
"and LSE."
msgstr ""
"Seleccione una categoría para la materia prima o introduzca una nueva. Uno "
"quizá utilice categorías de inversión como MERCANCÍAS y BONOS o nombres de "
"intercambio como NASDAQ y LSE."
#: gnucash/gtkbuilder/dialog-commodity.glade:329
msgid ""
@ -17457,21 +17466,14 @@ msgid "Enable update match action"
msgstr "Habilitar actualización de operación cotejada"
#: gnucash/gtkbuilder/dialog-preferences.glade:2298
#, fuzzy
#| msgid ""
#| "Enable the UPDATE AND RECONCILE action in the transaction matcher. If "
#| "enabled, a transaction whose best match's score is above the Auto-CLEAR "
#| "threshold and has a different date or amount than the matching existing "
#| "transaction will cause the existing transaction to be updated and cleared "
#| "by default."
msgid ""
"Enable the UPDATE AND CLEAR action in the transaction matcher. If enabled, a "
"transaction whose best match's score is above the Auto-CLEAR threshold and "
"has a different date or amount than the matching existing transaction will "
"cause the existing transaction to be updated and cleared by default."
msgstr ""
"Habilita la operación ACTUALIZAR Y CONCILIAR en el cotejo de la transacción. "
"Si está habilitada, una transacción cuyo mejor cotejo está por encima del "
"Habilita la operación ACTUALIZAR Y VACIAR en el cotejo de la transacción. Si "
"está habilitada, una transacción cuyo mejor cotejo está por encima del "
"umbral de Auto-LIQUIDAR y tiene una fecha o cantidad distinta que el cotejo "
"de transacción existente causará que la transacción existente sea "
"actualizada y liquidada por defecto."
@ -22049,10 +22051,10 @@ msgid "y/d/m"
msgstr "a/d/m"
#: gnucash/import-export/import-main-matcher.c:462
#, fuzzy
#| msgid "Do transaction report on this account."
msgid "No new transactions were found in this import."
msgstr "Crear boletín transaccional sobre esta cuenta."
msgstr ""
"No fue encontrada ninguna de las transacciones nuevas dentro de esta "
"importación."
#: gnucash/import-export/import-main-matcher.c:630
#: gnucash/import-export/import-main-matcher.c:783
@ -22060,44 +22062,32 @@ msgid "Destination account for the auto-balance split."
msgstr "Cuenta de destino para el desglose de cuadrado automático."
#: gnucash/import-export/import-main-matcher.c:943
#, fuzzy
#| msgid "Enter the Entry Description"
msgid "Enter new Description"
msgstr "Introduzca la Descripción del Apunte"
msgstr "Introduzca Descripción nueva"
#: gnucash/import-export/import-main-matcher.c:958
#, fuzzy
#| msgid "Enter Due Date"
msgid "Enter new Memo"
msgstr "Introducir Fecha de Vencimiento"
msgstr "Introducir Memorandum nuevo"
#: gnucash/import-export/import-main-matcher.c:971
#, fuzzy
#| msgid "Enter Note"
msgid "Enter new Notes"
msgstr "Agregar nota"
msgstr "Introduzca Anotaciones nuevas"
#: gnucash/import-export/import-main-matcher.c:1097
msgid "Assign a transfer account to the selection."
msgstr "Asigna una cuenta transferencial a la selección."
#: gnucash/import-export/import-main-matcher.c:1108
#, fuzzy
#| msgid "Sort by description."
msgid "Edit description."
msgstr "Ordena por descripción."
msgstr "Editar descripción."
#: gnucash/import-export/import-main-matcher.c:1116
#, fuzzy
#| msgid "Edit Job"
msgid "Edit memo."
msgstr "Editar Ejercicio"
msgstr "Editar memorandum."
#: gnucash/import-export/import-main-matcher.c:1124
#, fuzzy
#| msgid "Edit Note"
msgid "Edit notes."
msgstr "Editar nota"
msgstr "Edite anotaciones."
#: gnucash/import-export/import-main-matcher.c:1286
msgctxt "Column header for 'Adding transaction'"
@ -22325,10 +22315,8 @@ msgstr ""
"no ve su cambio o un tipo de inversión adecuada, puede introducir uno nuevo."
#: gnucash/import-export/qif-imp/assistant-qif-import.c:906
#, fuzzy
#| msgid "_Name or description"
msgid "Name or _description"
msgstr "_Nombre o descripción"
msgstr "Nombre o _descripción"
#: gnucash/import-export/qif-imp/assistant-qif-import.c:930
msgid "_Ticker symbol or other abbreviation"
@ -28732,16 +28720,12 @@ msgid "Invoice number: "
msgstr "Número de factura: "
#: gnucash/report/reports/standard/taxinvoice.scm:194
#, fuzzy
#| msgid "To: "
msgid "To:"
msgstr "Destino: "
msgstr "Destino:"
#: gnucash/report/reports/standard/taxinvoice.scm:196
#, fuzzy
#| msgid "Your ref: "
msgid "Your ref:"
msgstr "Su ref: "
msgstr "Su ref:"
#: gnucash/report/reports/standard/taxinvoice.scm:208
msgid "Embedded CSS."
@ -29491,10 +29475,8 @@ msgid "Use regular expressions for account name filter"
msgstr "Emplear expresiones regulares para filtrar nombres de cuentas"
#: gnucash/report/trep-engine.scm:114
#, fuzzy
#| msgid "Transaction Filter excludes matched strings"
msgid "Account Name Filter excludes matched strings"
msgstr "El Filtro de Transacción excluye las cadenas de texto coincidentes"
msgstr "El Filtro de Nombre de Cuenta excluye las cadenas de texto cotejadas"
#: gnucash/report/trep-engine.scm:115
msgid "Transaction Filter"
@ -29646,13 +29628,10 @@ msgstr ""
"2017/1 Londres'. "
#: gnucash/report/trep-engine.scm:600
#, fuzzy
#| msgid ""
#| "If this option is selected, transactions matching filter are excluded."
msgid "If this option is selected, accounts matching filter are excluded."
msgstr ""
"Si selecciona esta opción, los filtros de coincidencia de transacción serán "
"excluidos."
"Si selecciona esta opción, serán excluidos los filtros de coincidencia de "
"cuentas."
#: gnucash/report/trep-engine.scm:606
msgid ""
@ -29777,10 +29756,8 @@ msgid "Display the reconciled date?"
msgstr "¿Representar la fecha de conciliación?"
#: gnucash/report/trep-engine.scm:945
#, fuzzy
#| msgid "Display the reconciled date?"
msgid "Display the entered date?"
msgstr "¿Representar la fecha de conciliación?"
msgstr "¿Representar la fecha introducida?"
#: gnucash/report/trep-engine.scm:950
msgid "Display the notes if the memo is unavailable?"
@ -30744,15 +30721,11 @@ msgstr ""
"no se han anotado en ninguna otra parte."
#: libgnucash/engine/gnc-commodity.h:112
#, fuzzy
#| msgid "All non-currency"
msgctxt "Commodity Type"
msgid "All non-currency"
msgstr "Todas excepto moneda"
#: libgnucash/engine/gnc-commodity.h:113
#, fuzzy
#| msgid "Currencies"
msgctxt "Commodity Type"
msgid "Currencies"
msgstr "Monedas"

View File

@ -1,15 +1,15 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# "Frank H. Ellenberger" <frank.h.ellenberger@gmail.com>, 2013
#
# ltai0001 <yltaief@gmail.com>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: GnuCash 4.8\n"
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug.cgi?"
"product=GnuCash&component=Translations\n"
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug."
"cgi?product=GnuCash&component=Translations\n"
"POT-Creation-Date: 2021-12-05 20:11+0100\n"
"PO-Revision-Date: 2022-01-02 22:54+0000\n"
"Last-Translator: Anonymous <noreply@weblate.org>\n"
"PO-Revision-Date: 2022-03-29 02:07+0000\n"
"Last-Translator: ltai0001 <yltaief@gmail.com>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/gnucash/glossary/"
"ar/>\n"
"Language: ar\n"
@ -18,7 +18,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
"X-Generator: Weblate 4.10.1\n"
"X-Generator: Weblate 4.12-dev\n"
#. "English Definition (Dear translator: This file will never be visible to the user! It should only serve as a tool for you, the translator. Nothing more.)"
msgid "Term (Dear translator: This file will never be visible to the user!)"
@ -258,7 +258,7 @@ msgstr ""
#. "An estimate or plan of the money available to somebody and how it will be spent over a period of time."
msgid "Budget"
msgstr ""
msgstr "الميزانية"
#. "-"
msgid "business (adjective)"
@ -318,7 +318,7 @@ msgstr ""
#. "-"
msgid "Credit Card"
msgstr ""
msgstr "بطاقة الائتمان"
#. "A transfer of money direct from one bank account to another, without using a cheque"
msgid "credit transfer"
@ -334,7 +334,7 @@ msgstr ""
#. "Custom print format (i.e. according to the user's wishes) as opposed to a template choice."
msgid "Custom"
msgstr ""
msgstr "مخصص"
#. "Compact, well-structured presentation of informations. See https://en.wikipedia.org/wiki/Dashboard_(business)"
msgid "dashboard"
@ -346,7 +346,7 @@ msgstr ""
#. "A specific numbered day of the month"
msgid "Date"
msgstr ""
msgstr "تاريخ"
#. "DD/MM/YY or MM/DD/YY or something else"
msgid "date format"
@ -498,7 +498,7 @@ msgstr ""
#. "A particular collection of items that were bought in one transaction. A lot is typically formed when the item is bought, and is closed when the item is sold out. Needed e.g. for U.S. tax purposes."
msgid "Lot"
msgstr ""
msgstr "مجموعة"
#. "Combine two books into one (see book)."
msgid "merge, to"
@ -518,7 +518,7 @@ msgstr ""
#. "One textfield per split that should help you remember what this split was about."
msgid "Memo"
msgstr ""
msgstr "مذكرة"
#. "(a) An agreement by which money is lent by a bank for buying a house or other property, the property being the security. (b) A sum of money lent in this way."
msgid "Mortgage"
@ -646,7 +646,7 @@ msgstr ""
#. "OBSOLETE. This report was renamed to 'income statement' on 2004-07-13. Old definition: A list that shows the amount of money spent compared with the amount earned by a business in a particular period"
msgid "Profit & Loss"
msgstr ""
msgstr "الأرباح والخسائر"
#. "-"
msgid "quick-fill"
@ -706,7 +706,7 @@ msgstr ""
#. "name of an equity account (?); to be distinguished from the opening balance."
msgid "Retained Earnings"
msgstr ""
msgstr "الأرباح المحتجزة"
#. "Create a new transaction that is the inverse of the old one. When you add the two together they completely cancel out. Accounts use this instead of voiding transactions, usually because the prior month has been closed and can no longer be changed, or the entire accounting system is 'write only'."
msgid "reverse transaction, to (Action in the register)"
@ -875,7 +875,7 @@ msgid "due"
msgstr ""
msgid "Online"
msgstr ""
msgstr "عبر الإنترنت"
msgid "Direct Debit"
msgstr ""
msgstr "خصم من الحساب مباشرة"

View File

@ -10,7 +10,7 @@ msgstr ""
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug."
"cgi?product=GnuCash&component=Translations\n"
"POT-Creation-Date: 2021-12-05 20:11+0100\n"
"PO-Revision-Date: 2022-03-16 10:54+0000\n"
"PO-Revision-Date: 2022-04-06 09:35+0000\n"
"Last-Translator: Kárász Attila <cult.edie@gmail.com>\n"
"Language-Team: Hungarian <https://hosted.weblate.org/projects/gnucash/"
"glossary/hu/>\n"
@ -28,11 +28,11 @@ msgstr ""
#. "Opening and closing quote symbols and optionally their key combos like [altgr]+[Y]/[X]. Define the preferred style of quotation, see https://en.wikipedia.org/wiki/Quotation_mark#Summary_table"
msgid "\"\""
msgstr ""
msgstr "\"\""
#. "A detailed record of money spent and received"
msgid "account"
msgstr "Számla "
msgstr "Számla"
#. "An alphanumerical key of an account in GnuCash, not at the bank, can be used to sort. Some templates provide them or the user can enter them."
msgid "account code"
@ -352,7 +352,7 @@ msgstr "Egyéni"
#. "Compact, well-structured presentation of informations. See https://en.wikipedia.org/wiki/Dashboard_(business)"
msgid "dashboard"
msgstr ""
msgstr "irányítópult"
#. "The backend where the data is stored."
msgid "database"
@ -401,7 +401,7 @@ msgstr "Dupla bejegyzés"
#. "Transactions or bills/invoices can contain a document link which links either to some file on the local disk or to some arbitrary URL."
msgid "document link"
msgstr ""
msgstr "csatolt dokumentum"
#. "The last day to pay an invoice in time."
msgid "due date"
@ -904,7 +904,7 @@ msgid "stock"
msgstr ""
msgid "due"
msgstr ""
msgstr "esedékes"
msgid "Online"
msgstr "Online"

View File

@ -3,14 +3,15 @@
# A. Tokarski <szczur@malinablue.punkt.pl>, 2005.
# Updated to 2.2.x by nowak2000@poczta.onet.pl
# Henio Szewczyk <henryk.szewczyk09@gmail.com>, 2021.
# 154pinkchairs <ovehis@riseup.net>, 2022.
msgid ""
msgstr ""
"Project-Id-Version: GnuCash 4.8\n"
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug.cgi?"
"product=GnuCash&component=Translations\n"
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug."
"cgi?product=GnuCash&component=Translations\n"
"POT-Creation-Date: 2021-12-05 20:11+0100\n"
"PO-Revision-Date: 2022-01-02 22:54+0000\n"
"Last-Translator: Anonymous <noreply@weblate.org>\n"
"PO-Revision-Date: 2022-04-13 19:11+0000\n"
"Last-Translator: 154pinkchairs <ovehis@riseup.net>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/gnucash/glossary/"
"pl/>\n"
"Language: pl\n"
@ -19,7 +20,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.10.1\n"
"X-Generator: Weblate 4.12-dev\n"
#. "English Definition (Dear translator: This file will never be visible to the user! It should only serve as a tool for you, the translator. Nothing more.)"
msgid "Term (Dear translator: This file will never be visible to the user!)"
@ -881,7 +882,7 @@ msgid "due"
msgstr ""
msgid "Online"
msgstr ""
msgstr "Online"
msgid "Direct Debit"
msgstr ""
msgstr "Polecenie zapłaty"

View File

@ -11,7 +11,7 @@ msgstr ""
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug."
"cgi?product=GnuCash&component=Translations\n"
"POT-Creation-Date: 2022-03-09 18:00-0800\n"
"PO-Revision-Date: 2022-03-22 07:56+0000\n"
"PO-Revision-Date: 2022-03-31 08:08+0000\n"
"Last-Translator: Avi Markovitz <avi.markovitz@gmail.com>\n"
"Language-Team: Hebrew <https://hosted.weblate.org/projects/gnucash/gnucash/"
"he/>\n"
@ -4930,7 +4930,7 @@ msgstr "ביטול רישום"
#: gnucash/gnome/gnc-plugin-page-invoice.c:461
msgid "Pay"
msgstr "לשלם"
msgstr "תשלום"
#: gnucash/gnome/gnc-plugin-page-owner-tree.c:145
msgid "E_dit Vendor"

115
po/hu.po
View File

@ -11,7 +11,7 @@ msgstr ""
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug."
"cgi?product=GnuCash&component=Translations\n"
"POT-Creation-Date: 2022-03-09 18:00-0800\n"
"PO-Revision-Date: 2022-03-24 15:55+0000\n"
"PO-Revision-Date: 2022-04-06 09:35+0000\n"
"Last-Translator: Kárász Attila <cult.edie@gmail.com>\n"
"Language-Team: Hungarian <https://hosted.weblate.org/projects/gnucash/"
"gnucash/hu/>\n"
@ -12666,11 +12666,8 @@ msgid "This dialog is presented before allowing you to cut a transaction."
msgstr "E dialógus megjelenik, mielőtt engedélyezik egy tranzakció törlését."
#: gnucash/gschemas/org.gnucash.GnuCash.warnings.gschema.xml.in:104
#, fuzzy
msgid "Cut a transaction with reconciled splits"
msgstr ""
"Nem lehet érvényteleníteni egyeztetett vagy igazolt résszel rendelkező "
"tranzakciót."
msgstr "Bontja a tranzakciót egyeztetett felosztással"
#: gnucash/gschemas/org.gnucash.GnuCash.warnings.gschema.xml.in:105
#, fuzzy
@ -12699,11 +12696,8 @@ msgstr "E dialógus megjelenik, mielőtt engedélyezik egy tranzakció törlés
#: gnucash/gschemas/org.gnucash.GnuCash.warnings.gschema.xml.in:114
#: gnucash/gschemas/org.gnucash.GnuCash.warnings.gschema.xml.in:217
#, fuzzy
msgid "Delete a transaction with reconciled splits"
msgstr ""
"Nem lehet érvényteleníteni egyeztetett vagy igazolt résszel rendelkező "
"tranzakciót."
msgstr "Töröljük a tranzakciót egyeztetett felosztással"
#: gnucash/gschemas/org.gnucash.GnuCash.warnings.gschema.xml.in:115
#: gnucash/gschemas/org.gnucash.GnuCash.warnings.gschema.xml.in:218
@ -12846,9 +12840,8 @@ msgid ""
msgstr ""
#: gnucash/gschemas/org.gnucash.GnuCash.window.pages.gschema.xml.in:5
#, fuzzy
msgid "Display this column"
msgstr "Számla megjelenítése?"
msgstr "Oszlop megjelenítése"
#: gnucash/gschemas/org.gnucash.GnuCash.window.pages.gschema.xml.in:6
msgid ""
@ -12895,6 +12888,7 @@ msgid ""
msgstr ""
"\n"
"Válasszon számlázási időszakot és záró napot az időszakhoz.\n"
"\n"
"A könyveket a kiválasztott napon éjfélkor zárják."
#: gnucash/gtkbuilder/assistant-acct-period.glade:82
@ -12963,9 +12957,8 @@ msgid "Choose File to Import"
msgstr "Importálandó fájl kiválasztása"
#: gnucash/gtkbuilder/assistant-csv-account-import.glade:99
#, fuzzy
msgid "Number of rows for the Header"
msgstr "Cellák _száma:"
msgstr "Sorok száma a fejlécben"
#: gnucash/gtkbuilder/assistant-csv-account-import.glade:145
#, fuzzy
@ -13002,11 +12995,12 @@ msgstr ""
#: gnucash/gtkbuilder/assistant-csv-account-import.glade:279
#: gnucash/gtkbuilder/assistant-csv-export.glade:708
#, fuzzy
msgid ""
"Press Apply to create export file.\n"
"Cancel to abort."
msgstr "Nyomjon Alkalmazást a tranzakció létrehozáshoz."
msgstr ""
"Nyomjon \"Alkalmaz\"-t az export fájlhoz.\n"
"\"Mégsem\"-re a magszakításhoz."
#: gnucash/gtkbuilder/assistant-csv-account-import.glade:285
#, fuzzy
@ -13037,9 +13031,8 @@ msgid "Use Quotes"
msgstr "Adatszerzés"
#: gnucash/gtkbuilder/assistant-csv-export.glade:80
#, fuzzy
msgid "Simple Layout"
msgstr "Minta adatok:"
msgstr "Egyszerű elrendezés"
#: gnucash/gtkbuilder/assistant-csv-export.glade:128
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:316
@ -13274,9 +13267,8 @@ msgstr ""
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:193
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:183
#, fuzzy
msgid "<b>Load and Save Settings</b>"
msgstr "Takarék"
msgstr "<b>Megnyitás és mentés beállítások</b>"
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:242
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:231
@ -13329,7 +13321,7 @@ msgstr "<b>Időformátum</b>"
#: gnucash/gtkbuilder/dialog-preferences.glade:1133
#: gnucash/gtkbuilder/gnc-date-format.glade:39
msgid "Date Format"
msgstr "Dátumformátum:"
msgstr "Dátumformátum"
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:601
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:599
@ -13339,9 +13331,8 @@ msgstr "Pénznem-információ"
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:613
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:611
#, fuzzy
msgid "Encoding"
msgstr "Kódolás:"
msgstr "Kódolás"
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:625
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:623
@ -13384,9 +13375,8 @@ msgstr "<b>Innen</b>"
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:886
#: gnucash/import-export/csv-imp/gnc-imp-props-price.cpp:57
#, fuzzy
msgid "Currency To"
msgstr "Pénznem: "
msgstr "Pénznem"
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:953
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:882
@ -13407,11 +13397,12 @@ msgid "Import Preview"
msgstr "Jelentésszámlák"
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:1014
#, fuzzy
msgid ""
"<b>Press \"Apply\" to add the Prices.\n"
"\"Cancel\" to abort.</b>"
msgstr "Nyomjon Alkalmazást a tranzakció létrehozáshoz."
msgstr ""
"<b>Nyomjon \"Alkalmazás\"-t az árak megadásához\n"
"\"Mégsem\"-et a megszakításhoz</b>"
#: gnucash/gtkbuilder/assistant-csv-price-import.glade:1029
#, fuzzy
@ -13505,16 +13496,15 @@ msgid "Account ID"
msgstr "Folyószámla-azonosító"
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:1009
#, fuzzy
msgid "Error text."
msgstr "Hiba"
msgstr "Hiba."
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:1019
#: gnucash/gtkbuilder/assistant-qif-import.glade:619
#: gnucash/gtkbuilder/assistant-qif-import.glade:750
#: gnucash/gtkbuilder/assistant-qif-import.glade:879
msgid "Change GnuCash _Account..."
msgstr "GnuCash-számla cseréje"
msgstr "GnuCash-számla cseréje..."
#: gnucash/gtkbuilder/assistant-csv-trans-import.glade:1042
#, fuzzy
@ -13556,7 +13546,6 @@ msgid "Match Transactions"
msgstr "Tranzakció beillesztése"
#: gnucash/gtkbuilder/assistant-hierarchy.glade:21
#, fuzzy
msgid ""
"This assistant will help you create a set of GnuCash accounts for your "
"assets (such as investments, checking or savings accounts), liabilities "
@ -13574,6 +13563,11 @@ msgstr ""
"befektetések, folyószámlák és betétszámlák), forrásokhoz (pl. kölcsönök), "
"különféle bevételekhez és költségekhez.\n"
"\n"
"Itt kiválaszthat olyan fiókokat, amelyek megfelelnek az Ön igényeinek. Az "
"asszisztens befejezése után a későbbiekben bármikor hozzáadhat, átnevezhet, "
"módosíthat és eltávolíthat fiókokat. Alfiókokat is hozzáadhat, valamint "
"áthelyezhet fiókokat (az alfiókjaikkal együtt) egyik szülőről a másikra.\n"
"\n"
"Kattintson a 'Megszakítás' -ra ha nem akar létrehozni új számlakészletet."
#: gnucash/gtkbuilder/assistant-hierarchy.glade:30
@ -13705,9 +13699,8 @@ msgstr ""
#: gnucash/gtkbuilder/assistant-loan.glade:46
#: gnucash/gtkbuilder/assistant-loan.glade:152
#, fuzzy
msgid "Interest Rate"
msgstr "Kamatláb:"
msgstr "Kamatláb"
#: gnucash/gtkbuilder/assistant-loan.glade:49
msgid "APR (Compounded Daily)"
@ -13936,9 +13929,8 @@ msgid ""
msgstr ""
#: gnucash/gtkbuilder/assistant-loan.glade:1111
#, fuzzy
msgid "Range"
msgstr "Időtartam: "
msgstr "Időtartam"
#: gnucash/gtkbuilder/assistant-loan.glade:1188
#: gnucash/gtkbuilder/dialog-preferences.glade:390
@ -13990,7 +13982,6 @@ msgstr "QIF-importálás"
#. Run the assistant in your language to see GTK's translation of the button labels.
#: gnucash/gtkbuilder/assistant-qif-import.glade:42
#, fuzzy
msgid ""
"GnuCash can import financial data from QIF (Quicken Interchange Format) "
"files written by Quicken/QuickBooks, MS Money, Moneydance, and many other "
@ -14010,7 +14001,7 @@ msgstr ""
"mialatt ön az 'Alkalmazás'-ra kattint a folyamat végén.\n"
"\n"
"Kattintson az \"Következő\" -re a QIF fájl betöltéséhez,vagy a \"Megszakítás"
"\" -ra a kilépéshez. "
"\" -ra a kilépéshez."
#: gnucash/gtkbuilder/assistant-qif-import.glade:51
msgid "Import QIF files"
@ -14043,16 +14034,14 @@ msgid "Select a QIF file to load"
msgstr "Betöltendő QIF-fájl kiválasztása"
#: gnucash/gtkbuilder/assistant-qif-import.glade:201
#, fuzzy
msgid "_Start"
msgstr "Kezdés:"
msgstr "_Kezdés"
#: gnucash/gtkbuilder/assistant-qif-import.glade:271
msgid "Load QIF files"
msgstr "QIF fájl betöltése..."
msgstr "QIF fájl betöltése"
#: gnucash/gtkbuilder/assistant-qif-import.glade:285
#, fuzzy
msgid ""
"The QIF file format does not specify which order the day, month, and year "
"components of a date are printed. In most cases, it is possible to "
@ -14069,7 +14058,7 @@ msgstr ""
"állapítani, hogy egy adott fájl milyen formátumot használ.A most importált "
"fájlban azonban több formátum is alkalmazható az adatokra.\n"
"\n"
"Válasszon egy egy dátumformátumot a fájlnak. Az európai szoftverek által "
"Válasszon egy dátumformátumot a fájlnak. Az európai szoftverek által "
"készített QIF fájlok \"n-h-é\" vagy nap-hónap-év formátumban vannak. Az US "
"szoftverek által készítettek pedig \"h-n-é\" hónap-nap-év formátumban.\n"
@ -14083,7 +14072,6 @@ msgid "Set a date format for this QIF file"
msgstr "Dátumformátum kiválasztása ehhez a QIF fájlhoz"
#: gnucash/gtkbuilder/assistant-qif-import.glade:347
#, fuzzy
msgid ""
"The QIF file that you just loaded appears to contain transactions for just "
"one account, but the file does not specify a name for that account.\n"
@ -14108,7 +14096,6 @@ msgstr "QIF számla alapértelmezett nevének beállítása"
#. Run the assistant in your language to see GTK's translation of the button labels.
#: gnucash/gtkbuilder/assistant-qif-import.glade:455
#, fuzzy
msgid ""
"Click \"Load another file\" if you have more data to import at this time. Do "
"this if you have saved your accounts to separate QIF files.\n"
@ -14116,15 +14103,16 @@ msgid ""
"Click \"Next\" to finish loading files and move to the next step of the QIF "
"import process."
msgstr ""
"Click \"Load another file\" if you have more data to import at this time. Do "
"this if you have saved your accounts to separate QIF files.\n"
"Kattintson a \"Másik fájl betöltése\" gombra, ha jelenleg több adatot "
"szeretne importálni. Tegye ezt akkor, ha számláit különálló QIF-fájlokba "
"mentette.\n"
"\n"
"Click \"Forward\" to finish loading files and move to the next step of the "
"QIF import process. "
"Kattintson a „Tovább” gombra a fájlok betöltésének befejezéséhez, és lépjen "
"a QIF importálási folyamat következő lépésére."
#: gnucash/gtkbuilder/assistant-qif-import.glade:474
msgid "_Unload selected file"
msgstr "A kiválasztott fájl kihagyása"
msgstr "_A kiválasztott fájl kihagyása"
#: gnucash/gtkbuilder/assistant-qif-import.glade:489
msgid "_Load another file"
@ -14151,20 +14139,21 @@ msgid ""
"page so you can change them if you want to, but it is safe to leave them "
"alone.\n"
msgstr ""
"On the next page, the accounts in your QIF files and any stocks or mutual "
"funds you own will be matched with GnuCash accounts. If a GnuCash account "
"already exists with the same name, or a similar name and compatible type, "
"that account will be used as a match; otherwise, GnuCash will create a new "
"account with the same name and type as the QIF account. If you do not like "
"the suggested GnuCash account, double-click to change it.\n"
"A következő oldalon a QIF-fájljaiban lévő számlák és a tulajdonában lévő "
"részvények vagy befektetési alapok össze lesznek egyeztetve a GnuCash-"
"számlákkal. Ha már létezik egy GnuCash számla azonos névvel vagy hasonló "
"névvel és kompatibilis típussal, akkor azt a fiókot használja a rendszer "
"egyezésként; ellenkező esetben a GnuCash új fiókot hoz létre a QIF-fiókkal "
"azonos néven és típussal. Ha nem tetszik a javasolt GnuCash számla, "
"kattintson duplán a módosításhoz.\n"
"\n"
"Note that GnuCash will be creating many accounts that did not exist on your "
"other personal finance program, including a separate account for each stock "
"you own, separate accounts for the brokerage commissions, special \"Equity\" "
"accounts (subaccounts of Retained Earnings, by default) which are the source "
"of your opening balances, etc. All of these accounts will appear on the next "
"page so you can change them if you want to, but it is safe to leave them "
"alone.\n"
"Vegye figyelembe, hogy a GnuCash sok olyan számlát fog létrehozni, amelyek "
"nem léteztek az Ön másik személyes pénzügyi programjában, beleértve egy "
"külön számlát minden egyes tulajdonában lévő részvényhez, külön számlákat a "
"közvetítői jutalékokhoz, speciális \"részvény\" számlákat (alapértelmezés "
"szerint a felhalmozott nyereség alszámlái). amelyek a nyitó egyenlegek "
"forrásai stb. Ezek a számlák mindegyike megjelenik a következő oldalon, így "
"ha akarja, módosíthatja őket, de nyugodtan hagyhatja is őket.\n"
#: gnucash/gtkbuilder/assistant-qif-import.glade:540
msgid "Accounts and stock holdings"
@ -14174,13 +14163,13 @@ msgstr "Folyószámlák és birtokolt részvények"
#: gnucash/gtkbuilder/assistant-qif-import.glade:685
#: gnucash/gtkbuilder/assistant-qif-import.glade:814
msgid "_Select the matchings you want to change"
msgstr "_Select the matchings you want to change"
msgstr "_Válassza ki a módosítani kívánt egyezéseket"
#: gnucash/gtkbuilder/assistant-qif-import.glade:594
#: gnucash/gtkbuilder/assistant-qif-import.glade:725
#: gnucash/gtkbuilder/assistant-qif-import.glade:854
msgid "Matchings selected"
msgstr "Matchings selected"
msgstr "Kiválasztott egyezőségek"
#: gnucash/gtkbuilder/assistant-qif-import.glade:642
msgid "Match QIF accounts with GnuCash accounts"

View File

@ -9,7 +9,7 @@ msgstr ""
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug."
"cgi?product=GnuCash&component=Translations\n"
"POT-Creation-Date: 2022-03-09 18:00-0800\n"
"PO-Revision-Date: 2022-03-25 15:09+0000\n"
"PO-Revision-Date: 2022-04-13 19:11+0000\n"
"Last-Translator: 154pinkchairs <ovehis@riseup.net>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/gnucash/gnucash/"
"pl/>\n"
@ -1717,9 +1717,8 @@ msgid "Manage Document Link"
msgstr ""
#: gnucash/gnome/dialog-doclink.c:760
#, fuzzy
msgid "Transaction can not be modified."
msgstr "Kwota transakcji"
msgstr "Transakcja nie może zostać zmodyfikowana."
#: gnucash/gnome/dialog-doclink.c:821 libgnucash/engine/gncOwner.c:215
#, fuzzy
@ -2794,11 +2793,8 @@ msgid "You must select a company for payment processing."
msgstr "Aby przetworzyć płatność, musisz wybrać firmę."
#: gnucash/gnome/dialog-payment.c:260
#, fuzzy
msgid "There is a problem with the Payment or Refund amount."
msgstr ""
"Wystąpił problem z opcją %s:%s.\n"
"%s"
msgstr "Wystąpił problem z kwotą płatności lub zwrotu."
#: gnucash/gnome/dialog-payment.c:281
msgid "You must select a transfer account from the account tree."
@ -3699,9 +3695,8 @@ msgid "_New Budget"
msgstr "Nowy budżet"
#: gnucash/gnome/gnc-plugin-budget.c:64
#, fuzzy
msgid "Create a new Budget."
msgstr "Utwórz nowy budżet"
msgstr "Utwórz nowy budżet."
#: gnucash/gnome/gnc-plugin-budget.c:69
#, fuzzy
@ -3720,18 +3715,16 @@ msgid "_Copy Budget"
msgstr "Kopiuj budżet"
#: gnucash/gnome/gnc-plugin-budget.c:76
#, fuzzy
msgid "Copy an existing Budget."
msgstr "Skopiuj istniejący budżet"
msgstr "Skopiuj istniejący budżet."
#: gnucash/gnome/gnc-plugin-budget.c:80
msgid "_Delete Budget"
msgstr "_Usuń budżet"
#: gnucash/gnome/gnc-plugin-budget.c:81
#, fuzzy
msgid "Delete an existing Budget."
msgstr "Otwórz istniejący budżet"
msgstr "Usuń istniejący budżet."
#: gnucash/gnome/gnc-plugin-budget.c:288
msgid "Select a Budget"
@ -3924,7 +3917,7 @@ msgstr "Pokaż wszystkie powiązania transakcji"
#: gnucash/gnome/gnc-plugin-business.c:283
msgid "Sales _Tax Table"
msgstr "Tabela podatkowa dla sprzedaży"
msgstr "Tab_ela podatkowa dla sprzedaży"
#: gnucash/gnome/gnc-plugin-business.c:284
msgid "View and edit the list of Sales Tax Tables (GST/VAT)"
@ -3942,7 +3935,7 @@ msgstr "Wyświetla i pozwala na modyfikację terminów płatności"
#: gnucash/gnome/gnc-plugin-business.c:293
msgid "Bills _Due Reminder"
msgstr "Przypomnienia o płatnościach"
msgstr "Prz_ypomnienia o płatnościach"
#: gnucash/gnome/gnc-plugin-business.c:294
msgid "Open the Bills Due Reminder dialog"
@ -4398,60 +4391,51 @@ msgid "Are you sure you want to do this?"
msgstr "Czy na pewno chcesz to zrobić?"
#: gnucash/gnome/gnc-plugin-page-budget.c:147
#, fuzzy
msgid "Open the selected account."
msgstr "Otwórz zaznaczone konto"
msgstr "Otwórz zaznaczone konto."
#: gnucash/gnome/gnc-plugin-page-budget.c:152
msgid "Open _Subaccounts"
msgstr "Otwórz konta po_drzędne"
#: gnucash/gnome/gnc-plugin-page-budget.c:153
#, fuzzy
msgid "Open the selected account and all its subaccounts."
msgstr "Otwórz wybrane konto i wszystkie jego konta podrzędne"
msgstr "Otwórz zaznaczone konto i wszystkie jego konta podrzędne."
#: gnucash/gnome/gnc-plugin-page-budget.c:159
#, fuzzy
msgid "_Delete Budget..."
msgstr "_Usuń budżet"
msgstr "_Usuń budżet..."
#: gnucash/gnome/gnc-plugin-page-budget.c:160
msgid "Select this or another budget and delete it."
msgstr ""
#: gnucash/gnome/gnc-plugin-page-budget.c:164
#, fuzzy
msgid "Budget _Options..."
msgstr "Opcje budżetu"
msgstr "_Opcje budżetu..."
#: gnucash/gnome/gnc-plugin-page-budget.c:165
#, fuzzy
msgid "Edit this budget's options."
msgstr "Edytuj opcje bieżącego budżetu"
msgstr "Edytuj opcje bieżącego budżetu."
#: gnucash/gnome/gnc-plugin-page-budget.c:169
#, fuzzy
msgid "Esti_mate Budget..."
msgstr "Oszacuj budżet"
msgstr "Osza_cuj budżet..."
#: gnucash/gnome/gnc-plugin-page-budget.c:171
#, fuzzy
msgid ""
"Estimate a budget value for the selected accounts from past transactions."
msgstr ""
"Oszacuj wartość budżetu dla wybranych kont na podstawie poprzednich "
"transakcji"
"transakcji."
#: gnucash/gnome/gnc-plugin-page-budget.c:175
#, fuzzy
msgid "_All Periods..."
msgstr "Okres"
msgstr "_Wszystkie okresy..."
#: gnucash/gnome/gnc-plugin-page-budget.c:177
#, fuzzy
msgid "Edit budget for all periods for the selected accounts."
msgstr "Modyfikuje zaznaczone konto"
msgstr "Edytuj budżet z wszystkich okresów dla wybranych kont."
#: gnucash/gnome/gnc-plugin-page-budget.c:181
#, fuzzy
@ -4459,9 +4443,8 @@ msgid "Edit Note"
msgstr "Nota kredytowa"
#: gnucash/gnome/gnc-plugin-page-budget.c:183
#, fuzzy
msgid "Edit note for the selected account and period."
msgstr "Modyfikuje zaznaczone konto"
msgstr "Edytuj notatkę dla zaznaczonego konta i okresu."
#: gnucash/gnome/gnc-plugin-page-budget.c:187
#: gnucash/report/reports/standard/budget.scm:39
@ -4469,15 +4452,12 @@ msgid "Budget Report"
msgstr "Raport z budżetu"
#: gnucash/gnome/gnc-plugin-page-budget.c:189
#, fuzzy
#| msgid "Print the current report"
msgid "Run the budget report."
msgstr "Drukuje bieżący raport"
msgstr "Drukuje bieżący raport."
#: gnucash/gnome/gnc-plugin-page-budget.c:199
#, fuzzy
msgid "Refresh this window."
msgstr "Odświeża to okno"
msgstr "Odśwież to okno."
#: gnucash/gnome/gnc-plugin-page-budget.c:222
#: gnucash/gnome/gnc-plugin-page-report.c:1137
@ -4492,9 +4472,8 @@ msgid "Estimate"
msgstr "Oszacuj"
#: gnucash/gnome/gnc-plugin-page-budget.c:224
#, fuzzy
msgid "All Periods"
msgstr "Okres"
msgstr "Wszystkie okresy"
#: gnucash/gnome/gnc-plugin-page-budget.c:225
#, fuzzy
@ -4752,7 +4731,7 @@ msgstr "E_dytuj rachunek"
#: gnucash/gnome/gnc-plugin-page-invoice.c:319
msgid "_Duplicate Bill"
msgstr "Duplikuj rachunek"
msgstr "D_uplikuj rachunek"
#: gnucash/gnome/gnc-plugin-page-invoice.c:320
#, fuzzy
@ -5442,7 +5421,7 @@ msgstr "Usuń wszystkie podziały bieżącej transakcji"
#: gnucash/gnome/gnc-plugin-page-register2.c:305
#: gnucash/gnome/gnc-plugin-page-register.c:414
msgid "_Enter Transaction"
msgstr "Wprowadź transakcję"
msgstr "Wp_rowadź transakcję"
#: gnucash/gnome/gnc-plugin-page-register2.c:306
#: gnucash/gnome/gnc-plugin-page-register.c:415
@ -9289,7 +9268,7 @@ msgstr "_Zbilansuj ręcznie"
#: gnucash/gnome-utils/gnc-tree-control-split-reg.c:289
#: gnucash/register/ledger-core/split-register-control.c:140
msgid "Let GnuCash _add an adjusting split"
msgstr "Pozwól programowi GnuCash dodać podział regulujący"
msgstr "Pozwól programowi GnuCash _dodać podział regulujący"
#: gnucash/gnome-utils/gnc-tree-control-split-reg.c:294
#: gnucash/register/ledger-core/split-register-control.c:145
@ -10426,14 +10405,12 @@ msgid ""
msgstr ""
#: gnucash/gnucash-cli.cpp:113
#, fuzzy
msgid "Name of the report to run\n"
msgstr "Nazwa firmy"
msgstr "Nazwa raportu do wygenerowania\n"
#: gnucash/gnucash-cli.cpp:115
#, fuzzy
msgid "Specify export type\n"
msgstr "Wybierz typ zniżki"
msgstr "Wybierz typ eksportu\n"
#: gnucash/gnucash-cli.cpp:117
#, fuzzy
@ -13339,7 +13316,7 @@ msgstr "_Wybierz konta subkonta"
#: gnucash/gtkbuilder/gnc-plugin-page-register2.glade:625
#: gnucash/gtkbuilder/gnc-plugin-page-register.glade:470
msgid "Select _All"
msgstr "Zaznacz wszystko"
msgstr "Z_aznacz wszystko"
#: gnucash/gtkbuilder/assistant-csv-export.glade:426
#: gnucash/gtkbuilder/assistant-loan.glade:1208
@ -13359,7 +13336,7 @@ msgstr "Zaznacz _wszystkie"
#: gnucash/gtkbuilder/assistant-csv-export.glade:456
#: gnucash/gtkbuilder/gnc-plugin-page-register.glade:141
msgid "Select _Range"
msgstr "Wybierz zakres"
msgstr "Wybierz za_kres"
#. Filter By Dialog, Date Tab, Start section
#: gnucash/gtkbuilder/assistant-csv-export.glade:484
@ -17513,7 +17490,7 @@ msgstr "Automatycznie wywołaj listę kont lub zadań w czasie wprowadzania."
#: gnucash/gtkbuilder/dialog-preferences.glade:2811
msgid "Tab order in_cludes Transfer on Memorised Transactions"
msgstr "Kolejność TAB uwzględnia pole Transfer w zapamiętanych transakcjach"
msgstr "Kolejność TAB uwz_ględnia pole Transfer w zapamiętanych transakcjach"
#: gnucash/gtkbuilder/dialog-preferences.glade:2817
msgid "Move to Transfer field when memorised transaction auto filled."
@ -18588,7 +18565,7 @@ msgstr "<b>Wpisy tabeli podatkowej</b>"
#: gnucash/gtkbuilder/dialog-tax-table.glade:197
msgid "De_lete"
msgstr "Usuń"
msgstr "_Usuń"
#: gnucash/gtkbuilder/dialog-tax-table.glade:212
msgid "Ne_w"
@ -19224,9 +19201,8 @@ msgid "On the"
msgstr "Dzień"
#: gnucash/gtkbuilder/gnc-plugin-page-budget.glade:15
#, fuzzy
msgid "Edit budget for all periods"
msgstr "Okres budżetu:"
msgstr "Edytuj budżet dla wszystkich okresów"
#: gnucash/gtkbuilder/gnc-plugin-page-budget.glade:117
msgid "Replace"
@ -21316,7 +21292,7 @@ msgstr "_Rozciągnij kolumnę"
#: gnucash/import-export/csv-imp/assistant-csv-price-import.cpp:1325
#: gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp:1247
msgid "_Narrow this column"
msgstr "Zwęź bieżącą kolumnę"
msgstr "Zwęź _bieżącą kolumnę"
#. Translators: This is a ngettext(3) message, %d is the number of prices added
#: gnucash/import-export/csv-imp/assistant-csv-price-import.cpp:1884
@ -22313,7 +22289,7 @@ msgstr "Wypełniacz"
#: gnucash/import-export/qif-imp/gnc-plugin-qif-import.c:48
msgid "Import _QIF..."
msgstr "Zaimportuj plik QIF..."
msgstr "Zaimportuj plik _QIF..."
#: gnucash/import-export/qif-imp/gnc-plugin-qif-import.c:49
msgid "Import a Quicken QIF file"
@ -23671,7 +23647,7 @@ msgstr "Przykłady"
#: gnucash/report/report-core.scm:156
msgid "_Experimental"
msgstr "Eksprymentalny"
msgstr "_Eksprymentalny"
#: gnucash/report/report-core.scm:157
#, fuzzy

View File

@ -27,7 +27,7 @@ msgstr ""
"Report-Msgid-Bugs-To: https://bugs.gnucash.org/enter_bug."
"cgi?product=GnuCash&component=Translations\n"
"POT-Creation-Date: 2022-03-09 18:00-0800\n"
"PO-Revision-Date: 2022-03-23 09:56+0000\n"
"PO-Revision-Date: 2022-04-03 09:06+0000\n"
"Last-Translator: YTX <ytx.cash@gmail.com>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
"gnucash/gnucash/zh_Hans/>\n"
@ -492,7 +492,7 @@ msgid ""
"stored, hover over one of the entries in the history menu\n"
"(File[->Most Recently Used-List]).\n"
"The full path is displayed in the status bar."
msgstr ""
msgstr "状态栏显示历史文件地址。"
#: doc/tip_of_the_day.list.c:24
msgid ""
@ -3438,7 +3438,7 @@ msgstr "计划交易列表"
#: gnucash/gnome/gnc-plugin-basic-commands.c:171
msgid "Since _Last Run..."
msgstr "待执行(_L)..."
msgstr "计划清单(_L)..."
#: gnucash/gnome/gnc-plugin-basic-commands.c:172
msgid "Create Scheduled Transactions since the last time run"
@ -5665,7 +5665,7 @@ msgstr "交易汇总"
#: gnucash/gnome-utils/gnc-tree-control-split-reg.c:68
#, c-format
msgid "This transaction is marked read-only with the comment: '%s'"
msgstr "这笔交易事项被标记只读,原因是:“%s”"
msgstr "此交易只读,原因:“%s”"
#: gnucash/gnome/gnc-plugin-page-register.c:4089
#: gnucash/gnome/gnc-split-reg.c:1131
@ -6199,7 +6199,7 @@ msgstr "剪切交易(_C)"
#: gnucash/gnome/gnc-split-reg.c:1158
#: gnucash/gnome-utils/gnc-tree-control-split-reg.c:66
msgid "Cannot modify or delete this transaction."
msgstr "无法修改或删除该交易事项。"
msgstr "无法修改或删除该交易。"
#: gnucash/gnome/gnc-split-reg.c:1172
#: gnucash/gnome-utils/gnc-tree-control-split-reg.c:83
@ -21496,7 +21496,7 @@ msgstr "折扣类型"
#: gnucash/register/ledger-core/gncEntryLedgerModel.c:82
msgid "Discount How"
msgstr "折扣多少"
msgstr "折扣方式"
#: gnucash/register/ledger-core/gncEntryLedgerModel.c:87
#: gnucash/report/reports/standard/invoice.scm:96
@ -21509,15 +21509,15 @@ msgstr "单价"
#: gnucash/register/ledger-core/gncEntryLedgerModel.c:102
msgid "Taxable?"
msgstr "须纳税的?"
msgstr "应税"
#: gnucash/register/ledger-core/gncEntryLedgerModel.c:107
msgid "Tax Included?"
msgstr "含税"
msgstr "含税"
#: gnucash/register/ledger-core/gncEntryLedgerModel.c:112
msgid "Invoiced?"
msgstr "已开发票"
msgstr "发票"
#: gnucash/register/ledger-core/gncEntryLedgerModel.c:117
#: gnucash/report/reports/standard/invoice.scm:249
@ -21890,7 +21890,7 @@ msgid ""
"\n"
"'%s'"
msgstr ""
"无法修改或删除这笔交易事项。这笔交易事项被标记为只读,因为:\n"
"无法修改或删除此交易,这笔交易只读,因为:\n"
"\n"
"“%s”"
@ -28954,7 +28954,7 @@ msgstr "额外的签账卡"
#: libgnucash/engine/gncInvoice.c:1786
msgid "Generated from an invoice. Try unposting the invoice."
msgstr "从发票产生的。试着取消入账此发票。"
msgstr "商业交易,无法直接删除,可以取消入账。"
#: libgnucash/engine/gncInvoice.c:2216
msgid " (posted)"

View File

@ -4,7 +4,7 @@ run echo "NoExtract = !*locale*/fr*/* !usr/share/i18n/locales/fr_FR*" >> /etc/pa
run pacman -Syu --quiet --noconfirm glibc gcc cmake make boost python2 pkg-config gettext gtk3 guile git ninja gtest gmock sqlite3 webkit2gtk swig gwenhywfar aqbanking intltool libxslt postgresql-libs libmariadbclient libdbi libdbi-drivers wayland-protocols > /dev/null
run echo en_US.UTF-8 UTF-8 >> /etc/locale.gen
run echo en_US.UTF-8 UTF-8 > /etc/locale.gen
run echo en_GB.UTF-8 UTF-8 >> /etc/locale.gen
run echo fr_FR.UTF-8 UTF-8 >> /etc/locale.gen
run locale-gen

View File

@ -7,6 +7,7 @@ cd build
export TZ="America/Los_Angeles"
export PATH="$PATH:/usr/bin/core_perl"
export CTEST_OUTPUT_ON_FAILURE=On
git config --global --add safe.directory /github/workspace
cmake /github/workspace -DWITH_PYTHON=ON -DCMAKE_BUILD_TYPE=debug -G Ninja
ninja
ninja check