I18N: Remove annoying stars from translator comments

This commit is contained in:
Frank H. Ellenberger
2021-01-22 10:16:54 +01:00
parent 902e58fcb6
commit 84cc64daed
19 changed files with 90 additions and 90 deletions

View File

@@ -1005,8 +1005,8 @@ gxi_check_file (GncXmlImportData *data)
} }
/* Translators: Please insert encodings here that are typically used in your /* Translators: Please insert encodings here that are typically used in your
* locale, separated by spaces. No need for ASCII or UTF-8, check `locale -m` locale, separated by spaces. No need for ASCII or UTF-8, check `locale -m`
* for assistance with spelling. */ for assistance with spelling. */
enc_array = g_strsplit (_("ISO-8859-1 KOI8-U"), " ", 0); enc_array = g_strsplit (_("ISO-8859-1 KOI8-U"), " ", 0);
/* loop through typical encodings */ /* loop through typical encodings */

View File

@@ -476,7 +476,7 @@ show_session_error (GtkWindow *parent,
case ERR_FILEIO_RESERVED_WRITE: case ERR_FILEIO_RESERVED_WRITE:
/* Translators: the first %s is a path in the filesystem, /* Translators: the first %s is a path in the filesystem,
* the second %s is PACKAGE_NAME, which by default is "GnuCash" the second %s is PACKAGE_NAME, which by default is "GnuCash"
*/ */
fmt = _("You attempted to save in\n%s\nor a subdirectory thereof. " fmt = _("You attempted to save in\n%s\nor a subdirectory thereof. "
"This is not allowed as %s reserves that directory for internal use.\n\n" "This is not allowed as %s reserves that directory for internal use.\n\n"

View File

@@ -1580,7 +1580,7 @@ gnc_main_window_generate_title (GncMainWindow *window)
if (gnc_uri_targets_local_fs (uri)) if (gnc_uri_targets_local_fs (uri))
{ {
/* The filename is a true file. /* The filename is a true file.
* The Gnome HIG 2.0 recommends only the file name (no path) be used. (p15) */ The Gnome HIG 2.0 recommends only the file name (no path) be used. (p15) */
gchar *path = gnc_uri_get_path ( uri ); gchar *path = gnc_uri_get_path ( uri );
filename = g_path_get_basename ( path ); filename = g_path_get_basename ( path );
g_free ( path ); g_free ( path );
@@ -1588,7 +1588,7 @@ gnc_main_window_generate_title (GncMainWindow *window)
else else
{ {
/* The filename is composed of database connection parameters. /* The filename is composed of database connection parameters.
* For this we will show access_method://username@database[:port] */ For this we will show access_method://username@database[:port] */
filename = gnc_uri_normalize_uri (uri, FALSE); filename = gnc_uri_normalize_uri (uri, FALSE);
} }
} }
@@ -1598,7 +1598,7 @@ gnc_main_window_generate_title (GncMainWindow *window)
if (page) if (page)
{ {
/* The Gnome HIG 2.0 recommends the application name not be used. (p16) /* The Gnome HIG 2.0 recommends the application name not be used. (p16)
* but several developers prefer to use it anyway. */ but several developers prefer to use it anyway. */
title = g_strdup_printf("%s%s%s - %s - GnuCash", dirty, filename, readonly, title = g_strdup_printf("%s%s%s - %s - GnuCash", dirty, filename, readonly,
gnc_plugin_page_get_page_name(page)); gnc_plugin_page_get_page_name(page));
} }
@@ -4711,9 +4711,9 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
"logo", logo, "logo", logo,
"name", "GnuCash", "name", "GnuCash",
/* Translators: the following string will be shown in Help->About->Credits /* Translators: the following string will be shown in Help->About->Credits
* Enter your name or that of your team and an email contact for feedback. Enter your name or that of your team and an email contact for feedback.
* The string can have multiple rows, so you can also add a list of The string can have multiple rows, so you can also add a list of
* contributors. */ contributors. */
"translator-credits", _("translator-credits"), "translator-credits", _("translator-credits"),
"version", version, "version", version,
"website", PACKAGE_URL, "website", PACKAGE_URL,

View File

@@ -1718,8 +1718,8 @@ gnc_tree_control_split_reg_save (GncTreeViewSplitReg *view, gboolean reg_closing
{ {
GtkWidget *dialog, *window; GtkWidget *dialog, *window;
gint response; gint response;
/* Translators: This message will be presented when a user * /* Translators: This message will be presented when a use
* attempts to record a transaction without splits */ attempts to record a transaction without splits */
const char *title = _("Not enough information for Blank Transaction?"); const char *title = _("Not enough information for Blank Transaction?");
const char *message = const char *message =
_("The blank transaction does not have enough information to save it. Would you like to " _("The blank transaction does not have enough information to save it. Would you like to "

View File

@@ -308,8 +308,8 @@ ap_assistant_menu_prepare (GtkAssistant *assistant, gpointer user_data)
/* Display the results */ /* Display the results */
str = g_strdup_printf ( str = g_strdup_printf (
/* Translators: %s is a date string. %d is the number of books /* Translators: %s is a date string. %d is the number of books
* that will be created. This is a ngettext(3) message (but that will be created. This is a ngettext(3) message (but
* only for the %d part). */ only for the %d part). */
ngettext("The earliest transaction date found in this book is %s. " ngettext("The earliest transaction date found in this book is %s. "
"Based on the selection made above, this book will be split " "Based on the selection made above, this book will be split "
"into %d book.", "into %d book.",

View File

@@ -761,7 +761,7 @@ gnc_loan_assistant_create( LoanAssistantData *ldd )
/* Add payment checkbox. */ /* Add payment checkbox. */
/* Translators: %s is "Taxes", /* Translators: %s is "Taxes",
* "Insurance", or similar. */ "Insurance", or similar. */
g_string_printf( str, _("... pay \"%s\"?"), g_string_printf( str, _("... pay \"%s\"?"),
rouid->optData->name ); rouid->optData->name );
rouid->optCb = rouid->optCb =

View File

@@ -463,10 +463,10 @@ gnc_invoice_window_verify_ok (InvoiceWindow *iw)
{ {
gnc_error_dialog (GTK_WINDOW (iw_get_window(iw)), "%s", gnc_error_dialog (GTK_WINDOW (iw_get_window(iw)), "%s",
/* Translators: In this context, /* Translators: In this context,
* 'Billing information' maps to the 'Billing information' maps to the
* label in the frame and means label in the frame and means
* e.g. customer i.e. the company being e.g. customer i.e. the company being
* invoiced. */ invoiced. */
_("You need to supply Billing Information.")); _("You need to supply Billing Information."));
return FALSE; return FALSE;
} }

View File

@@ -1515,11 +1515,11 @@ read_one_check_directory(PrintCheckDialog *pcd, GtkListStore *store,
gtk_message_dialog_format_secondary_text gtk_message_dialog_format_secondary_text
(GTK_MESSAGE_DIALOG(dialog), (GTK_MESSAGE_DIALOG(dialog),
/* Translators: /* Translators:
* %1$s is the type of the first check format %1$s is the type of the first check format
* (user defined or application defined); (user defined or application defined);
* %2$s is the filename of that format; %2$s is the filename of that format;
* %3$s the type of the other check format; and %3$s the type of the other check format; and
* %4$s the filename of that other format. */ %4$s the filename of that other format. */
_("The GUIDs in the %s check format file '%s' and " _("The GUIDs in the %s check format file '%s' and "
"the %s check format file '%s' match."), "the %s check format file '%s' match."),
existing->group, existing->filename, existing->group, existing->filename,

View File

@@ -148,13 +148,13 @@ static GtkActionEntry gnc_plugin_actions [] =
}, },
{ {
"EditTaxOptionsAction", NULL, "EditTaxOptionsAction", NULL,
/* Translators: remember to reuse this * /* Translators: remember to reuse this
* translation in dialog-account.glade */ translation in dialog-account.glade */
N_("Ta_x Report Options"), NULL, N_("Ta_x Report Options"), NULL,
/* Translators: currently implemented are * /* Translators: currently implemented are
* US: income tax and * US: income tax and
* DE: VAT * DE: VAT
* So adjust this string */ So adjust this string */
N_("Setup relevant accounts for tax reports, e.g. US income tax"), N_("Setup relevant accounts for tax reports, e.g. US income tax"),
G_CALLBACK (gnc_main_window_cmd_edit_tax_options) G_CALLBACK (gnc_main_window_cmd_edit_tax_options)
}, },

View File

@@ -275,13 +275,13 @@ static GtkActionEntry gnc_plugin_page_account_tree_actions [] =
}, },
{ {
"EditTaxOptionsAction", NULL, "EditTaxOptionsAction", NULL,
/* Translators: remember to reuse this * /* Translators: remember to reuse this
* translation in dialog-account.glade */ translation in dialog-account.glade */
N_("Ta_x Report Options"), NULL, N_("Ta_x Report Options"), NULL,
/* Translators: currently implemented are * /* Translators: currently implemented are
* US: income tax and * US: income tax and
* DE: VAT * DE: VAT
* So adjust this string */ So adjust this string */
N_("Setup relevant accounts for tax reports, e.g. US income tax"), N_("Setup relevant accounts for tax reports, e.g. US income tax"),
G_CALLBACK (gnc_plugin_page_account_tree_cmd_edit_tax_options) G_CALLBACK (gnc_plugin_page_account_tree_cmd_edit_tax_options)
}, },
@@ -1808,10 +1808,10 @@ void do_delete_account (Account* account, Account* saa, Account* sta, Account* t
GList *acct_list, *ptr; GList *acct_list, *ptr;
const GncGUID *guid; const GncGUID *guid;
gchar guidstr[GUID_ENCODING_LENGTH+1]; gchar guidstr[GUID_ENCODING_LENGTH+1];
gnc_set_busy_cursor(NULL, TRUE); gnc_set_busy_cursor(NULL, TRUE);
gnc_suspend_gui_refresh (); gnc_suspend_gui_refresh ();
/* Move subaccounts and transactions if this was requested */ /* Move subaccounts and transactions if this was requested */
xaccAccountBeginEdit (account); xaccAccountBeginEdit (account);
if (saa) if (saa)
@@ -1836,7 +1836,7 @@ void do_delete_account (Account* account, Account* saa, Account* sta, Account* t
xaccAccountMoveAllSplits (account, ta); xaccAccountMoveAllSplits (account, ta);
} }
xaccAccountCommitEdit (account); xaccAccountCommitEdit (account);
/* Drop all references from the state file for /* Drop all references from the state file for
* any subaccount the account still has * any subaccount the account still has
*/ */
@@ -1848,13 +1848,13 @@ void do_delete_account (Account* account, Account* saa, Account* sta, Account* t
gnc_state_drop_sections_for (guidstr); gnc_state_drop_sections_for (guidstr);
} }
g_list_free(acct_list); g_list_free(acct_list);
/* Drop all references from the state file for this account /* Drop all references from the state file for this account
*/ */
guid = xaccAccountGetGUID (account); guid = xaccAccountGetGUID (account);
guid_to_string_buff (guid, guidstr); guid_to_string_buff (guid, guidstr);
gnc_state_drop_sections_for (guidstr); gnc_state_drop_sections_for (guidstr);
/* /*
* Finally, delete the account, any subaccounts it may still * Finally, delete the account, any subaccounts it may still
* have, and any splits it or its subaccounts may still have. * have, and any splits it or its subaccounts may still have.

View File

@@ -367,13 +367,13 @@ static GtkActionEntry gnc_plugin_page_register_actions [] =
}, },
{ {
"EditTaxOptionsAction", NULL, "EditTaxOptionsAction", NULL,
/* Translators: remember to reuse this * /* Translators: remember to reuse this
* translation in dialog-account.glade */ translation in dialog-account.glade */
N_("Ta_x Report Options"), NULL, N_("Ta_x Report Options"), NULL,
/* Translators: currently implemented are * /* Translators: currently implemented are
* US: income tax and * US: income tax and
* DE: VAT * DE: VAT
* So adjust this string */ So adjust this string */
N_("Setup relevant accounts for tax reports, e.g. US income tax"), N_("Setup relevant accounts for tax reports, e.g. US income tax"),
G_CALLBACK (gnc_plugin_page_register_cmd_edit_tax_options) G_CALLBACK (gnc_plugin_page_register_cmd_edit_tax_options)
}, },

View File

@@ -258,13 +258,13 @@ static GtkActionEntry gnc_plugin_page_register2_actions [] =
}, },
{ {
"EditTaxOptionsAction", NULL, "EditTaxOptionsAction", NULL,
/* Translators: remember to reuse this * /* Translators: remember to reuse this
* translation in dialog-account.glade */ translation in dialog-account.glade */
N_("Ta_x Report Options"), NULL, N_("Ta_x Report Options"), NULL,
/* Translators: currently implemented are * /* Translators: currently implemented are
* US: income tax and * US: income tax and
* DE: VAT * DE: VAT
* So adjust this string */ So adjust this string */
N_("Setup relevant accounts for tax reports, e.g. US income tax"), N_("Setup relevant accounts for tax reports, e.g. US income tax"),
G_CALLBACK (gnc_plugin_page_register2_cmd_edit_tax_options) G_CALLBACK (gnc_plugin_page_register2_cmd_edit_tax_options)
}, },

View File

@@ -1136,10 +1136,10 @@ static action_toolbar_labels toolbar_labels[] =
{ "ReportExportAction", N_("Export") }, { "ReportExportAction", N_("Export") },
{ "ReportOptionsAction", N_("Options") }, { "ReportOptionsAction", N_("Options") },
/* Translators: This string is meant to be a short alternative for "Save Report Configuration" /* Translators: This string is meant to be a short alternative for "Save Report Configuration"
* to be used as toolbar button label. */ to be used as toolbar button label. */
{ "ReportSaveAction", N_("Save Config") }, { "ReportSaveAction", N_("Save Config") },
/* Translators: This string is meant to be a short alternative for "Save Report Configuration As..." /* Translators: This string is meant to be a short alternative for "Save Report Configuration As..."
* to be used as toolbar button label. */ to be used as toolbar button label. */
{ "ReportSaveAsAction", N_("Save Config As...") }, { "ReportSaveAsAction", N_("Save Config As...") },
{ "FilePrintPDFAction", N_("Make Pdf") }, { "FilePrintPDFAction", N_("Make Pdf") },
{ NULL, NULL }, { NULL, NULL },

View File

@@ -269,7 +269,7 @@ aai_wizard_button_clicked_cb(GtkButton *button, gpointer user_data)
{ {
#ifdef AQBANKING6 #ifdef AQBANKING6
GWEN_DIALOG *dlg = AB_Banking_CreateSetupDialog(banking); GWEN_DIALOG *dlg = AB_Banking_CreateSetupDialog(banking);
#else #else
GWEN_DIALOG *dlg = AB_SetupDialog_new(banking); GWEN_DIALOG *dlg = AB_SetupDialog_new(banking);
@@ -533,7 +533,7 @@ ab_account_longname(const GNC_AB_ACCOUNT_SPEC *ab_acc)
account_number = AB_Account_GetAccountNumber (ab_acc); account_number = AB_Account_GetAccountNumber (ab_acc);
#endif #endif
/* Translators: Strings are 1. Bank code, 2. Bank name, /* Translators: Strings are 1. Bank code, 2. Bank name,
* 3. Account Number, 4. Subaccount ID */ 3. Account Number, 4. Subaccount ID */
result = g_strdup_printf(_("Bank code %s (%s), Account %s (%s)"), result = g_strdup_printf(_("Bank code %s (%s), Account %s (%s)"),
bankcode, bankcode,
bankname ? bankname : "", bankname ? bankname : "",

View File

@@ -365,15 +365,15 @@ gnc_ab_trans_dialog_new(GtkWidget *parent, GNC_AB_ACCOUNT_SPEC *ab_acc,
case SEPA_TRANSFER: case SEPA_TRANSFER:
gtk_label_set_text(GTK_LABEL (heading_label), gtk_label_set_text(GTK_LABEL (heading_label),
/* Translators: Strings from this file are /* Translators: Strings from this file are
* needed only in countries that have one of needed only in countries that have one of
* aqbanking's Online Banking techniques aqbanking's Online Banking techniques
* available. This is 'OFX DirectConnect' available. This is 'OFX DirectConnect'
* (U.S. and others), 'HBCI' (Germany), (U.S. and others), 'HBCI' (Germany),
* or 'YellowNet' (Switzerland). If none of or 'YellowNet' (Switzerland). If none of
* these techniques are available in your these techniques are available in your
* country, you may safely ignore strings country, you may safely ignore strings
* from the import-export/hbci from the import-export/hbci
* subdirectory. */ subdirectory. */
_("Enter a SEPA Online Transfer")); _("Enter a SEPA Online Transfer"));
gtk_label_set_text(GTK_LABEL(recp_account_heading), gtk_label_set_text(GTK_LABEL(recp_account_heading),
_("Recipient IBAN (International Account Number)")); _("Recipient IBAN (International Account Number)"));

View File

@@ -1130,12 +1130,12 @@ bal_accountinfo_cb(AB_IMEXPORTER_ACCOUNTINFO *element, gpointer user_data)
GTK_BUTTONS_OK, GTK_BUTTONS_OK,
"%s", "%s",
/* Translators: Strings from this file are needed only in /* Translators: Strings from this file are needed only in
* countries that have one of aqbanking's Online Banking countries that have one of aqbanking's Online Banking
* techniques available. This is 'OFX DirectConnect' techniques available. This is 'OFX DirectConnect'
* (U.S. and others), 'HBCI' (in Germany), or 'YellowNet' (U.S. and others), 'HBCI' (in Germany), or 'YellowNet'
* (Switzerland). If none of these techniques are available (Switzerland). If none of these techniques are available
* in your country, you may safely ignore strings from the in your country, you may safely ignore strings from the
* import-export/hbci subdirectory. */ import-export/hbci subdirectory. */
_("The downloaded Online Banking Balance was zero.\n\n" _("The downloaded Online Banking Balance was zero.\n\n"
"Either this is the correct balance, or your bank does not " "Either this is the correct balance, or your bank does not "
"support Balance download in this Online Banking version. " "support Balance download in this Online Banking version. "

View File

@@ -986,7 +986,7 @@ _get_template_split_account(const SchedXaction* sx,
{ {
char guid_str[GUID_ENCODING_LENGTH+1]; char guid_str[GUID_ENCODING_LENGTH+1];
/* Translators: A list of error messages from the Scheduled Transactions (SX). /* Translators: A list of error messages from the Scheduled Transactions (SX).
* They might appear in their editor or in "Since last run". */ They might appear in their editor or in "Since last run". */
gchar* err = N_("Unknown account for guid [%s], cancelling SX [%s] creation."); gchar* err = N_("Unknown account for guid [%s], cancelling SX [%s] creation.");
guid_to_string_buff((const GncGUID*)acct_guid, guid_str); guid_to_string_buff((const GncGUID*)acct_guid, guid_str);
REPORT_ERROR(creation_errors, err, guid_str, xaccSchedXactionGetName(sx)); REPORT_ERROR(creation_errors, err, guid_str, xaccSchedXactionGetName(sx));

View File

@@ -623,14 +623,14 @@ gnc_ui_account_get_tax_info_string (const Account *account)
/* tax_related && !code */ /* tax_related && !code */
else else
/* Translators: This and the following strings appear on /* Translators: This and the following strings appear on
* the account tab if the Tax Info column is displayed, the account tab if the Tax Info column is displayed,
* i.e. if the user wants to record the tax form number i.e. if the user wants to record the tax form number
* and location on that tax form which corresponds to this and location on that tax form which corresponds to this
* gnucash account. For the US Income Tax support in gnucash account. For the US Income Tax support in
* gnucash, each tax code that can be assigned to an gnucash, each tax code that can be assigned to an
* account generally corresponds to a specific line number account generally corresponds to a specific line number
* on a paper form and each form has a unique on a paper form and each form has a unique
* identification (e.g., Form 1040, Schedule A). */ identification (e.g., Form 1040, Schedule A). */
return g_strdup (_("Tax-related but has no tax code")); return g_strdup (_("Tax-related but has no tax code"));
} }
else /* with tax code */ else /* with tax code */
@@ -840,14 +840,14 @@ gnc_ui_account_get_tax_info_sub_acct_string (const Account *account)
g_list_free (account_descendants); g_list_free (account_descendants);
g_list_free (descendant); g_list_free (descendant);
/* Translators: This and the following strings appear on /* Translators: This and the following strings appear on
* the account tab if the Tax Info column is displayed, the account tab if the Tax Info column is displayed,
* i.e. if the user wants to record the tax form number i.e. if the user wants to record the tax form number
* and location on that tax form which corresponds to this and location on that tax form which corresponds to this
* gnucash account. For the US Income Tax support in gnucash account. For the US Income Tax support in
* gnucash, each tax code that can be assigned to an gnucash, each tax code that can be assigned to an
* account generally corresponds to a specific line number account generally corresponds to a specific line number
* on a paper form and each form has a unique on a paper form and each form has a unique
* identification (e.g., Form 1040, Schedule A). */ identification (e.g., Form 1040, Schedule A). */
return (sub_acct_tax_number == 0) ? NULL : return (sub_acct_tax_number == 0) ? NULL :
g_strdup_printf (_("(Tax-related subaccounts: %d)"), g_strdup_printf (_("(Tax-related subaccounts: %d)"),
sub_acct_tax_number); sub_acct_tax_number);
@@ -1615,7 +1615,7 @@ PrintAmountInternal(char *buf, gnc_numeric val, const GNCPrintAmountInfo *info)
*buf = '\0'; *buf = '\0';
return 0; return 0;
} }
// Value may now be decimal, for example if the factional part is zero // Value may now be decimal, for example if the factional part is zero
value_is_decimal = gnc_numeric_to_decimal(&val, NULL); value_is_decimal = gnc_numeric_to_decimal(&val, NULL);
/* print the integer part without separators */ /* print the integer part without separators */

View File

@@ -671,7 +671,7 @@ _monthly_append_when(Recurrence *r, GString *buf)
day_of_month_index = g_date_get_day(&date) - 1; day_of_month_index = g_date_get_day(&date) - 1;
week = day_of_month_index / 7 > 3 ? 3 : day_of_month_index / 7; week = day_of_month_index / 7 > 3 ? 3 : day_of_month_index / 7;
/* Translators: %s is the string 1st, 2nd, 3rd and so on, and /* Translators: %s is the string 1st, 2nd, 3rd and so on, and
* %s is an already-localized form of the day of the week. */ %s is an already-localized form of the day of the week. */
g_string_append_printf(buf, _("%s %s"), _(numerals[week]), day_name_buf); g_string_append_printf(buf, _("%s %s"), _(numerals[week]), day_name_buf);
} }
else else