Merge branch 'maint'

This commit is contained in:
Christopher Lam 2022-03-18 20:37:07 +08:00
commit 5993ebf4d4
20 changed files with 523 additions and 575 deletions

View File

@ -560,6 +560,7 @@ gnc_tree_model_account_compute_period_balance (GncTreeModelAccount *model,
gboolean *negative)
{
GncTreeModelAccountPrivate *priv;
GNCPrintAmountInfo print_info;
time64 t1, t2;
gnc_numeric b3;
@ -583,7 +584,9 @@ gnc_tree_model_account_compute_period_balance (GncTreeModelAccount *model,
if (negative)
*negative = gnc_numeric_negative_p (b3);
return g_strdup(xaccPrintAmount (b3, gnc_account_print_info (acct, TRUE)));
print_info = gnc_account_print_info (acct, TRUE);
return g_strdup (gnc_print_amount_with_bidi_ltr_isolate (b3, print_info));
}
static gboolean

View File

@ -399,6 +399,7 @@ gnc_main_window_summary_refresh (GNCMainSummary * summary)
for (current = g_list_first(currency_list); current; current = g_list_next(current))
{
gchar *total_mode_label;
gchar *bidi_total, *bidi_asset_amount, *bidi_profit_amount;
currency_accum = current->data;
@ -412,16 +413,22 @@ gnc_main_window_summary_refresh (GNCMainSummary * summary)
gtk_list_store_append(summary->datamodel, &iter);
total_mode_label = get_total_mode_label (currency_accum);
bidi_total = gnc_wrap_text_with_bidi_ltr_isolate(total_mode_label);
bidi_asset_amount = gnc_wrap_text_with_bidi_ltr_isolate(asset_amount_string);
bidi_profit_amount = gnc_wrap_text_with_bidi_ltr_isolate(profit_amount_string);
gtk_list_store_set(summary->datamodel, &iter,
COLUMN_MNEMONIC_TYPE, total_mode_label,
COLUMN_MNEMONIC_TYPE, bidi_total,
COLUMN_ASSETS, _("Net Assets:"),
COLUMN_ASSETS_VALUE, asset_amount_string,
COLUMN_ASSETS_VALUE, bidi_asset_amount,
COLUMN_ASSETS_NEG, gnc_numeric_negative_p(currency_accum->assets),
COLUMN_PROFITS, _("Profits:"),
COLUMN_PROFITS_VALUE, profit_amount_string,
COLUMN_PROFITS_VALUE, bidi_profit_amount,
COLUMN_PROFITS_NEG, gnc_numeric_negative_p(currency_accum->profits),
-1);
g_free(total_mode_label);
g_free(bidi_total);
g_free(bidi_asset_amount);
g_free(bidi_profit_amount);
}
gtk_combo_box_set_model(GTK_COMBO_BOX(summary->totals_combo),
GTK_TREE_MODEL(summary->datamodel));

View File

@ -659,6 +659,8 @@ check_page (GtkListStore *list, gnc_numeric& debit, gnc_numeric& credit,
acctstr = "";
else if (acct)
acctstr = xaccAccountGetName (acct);
else if ((splitfield & FieldMask::ALLOW_ZERO) && gnc_numeric_zero_p (amount))
acctstr = "";
else
{
add_error (errors, N_("Account for %s is missing"), page);
@ -696,6 +698,8 @@ refresh_page_finish (StockTransactionInfo *info)
{
auto stock_amount = gnc_amount_edit_get_amount
(GNC_AMOUNT_EDIT(info->stock_amount_edit));
if (!gnc_numeric_positive_p (stock_amount))
add_error_str (errors, N_("Stock amount must be positive"));
if (info->txn_type->stock_amount & FieldMask::ENABLED_CREDIT)
stock_amount = gnc_numeric_neg (stock_amount);
auto new_bal = gnc_numeric_add_fixed (info->balance_at_date, stock_amount);

View File

@ -1715,10 +1715,14 @@ static void
gnc_invoice_reset_total_label (GtkLabel *label, gnc_numeric amt, gnc_commodity *com)
{
char string[256];
gchar *bidi_string;
amt = gnc_numeric_convert (amt, gnc_commodity_get_fraction(com), GNC_HOW_RND_ROUND_HALF_UP);
xaccSPrintAmount (string, amt, gnc_commodity_print_info (com, TRUE));
gtk_label_set_text (label, string);
bidi_string = gnc_wrap_text_with_bidi_ltr_isolate (string);
gtk_label_set_text (label, bidi_string);
g_free (bidi_string);
}
static void

View File

@ -1265,6 +1265,9 @@ budget_col_edited (Account *account, GtkTreeViewColumn *col,
guint period_num;
gnc_numeric numeric = gnc_numeric_error (GNC_ERROR_ARG);
if (qof_book_is_readonly (gnc_get_current_book ()))
return;
if (!xaccParseAmount (new_text, TRUE, &numeric, NULL) &&
!(new_text && *new_text == '\0'))
return;

View File

@ -86,6 +86,16 @@ static GtkActionEntry gnc_plugin_actions [] =
};
static guint gnc_plugin_n_actions = G_N_ELEMENTS (gnc_plugin_actions);
static const gchar *plugin_writeable_actions[] =
{
/* actions which must be disabled on a readonly book. */
"NewBudgetAction",
"CopyBudgetAction",
"DeleteBudgetAction",
NULL
};
typedef struct GncPluginBudgetPrivate
{
gpointer dummy;
@ -110,6 +120,27 @@ GncPlugin * gnc_plugin_budget_new (void)
return GNC_PLUGIN(plugin);
}
static void page_changed (GncMainWindow *window, GncPluginPage *page,
gpointer user_data)
{
GtkActionGroup *action_group =
gnc_main_window_get_action_group (window, PLUGIN_ACTIONS_NAME);
if (qof_book_is_readonly (gnc_get_current_book()))
gnc_plugin_update_actions (action_group, plugin_writeable_actions,
"sensitive", FALSE);
}
static void add_to_window (GncPlugin *plugin, GncMainWindow *mainwindow, GQuark type)
{
g_signal_connect (mainwindow, "page_changed", G_CALLBACK (page_changed), plugin);
}
static void remove_from_window (GncPlugin *plugin, GncMainWindow *window, GQuark type)
{
g_signal_handlers_disconnect_by_func (window, G_CALLBACK(page_changed), plugin);
}
G_DEFINE_TYPE_WITH_PRIVATE(GncPluginBudget, gnc_plugin_budget, GNC_TYPE_PLUGIN)
static void
@ -127,6 +158,8 @@ gnc_plugin_budget_class_init (GncPluginBudgetClass *klass)
plugin_class->actions = gnc_plugin_actions;
plugin_class->n_actions = gnc_plugin_n_actions;
plugin_class->ui_filename = PLUGIN_UI_FILENAME;
plugin_class->add_to_window = add_to_window;
plugin_class->remove_from_window = remove_from_window;
LEAVE (" ");
}

View File

@ -202,6 +202,17 @@ static GtkActionEntry gnc_plugin_page_budget_actions [] =
};
static const gchar *writeable_actions[] =
{
/* actions which must be disabled on a readonly book. */
"DeleteBudgetAction",
"OptionsBudgetAction",
"EstimateBudgetAction",
"AllPeriodsBudgetAction",
"BudgetNoteAction",
NULL
};
static guint gnc_plugin_page_budget_n_actions =
G_N_ELEMENTS(gnc_plugin_page_budget_actions);
@ -366,6 +377,10 @@ gnc_plugin_page_budget_init (GncPluginPageBudget *plugin_page)
plugin_page);
gnc_plugin_init_short_names (action_group, toolbar_labels);
if (qof_book_is_readonly (gnc_get_current_book()))
gnc_plugin_update_actions (action_group, writeable_actions,
"sensitive", FALSE);
/* Visible types */
priv->fd.visible_types = -1; /* Start with all types */
priv->fd.show_hidden = FALSE;

View File

@ -578,7 +578,7 @@ gsr_update_summary_label( GtkWidget *label,
char string[256];
const gchar *label_str = NULL;
GtkWidget *text_label, *hbox;
gchar *tooltip;
gchar *bidi_string;
if ( label == NULL )
return;
@ -605,11 +605,13 @@ gsr_update_summary_label( GtkWidget *label,
}
gnc_set_label_color( label, amount );
gtk_label_set_text( GTK_LABEL(label), string );
bidi_string = gnc_wrap_text_with_bidi_ltr_isolate (string);
gtk_label_set_text( GTK_LABEL(label), bidi_string );
g_free (bidi_string);
if (label_str)
{
tooltip = g_strdup_printf ("%s %s", label_str, string);
gchar *tooltip = g_strdup_printf ("%s %s", label_str, string);
gtk_widget_set_tooltip_text (GTK_WIDGET(hbox), tooltip);
g_free (tooltip);
}

View File

@ -187,6 +187,16 @@
<summary>Mark transaction split as unreconciled</summary>
<description>This dialog is presented before allowing you to mark a transaction split as unreconciled. Doing so will throw off the reconciled value of the register and can make it hard to perform future reconciliations.</description>
</key>
<key name="reg-split-cut" type="i">
<default>0</default>
<summary>Cut a split from a transaction</summary>
<description>This dialog is presented before allowing you to cut a split from a transaction.</description>
</key>
<key name="reg-split-cut-recd" type="i">
<default>0</default>
<summary>Cut a reconciled split from a transaction</summary>
<description>This dialog is presented before allowing you to cut a reconciled split from a transaction. Doing so will throw off the reconciled value of the register and can make it hard to perform future reconciliations.</description>
</key>
<key name="reg-split-del" type="i">
<default>0</default>
<summary>Remove a split from a transaction</summary>
@ -207,6 +217,16 @@
<summary>Remove all the splits from a transaction</summary>
<description>This dialog is presented before allowing you to remove all splits (including some reconciled splits) from a transaction. Doing so will throw off the reconciled value of the register and can make it hard to perform future reconciliations.</description>
</key>
<key name="reg-trans-cut" type="i">
<default>0</default>
<summary>Cut a transaction</summary>
<description>This dialog is presented before allowing you to cut a transaction.</description>
</key>
<key name="reg-trans-cut-recd" type="i">
<default>0</default>
<summary>Cut a transaction with reconciled splits</summary>
<description>This dialog is presented before allowing you to cut a transaction that contains reconciled splits. Doing so will throw off the reconciled value of the register and can make it hard to perform future reconciliations.</description>
</key>
<key name="reg-trans-del" type="i">
<default>0</default>
<summary>Delete a transaction</summary>

View File

@ -122,7 +122,7 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-bottom">6</property>
<property name="label" translatable="yes">Select the type of transaction date and description for your records.</property>
<property name="label" translatable="yes">Select the date and description for your records.</property>
<property name="wrap">True</property>
</object>
<packing>
@ -197,7 +197,7 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-bottom">6</property>
<property name="label" translatable="yes">Enter the date and the number of shares you gained or lost in the transaction.</property>
<property name="label" translatable="yes">Enter the number of shares you gained or lost in the transaction.</property>
<property name="wrap">True</property>
</object>
<packing>
@ -247,7 +247,7 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">(Previous Balance)</property>
<property name="label">(Previous Balance)</property>
<property name="use-underline">True</property>
<property name="justify">center</property>
</object>
@ -275,7 +275,7 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="label" translatable="yes">(Next Balance)</property>
<property name="label">(Next Balance)</property>
<property name="use-underline">True</property>
<property name="justify">center</property>
</object>
@ -518,7 +518,7 @@
</child>
</object>
<packing>
<property name="title" translatable="yes" comments="Dialog title for the remains of a stock split">Cash</property>
<property name="title" translatable="yes">Cash</property>
<property name="complete">True</property>
</packing>
</child>

View File

@ -1377,6 +1377,7 @@ gnucash_scroll_event (GtkWidget *widget, GdkEventScroll *event)
GnucashSheet *sheet;
GtkAdjustment *vadj;
gfloat h_value, v_value;
int direction;
g_return_val_if_fail (widget != NULL, TRUE);
g_return_val_if_fail (GNUCASH_IS_SHEET(widget), TRUE);
@ -1394,12 +1395,22 @@ gnucash_scroll_event (GtkWidget *widget, GdkEventScroll *event)
case GDK_SCROLL_DOWN:
v_value += gtk_adjustment_get_step_increment (vadj);
break;
/* GdkQuartz reserves GDK_SCROLL_SMOOTH for high-resolution touchpad
* scrolling events, and in that case scrolling by line is much too
* fast. Gdk/Wayland and Gdk/Win32 pass GDK_SCROLL_SMOOTH for all
* scroll-wheel events and expect coarse resolution.
*/
case GDK_SCROLL_SMOOTH:
h_value = gtk_adjustment_get_value (sheet->hadj);
h_value += event->delta_x;
h_value = clamp_scrollable_value (h_value, sheet->hadj);
gtk_adjustment_set_value (sheet->hadj, h_value);
#if defined MAC_INTEGRATION
v_value += event->delta_y;
#else
direction = event->delta_y > 0 ? 1 : event->delta_y < 0 ? -1 : 0;
v_value += gtk_adjustment_get_step_increment (vadj) * direction;
#endif
break;
default:
return FALSE;

View File

@ -146,7 +146,8 @@ gnc_ui_account_get_print_balance (xaccGetBalanceInCurrencyFn fn,
balance = gnc_ui_account_get_balance_full(fn, account, recurse,
negative, NULL);
print_info = gnc_account_print_info(account, TRUE);
return g_strdup(xaccPrintAmount(balance, print_info));
return g_strdup (gnc_print_amount_with_bidi_ltr_isolate (balance, print_info));
}
@ -178,7 +179,8 @@ gnc_ui_account_get_print_report_balance (xaccGetBalanceInCurrencyFn fn,
balance = gnc_ui_account_get_balance_full(fn, account, recurse,
negative, report_commodity);
print_info = gnc_commodity_print_info(report_commodity, TRUE);
return g_strdup(xaccPrintAmount(balance, print_info));
return g_strdup (gnc_print_amount_with_bidi_ltr_isolate (balance, print_info));
}
static gnc_numeric
@ -312,7 +314,8 @@ gnc_ui_owner_get_print_balance (GncOwner *owner,
balance = gnc_ui_owner_get_balance_full (owner, negative, NULL);
print_info = gnc_commodity_print_info (gncOwnerGetCurrency (owner), TRUE);
return g_strdup (xaccPrintAmount (balance, print_info));
return g_strdup (gnc_print_amount_with_bidi_ltr_isolate (balance, print_info));
}
/**
@ -338,6 +341,7 @@ gnc_ui_owner_get_print_report_balance (GncOwner *owner,
balance = gnc_ui_owner_get_balance_full (owner, negative,
report_commodity);
print_info = gnc_commodity_print_info (report_commodity, TRUE);
return g_strdup (xaccPrintAmount (balance, print_info));
return g_strdup (gnc_print_amount_with_bidi_ltr_isolate (balance, print_info));
}

View File

@ -1833,11 +1833,13 @@ xaccSPrintAmount (char * bufp, gnc_numeric val, GNCPrintAmountInfo info)
return (bufp - orig_bufp);
}
#define BUFLEN 1024
const char *
xaccPrintAmount (gnc_numeric val, GNCPrintAmountInfo info)
{
/* hack alert -- this is not thread safe ... */
static char buf[1024];
static char buf[BUFLEN];
if (!xaccSPrintAmount (buf, val, info))
buf[0] = '\0';
@ -1846,6 +1848,55 @@ xaccPrintAmount (gnc_numeric val, GNCPrintAmountInfo info)
return buf;
}
const char *
gnc_print_amount_with_bidi_ltr_isolate (gnc_numeric val, GNCPrintAmountInfo info)
{
/* hack alert -- this is not thread safe ... */
static char buf[BUFLEN];
static const char ltr_isolate[] = { 0xe2, 0x81, 0xa6 };
static const char ltr_pop_isolate[] = { 0xe2, 0x81, 0xa9 };
size_t offset = info.use_symbol ? 3 : 0;
memset (buf, 0, BUFLEN);
if (!xaccSPrintAmount (buf + offset, val, info))
{
buf[0] = '\0';
return buf;
};
if (!info.use_symbol)
return buf;
memcpy (buf, ltr_isolate, 3);
if (buf[BUFLEN - 4] == '\0')
{
size_t length = strlen (buf);
memcpy (buf + length, ltr_pop_isolate, 3);
}
else
{
buf[BUFLEN - 1] = '\0';
memcpy (buf + BUFLEN - 4, ltr_pop_isolate, 3);
PWARN("buffer length %d exceeded, string truncated was %s", BUFLEN, buf);
}
/* its OK to return buf, since we declared it static
and is immediately g_strdup'd */
return buf;
}
gchar *
gnc_wrap_text_with_bidi_ltr_isolate (const gchar *text)
{
static const char *ltr = "\u2066"; // ltr isolate
static const char *pop = "\u2069"; // pop directional formatting
if (!text)
return NULL;
return g_strconcat (ltr, text, pop, NULL);
}
/********************************************************************\
********************************************************************/

View File

@ -391,6 +391,28 @@ xaccParseAmountExtended (const char * in_str, gboolean monetary,
gunichar group_separator, const char *ignore_list,
gnc_numeric *result, char **endstr);
/**
* Make a string representation of a gnc_numeric. Warning, the
* gnc_numeric is not checked for validity and the returned char* may
* point to random garbage.
*
* This is the same as xaccPrintAmount but wraps the output with BiDi
* left to right isolate if a symbol is displayed.
*/
const char *
gnc_print_amount_with_bidi_ltr_isolate (gnc_numeric val, GNCPrintAmountInfo info);
/**
* This function helps with GTK's use of 'Unicode Bidirectional
* Text Algorithm'. To keep the format of the text, this function wraps
* the text with a BiDi isolate charatcter and a BiDi closing character.
*
* This helps with monetary values in RTL languages that display the
* currency symbol.
*/
gchar *
gnc_wrap_text_with_bidi_ltr_isolate (const char *text);
/* Initialization ***************************************************/
void gnc_ui_util_init (void);

View File

@ -3,23 +3,25 @@
# This file is distributed under the same license as the gnucash package.
# Miloslav Trmac <mitr@volny.cz>, 2002, 2003, 2004, 2007.
# Petr Pisar <petr.pisar@atlas.cz>, 2012.
#
# Tomáš Václavík <t3vaclavik@gmail.com>, 2022.
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: 2012-03-29 11:39+0200\n"
"Last-Translator: Petr Pisar <petr.pisar@atlas.cz>\n"
"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
"PO-Revision-Date: 2022-03-14 23:55+0000\n"
"Last-Translator: Tomáš Václavík <t3vaclavik@gmail.com>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/gnucash/gnucash/cs/"
">\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"X-Generator: Weblate 4.12-dev\n"
"X-Bugs: Report translation errors to the Language-Team address.\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#: borrowed/goffice/go-charmap-sel.c:70
msgid "Arabic"
@ -436,14 +438,13 @@ msgid "The menu of options"
msgstr "Nabídka možností"
#: doc/tip_of_the_day.list.c:3
#, fuzzy
msgid ""
"The GnuCash online manual has lots of helpful information. You can access "
"the manual under the Help menu."
msgstr ""
"Online příručka GnuCash má mnoho užitečných informací. Pokud aktualizujete "
"ze starší verze GnuCash, je obzvlášť zajímavá sekce \"Co je nového v GnuCash "
"2.0\". K této příručce můžete přistupovat z menu Nápověda"
"2.0\". K této příručce můžete přistupovat z menu Nápověda."
#. Translators: You can replace the link, if a translated page exists.
#: doc/tip_of_the_day.list.c:7

View File

@ -33,10 +33,10 @@
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-18 17:57+0000\n"
"PO-Revision-Date: 2022-03-14 20:55+0000\n"
"Last-Translator: Christian Wehling <christian.wehling@web.de>\n"
"Language-Team: German <https://hosted.weblate.org/projects/gnucash/gnucash/"
"de/>\n"
@ -45,7 +45,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.11-dev\n"
"X-Generator: Weblate 4.12-dev\n"
#: borrowed/goffice/go-charmap-sel.c:70
msgid "Arabic"
@ -511,6 +511,11 @@ msgid ""
"(File[->Most Recently Used-List]).\n"
"The full path is displayed in the status bar."
msgstr ""
"Wenn Sie wissen wollen, in welchem Verzeichnis Ihre GnuCash-Dateien "
"gespeichert sind, bewegen Sie den Mauszeiger über einen der nummerierten "
"Einträge im »Datei«-Menü.\n"
"»Datei[->Liste der zuletzt verwendeten Dateien]«\n"
"Der vollständige Pfad wird in der Statusleiste angezeigt."
#: doc/tip_of_the_day.list.c:24
msgid ""
@ -15790,6 +15795,9 @@ msgid ""
"investment categories like STOCKS and BONDS or exchange names like NASDAQ "
"and LSE."
msgstr ""
"Wählen Sie eine Kategorie für die Devise/Wertpapier oder geben Sie eine neue "
"ein. Sie können Anlagekategorien wie Aktien und Fonds oder Börsennamen wie "
"DAX und NASDAQ verwenden."
#: gnucash/gtkbuilder/dialog-commodity.glade:329
msgid ""
@ -22005,10 +22013,8 @@ msgid "y/d/m"
msgstr "Jahr/Tag/Monat"
#: 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 "Erstelle den Buchungsbericht zu diesem Konto."
msgstr "Bei dem Import wurden keine neuen Buchungen gefunden."
#: gnucash/import-export/import-main-matcher.c:630
#: gnucash/import-export/import-main-matcher.c:783
@ -22016,44 +22022,32 @@ msgid "Destination account for the auto-balance split."
msgstr "Gegenkonto für Ausgleichsbuchung."
#: gnucash/import-export/import-main-matcher.c:943
#, fuzzy
#| msgid "Enter the Entry Description"
msgid "Enter new Description"
msgstr "Geben Sie die Beschreibung des Postens ein"
msgstr "Neue Beschreibung eingeben"
#: gnucash/import-export/import-main-matcher.c:958
#, fuzzy
#| msgid "Enter Due Date"
msgid "Enter new Memo"
msgstr "Fälligkeitsdatum eingeben"
msgstr "Neuen Buchungstext eingeben"
#: gnucash/import-export/import-main-matcher.c:971
#, fuzzy
#| msgid "Enter Note"
msgid "Enter new Notes"
msgstr "Bemerkung eingeben"
msgstr "Neue Bemerkung eingeben"
#: gnucash/import-export/import-main-matcher.c:1097
msgid "Assign a transfer account to the selection."
msgstr "Gegenkonto zu Auswahl zuweisen."
#: gnucash/import-export/import-main-matcher.c:1108
#, fuzzy
#| msgid "Sort by description."
msgid "Edit description."
msgstr "Sortieren nach Beschreibung"
msgstr "Beschreibung bearbeiten."
#: gnucash/import-export/import-main-matcher.c:1116
#, fuzzy
#| msgid "Edit Job"
msgid "Edit memo."
msgstr "Auftrag bearbeiten"
msgstr "Buchungstext bearbeiten."
#: gnucash/import-export/import-main-matcher.c:1124
#, fuzzy
#| msgid "Edit Note"
msgid "Edit notes."
msgstr "Bemerkung bearbeiten"
msgstr "Bemerkung bearbeiten."
#: gnucash/import-export/import-main-matcher.c:1286
msgctxt "Column header for 'Adding transaction'"
@ -28690,22 +28684,16 @@ msgid "CSS color."
msgstr "CSS-Farbe."
#: gnucash/report/reports/standard/taxinvoice.scm:192
#, fuzzy
#| msgid "Invoice number: "
msgid "Invoice number:"
msgstr "Rechnungsnummer: "
msgstr "Rechnungsnummer:"
#: gnucash/report/reports/standard/taxinvoice.scm:194
#, fuzzy
#| msgid "To: "
msgid "To:"
msgstr "An: "
msgstr "An:"
#: gnucash/report/reports/standard/taxinvoice.scm:196
#, fuzzy
#| msgid "Your ref: "
msgid "Your ref:"
msgstr "Ihr Zeichen: "
msgstr "Ihr Zeichen:"
#: gnucash/report/reports/standard/taxinvoice.scm:208
msgid "Embedded CSS."
@ -29453,10 +29441,10 @@ msgid "Use regular expressions for account name filter"
msgstr "Regulären Ausdruck für Import nutzen"
#: gnucash/report/trep-engine.scm:114
#, fuzzy
#| msgid "Transaction Filter excludes matched strings"
msgid "Account Name Filter excludes matched strings"
msgstr "Buchungsfilter blendet passende Zeichenketten aus"
msgstr ""
"Der Filter für die Kontobezeichnung schließt übereinstimmende Zeichenfolgen "
"aus"
#: gnucash/report/trep-engine.scm:115
msgid "Transaction Filter"
@ -29609,13 +29597,10 @@ msgstr ""
"anzuzeigen, z.B. '20../.' wird mit'Reise 2017/1 London' übereinstimmen. "
#: 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 ""
"Wenn aktiv, werden die Buchungen ausgeblendet, die auf den Buchungsfilter "
"passen."
"Wenn diese Option ausgewählt ist, werden Konten, die dem Filter entsprechen, "
"ausgeschlossen."
#: gnucash/report/trep-engine.scm:606
msgid ""

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-11 06:28+0000\n"
"PO-Revision-Date: 2022-03-14 06:41+0000\n"
"Last-Translator: Pedro Albuquerque <pmra@gmx.com>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/gnucash/"
"gnucash/pt/>\n"
@ -29270,7 +29270,7 @@ msgstr "Reverter exibição de montante para certos tipos de conta."
#: gnucash/report/trep-engine.scm:1197
msgid "Num/T-Num"
msgstr "Num/Num-T"
msgstr "Nº/Nº-T"
#: gnucash/report/trep-engine.scm:1246
msgid "Transfer from/to"
@ -29294,7 +29294,7 @@ msgstr "CSV desactivado para quantias em coluna dupla"
#: gnucash/report/trep-engine.scm:2269
#, scheme-format
msgid "From ~a to ~a"
msgstr "De ~a para ~a"
msgstr "De ~a a ~a"
#: libgnucash/app-utils/business-options.scm:69
msgid "Company Address"
@ -29878,24 +29878,23 @@ msgstr "Erro numérico"
#: libgnucash/app-utils/gnc-sx-instance-model.c:1018
#, c-format
msgid "Unknown account for guid [%s], cancelling SX [%s] creation."
msgstr "Conta desconhecida para guid [%s], a cancelar criação de SX [%s]."
msgstr "Conta [%s] desconhecida, a cancelar o agendamento de [%s]."
#: libgnucash/app-utils/gnc-sx-instance-model.c:1071
#, c-format
msgid "Error parsing SX [%s] key [%s]=formula [%s] at [%s]: %s."
msgstr "Erro ao analisar chave SX [%s] [%s]=fórmula [%s] em [%s]: %s."
msgstr "Erro ao analisar [%s], chave [%s]=fórmula [%s] em [%s]: %s."
#: libgnucash/app-utils/gnc-sx-instance-model.c:1125
#: libgnucash/app-utils/gnc-sx-instance-model.c:1790
#, c-format
msgid "Error %d in SX [%s] final gnc_numeric value, using 0 instead."
msgstr "Erro %d em SX [%s] final gnc_numeric value, a usar antes 0."
msgstr "Erro %d em [%s], valor final de gnc_numeric, a usar antes 0."
#: libgnucash/app-utils/gnc-sx-instance-model.c:1799
#, c-format
msgid "No exchange rate available in SX [%s] for %s -> %s, value is zero."
msgstr ""
"Sem taxa de câmbio disponível em SX [%s] para %s -> %s, o valor é zero."
msgstr "Sem taxa de câmbio disponível em [%s] para %s -> %s, o valor é zero."
#. Translators: This and the following strings appear on
#. the account tab if the Tax Info column is displayed,
@ -29917,13 +29916,13 @@ msgstr "Campo de imposto não especificado"
#: libgnucash/app-utils/gnc-ui-util.c:702
#, c-format
msgid "Tax type %s: invalid code %s for account type"
msgstr "Tipo de imposto %s: código inválido %s para o tipo de conta"
msgstr "Tipo de imposto %s: código %s inválido para o tipo de conta"
#: libgnucash/app-utils/gnc-ui-util.c:706
#, c-format
msgid "Not tax-related; tax type %s: invalid code %s for account type"
msgstr ""
"Não sujeita a imposto; tipo de imposto %s: código inválido %s para o tipo de "
"Não sujeita a imposto; tipo de imposto %s: código %s inválido para o tipo de "
"conta"
#: libgnucash/app-utils/gnc-ui-util.c:719
@ -29934,7 +29933,7 @@ msgstr "Código %s inválido para o tipo de imposto %s"
#: libgnucash/app-utils/gnc-ui-util.c:723
#, c-format
msgid "Not tax-related; invalid code %s for tax type %s"
msgstr "Não sujeita a imposto; código inválido %s para o tipo de imposto %s"
msgstr "Não sujeita a imposto; código %s inválido para o tipo de imposto %s"
#: libgnucash/app-utils/gnc-ui-util.c:741
#, c-format
@ -29983,7 +29982,7 @@ msgstr "c"
#: libgnucash/app-utils/gnc-ui-util.c:875
msgctxt "Reconciled flag 'reconciled'"
msgid "y"
msgstr "s"
msgstr "r"
#: libgnucash/app-utils/gnc-ui-util.c:877
msgctxt "Reconciled flag 'frozen'"
@ -30045,7 +30044,7 @@ msgstr "Aviso"
#: libgnucash/core-utils/gnc-filepath-utils.cpp:678
msgid "Your gnucash metadata has been migrated."
msgstr "Os seus meta-dados gnucash foram migrados."
msgstr "Os seus meta-dados GnuCash foram migrados."
#. Translators: this refers to a directory name.
#: libgnucash/core-utils/gnc-filepath-utils.cpp:680
@ -30121,7 +30120,7 @@ msgstr "Acção"
#: libgnucash/engine/Account.cpp:4475
msgid "Mutual Fund"
msgstr "Fundo de investimento"
msgstr "Fundo mutualista"
#: libgnucash/engine/Account.cpp:4480
msgid "A/Receivable"
@ -30137,12 +30136,12 @@ msgstr "Raiz"
#: libgnucash/engine/Account.cpp:4944
msgid "Orphaned Gains"
msgstr "Ganhos orfãos"
msgstr "Ganhos órfãos"
#: libgnucash/engine/Account.cpp:4958 libgnucash/engine/cap-gains.c:806
#: libgnucash/engine/cap-gains.c:811 libgnucash/engine/cap-gains.c:812
msgid "Realized Gain/Loss"
msgstr "Ganho/Perda realizado"
msgstr "Ganhos/Perdas realizados"
#: libgnucash/engine/Account.cpp:4960
msgid ""
@ -30193,7 +30192,7 @@ msgstr "m-d"
#: libgnucash/engine/gnc-datetime.cpp:572
msgid "Unknown date format specifier passed as argument."
msgstr "Especificador de formato de data inválido passado como argumento."
msgstr "Formato de data inválido passado como argumento."
#: libgnucash/engine/gnc-datetime.cpp:577
msgid "Value can't be parsed into a date using the selected date format."
@ -30269,11 +30268,11 @@ msgstr "Usar contas de bolsa"
#: libgnucash/engine/qofbookslots.h:67
msgid "Currency Accounting"
msgstr "Contabilidade de moeda"
msgstr "Moeda contabilizável"
#: libgnucash/engine/qofbookslots.h:68
msgid "Book Currency"
msgstr "Livro de moeda"
msgstr "Moeda do livro"
#: libgnucash/engine/qofbookslots.h:69
msgid "Default Gains Policy"

658
po/sk.po

File diff suppressed because it is too large Load Diff

View File

@ -13,10 +13,10 @@
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-27 02:34+0000\n"
"PO-Revision-Date: 2022-03-13 04:55+0000\n"
"Last-Translator: Arve Eriksson <031299870@telia.com>\n"
"Language-Team: Swedish <https://hosted.weblate.org/projects/gnucash/gnucash/"
"sv/>\n"
@ -25,7 +25,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.11.1-dev\n"
"X-Generator: Weblate 4.12-dev\n"
"X-Bugs: Report translation errors to the Language-Team address.\n"
#: borrowed/goffice/go-charmap-sel.c:70
@ -489,6 +489,10 @@ msgid ""
"(File[->Most Recently Used-List]).\n"
"The full path is displayed in the status bar."
msgstr ""
"Om du vill veta i vilka kataloger dina senaste GnuCash-filer lagras, håll "
"musen över ett av objekten i historikmenyn\n"
"(Arkiv[->Lista över senaste filer]).\n"
"Den fullständiga sökvägen visas i statusfältet."
#: doc/tip_of_the_day.list.c:24
msgid ""
@ -15496,6 +15500,9 @@ msgid ""
"investment categories like STOCKS and BONDS or exchange names like NASDAQ "
"and LSE."
msgstr ""
"Välj en kategori för varan eller ange en ny. Man kan använda "
"investeringskategorier som AKTIER och OBLIGATIONER, eller börsnamn som "
"NASDAQ och OMX."
#: gnucash/gtkbuilder/dialog-commodity.glade:329
msgid ""
@ -17066,20 +17073,13 @@ msgid "Enable update match action"
msgstr "Aktivera åtgärd uppdatera matchning"
#: 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 ""
"Aktivera åtgärden UPPDATERA OCH AVSTÄM i transaktionsmatchningen. Om den "
"Aktivera åtgärden UPPDATERA OCH CLEARA i transaktionsmatchningen. Om den "
"aktiveras kommer en transaktion vars bästa matchningspoäng är över Auto-"
"CLEAR-tröskeln och har ett annat datum eller belopp än den matchande "
"befintliga transaktionen att leda till att den befintliga transaktionen "
@ -21598,10 +21598,8 @@ msgid "y/d/m"
msgstr "å/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 "Skapa transaktionsrapport för detta konto."
msgstr "Inga nya transaktioner hittades i denna import."
#: gnucash/import-export/import-main-matcher.c:630
#: gnucash/import-export/import-main-matcher.c:783
@ -21609,44 +21607,32 @@ msgid "Destination account for the auto-balance split."
msgstr "Destinationskonto för auto-saldodelning."
#: gnucash/import-export/import-main-matcher.c:943
#, fuzzy
#| msgid "Enter the Entry Description"
msgid "Enter new Description"
msgstr "Ange postens beskrivning"
msgstr "Ange ny beskrivning"
#: gnucash/import-export/import-main-matcher.c:958
#, fuzzy
#| msgid "Enter Due Date"
msgid "Enter new Memo"
msgstr "Ange förfallodatum"
msgstr "Ange ny minnesanteckning"
#: gnucash/import-export/import-main-matcher.c:971
#, fuzzy
#| msgid "Enter Note"
msgid "Enter new Notes"
msgstr "Mata in anteckning"
msgstr "Ange ny anteckning"
#: gnucash/import-export/import-main-matcher.c:1097
msgid "Assign a transfer account to the selection."
msgstr "Tilldela ett överföringskonto till urvalet."
#: gnucash/import-export/import-main-matcher.c:1108
#, fuzzy
#| msgid "Sort by description."
msgid "Edit description."
msgstr "Sortera efter beskrivning."
msgstr "Redigera beskrivning."
#: gnucash/import-export/import-main-matcher.c:1116
#, fuzzy
#| msgid "Edit Job"
msgid "Edit memo."
msgstr "Redigera jobb"
msgstr "Redigera minnesanteckning."
#: gnucash/import-export/import-main-matcher.c:1124
#, fuzzy
#| msgid "Edit Note"
msgid "Edit notes."
msgstr "Redigera anteckning"
msgstr "Redigera anteckning."
#: gnucash/import-export/import-main-matcher.c:1286
msgctxt "Column header for 'Adding transaction'"
@ -21872,10 +21858,8 @@ msgstr ""
"investeringstyp kan du mata in en ny."
#: gnucash/import-export/qif-imp/assistant-qif-import.c:906
#, fuzzy
#| msgid "_Name or description"
msgid "Name or _description"
msgstr "_Namn eller beskrivning"
msgstr "Namn eller _beskrivning"
#: gnucash/import-export/qif-imp/assistant-qif-import.c:930
msgid "_Ticker symbol or other abbreviation"
@ -28183,22 +28167,16 @@ msgid "CSS color."
msgstr "CSS-färg."
#: gnucash/report/reports/standard/taxinvoice.scm:192
#, fuzzy
#| msgid "Invoice number: "
msgid "Invoice number:"
msgstr "Fakturanummer: "
msgstr "Fakturanummer:"
#: gnucash/report/reports/standard/taxinvoice.scm:194
#, fuzzy
#| msgid "To: "
msgid "To:"
msgstr "Till: "
msgstr "Till:"
#: gnucash/report/reports/standard/taxinvoice.scm:196
#, fuzzy
#| msgid "Your ref: "
msgid "Your ref:"
msgstr "Er ref: "
msgstr "Er ref:"
#: gnucash/report/reports/standard/taxinvoice.scm:208
msgid "Embedded CSS."
@ -28928,10 +28906,8 @@ msgid "Use regular expressions for account name filter"
msgstr "Använd regeluttryck för kontonamnfilter"
#: gnucash/report/trep-engine.scm:114
#, fuzzy
#| msgid "Transaction Filter excludes matched strings"
msgid "Account Name Filter excludes matched strings"
msgstr "Transaktionsfilter exkluderar matchade strängar"
msgstr "Kontonamnfilter exkluderar matchade strängar"
#: gnucash/report/trep-engine.scm:115
msgid "Transaction Filter"
@ -29082,13 +29058,9 @@ msgstr ""
"matcha \"Resa 2017/1 London\". "
#: 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 ""
"Om detta alternativ väljs kommer transaktioner som matchar filtret att "
"exkluderas."
"Om detta alternativ väljs kommer konton som matchar filtret att exkluderas."
#: gnucash/report/trep-engine.scm:606
msgid ""
@ -29213,10 +29185,8 @@ msgid "Display the reconciled date?"
msgstr "Visa avstämningsdatum?"
#: gnucash/report/trep-engine.scm:945
#, fuzzy
#| msgid "Display the reconciled date?"
msgid "Display the entered date?"
msgstr "Visa avstämningsdatum?"
msgstr "Visa registreringsdatum?"
#: gnucash/report/trep-engine.scm:950
msgid "Display the notes if the memo is unavailable?"
@ -30160,15 +30130,11 @@ msgstr ""
"inte har bokförts någon annanstans."
#: libgnucash/engine/gnc-commodity.h:112
#, fuzzy
#| msgid "All non-currency"
msgctxt "Commodity Type"
msgid "All non-currency"
msgstr "Alla penningfria"
#: libgnucash/engine/gnc-commodity.h:113
#, fuzzy
#| msgid "Currencies"
msgctxt "Commodity Type"
msgid "Currencies"
msgstr "Valutor"

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-12 04:55+0000\n"
"PO-Revision-Date: 2022-03-12 09:55+0000\n"
"Last-Translator: YTX <ytx.cash@gmail.com>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
"gnucash/gnucash/zh_Hans/>\n"
@ -5787,7 +5787,7 @@ msgstr "保存模板(_R)"
#: gnucash/gnome/gnc-plugin-page-report.c:1240
msgid "Save Report Configuration As..."
msgstr "另存模板"
msgstr "另存模板..."
#: gnucash/gnome/gnc-plugin-page-report.c:1244
msgid "Export _Report"
@ -6414,7 +6414,7 @@ msgstr "显示 ~a 报表"
#: gnucash/gnome/report-menus.scm:90
#: gnucash/gtkbuilder/dialog-custom-report.glade:8
msgid "Saved Report Configurations"
msgstr "模板清单"
msgstr "模板清单..."
#: gnucash/gnome/report-menus.scm:92
msgid "Manage and run saved report configurations"
@ -17382,7 +17382,7 @@ msgstr "模板"
#: gnucash/gtkbuilder/dialog-sx.glade:1476
msgid "Since Last Run..."
msgstr "待执行计划交易"
msgstr "计划交易清单..."
#: gnucash/gtkbuilder/dialog-sx.glade:1576
msgid "_Review created transactions"