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
* locale, separated by spaces. No need for ASCII or UTF-8, check `locale -m`
* for assistance with spelling. */
locale, separated by spaces. No need for ASCII or UTF-8, check `locale -m`
for assistance with spelling. */
enc_array = g_strsplit (_("ISO-8859-1 KOI8-U"), " ", 0);
/* loop through typical encodings */

View File

@ -476,7 +476,7 @@ show_session_error (GtkWindow *parent,
case ERR_FILEIO_RESERVED_WRITE:
/* 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. "
"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))
{
/* 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 );
filename = g_path_get_basename ( path );
g_free ( path );
@ -1588,7 +1588,7 @@ gnc_main_window_generate_title (GncMainWindow *window)
else
{
/* 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);
}
}
@ -1598,7 +1598,7 @@ gnc_main_window_generate_title (GncMainWindow *window)
if (page)
{
/* 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,
gnc_plugin_page_get_page_name(page));
}
@ -4711,9 +4711,9 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
"logo", logo,
"name", "GnuCash",
/* 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.
* The string can have multiple rows, so you can also add a list of
* contributors. */
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
contributors. */
"translator-credits", _("translator-credits"),
"version", version,
"website", PACKAGE_URL,

View File

@ -1718,8 +1718,8 @@ gnc_tree_control_split_reg_save (GncTreeViewSplitReg *view, gboolean reg_closing
{
GtkWidget *dialog, *window;
gint response;
/* Translators: This message will be presented when a user *
* attempts to record a transaction without splits */
/* Translators: This message will be presented when a use
attempts to record a transaction without splits */
const char *title = _("Not enough information for Blank Transaction?");
const char *message =
_("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 */
str = g_strdup_printf (
/* Translators: %s is a date string. %d is the number of books
* that will be created. This is a ngettext(3) message (but
* only for the %d part). */
that will be created. This is a ngettext(3) message (but
only for the %d part). */
ngettext("The earliest transaction date found in this book is %s. "
"Based on the selection made above, this book will be split "
"into %d book.",

View File

@ -761,7 +761,7 @@ gnc_loan_assistant_create( LoanAssistantData *ldd )
/* Add payment checkbox. */
/* Translators: %s is "Taxes",
* "Insurance", or similar. */
"Insurance", or similar. */
g_string_printf( str, _("... pay \"%s\"?"),
rouid->optData->name );
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",
/* Translators: In this context,
* 'Billing information' maps to the
* label in the frame and means
* e.g. customer i.e. the company being
* invoiced. */
'Billing information' maps to the
label in the frame and means
e.g. customer i.e. the company being
invoiced. */
_("You need to supply Billing Information."));
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(dialog),
/* Translators:
* %1$s is the type of the first check format
* (user defined or application defined);
* %2$s is the filename of that format;
* %3$s the type of the other check format; and
* %4$s the filename of that other format. */
%1$s is the type of the first check format
(user defined or application defined);
%2$s is the filename of that format;
%3$s the type of the other check format; and
%4$s the filename of that other format. */
_("The GUIDs in the %s check format file '%s' and "
"the %s check format file '%s' match."),
existing->group, existing->filename,

View File

@ -148,13 +148,13 @@ static GtkActionEntry gnc_plugin_actions [] =
},
{
"EditTaxOptionsAction", NULL,
/* Translators: remember to reuse this *
* translation in dialog-account.glade */
/* Translators: remember to reuse this
translation in dialog-account.glade */
N_("Ta_x Report Options"), NULL,
/* Translators: currently implemented are *
* US: income tax and *
* DE: VAT *
* So adjust this string */
/* Translators: currently implemented are
US: income tax and
DE: VAT
So adjust this string */
N_("Setup relevant accounts for tax reports, e.g. US income tax"),
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,
/* Translators: remember to reuse this *
* translation in dialog-account.glade */
/* Translators: remember to reuse this
translation in dialog-account.glade */
N_("Ta_x Report Options"), NULL,
/* Translators: currently implemented are *
* US: income tax and *
* DE: VAT *
* So adjust this string */
/* Translators: currently implemented are
US: income tax and
DE: VAT
So adjust this string */
N_("Setup relevant accounts for tax reports, e.g. US income tax"),
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;
const GncGUID *guid;
gchar guidstr[GUID_ENCODING_LENGTH+1];
gnc_set_busy_cursor(NULL, TRUE);
gnc_suspend_gui_refresh ();
/* Move subaccounts and transactions if this was requested */
xaccAccountBeginEdit (account);
if (saa)
@ -1836,7 +1836,7 @@ void do_delete_account (Account* account, Account* saa, Account* sta, Account* t
xaccAccountMoveAllSplits (account, ta);
}
xaccAccountCommitEdit (account);
/* Drop all references from the state file for
* 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);
}
g_list_free(acct_list);
/* Drop all references from the state file for this account
*/
guid = xaccAccountGetGUID (account);
guid_to_string_buff (guid, guidstr);
gnc_state_drop_sections_for (guidstr);
/*
* Finally, delete the account, any subaccounts it may still
* 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,
/* Translators: remember to reuse this *
* translation in dialog-account.glade */
/* Translators: remember to reuse this
translation in dialog-account.glade */
N_("Ta_x Report Options"), NULL,
/* Translators: currently implemented are *
* US: income tax and *
* DE: VAT *
* So adjust this string */
/* Translators: currently implemented are
US: income tax and
DE: VAT
So adjust this string */
N_("Setup relevant accounts for tax reports, e.g. US income tax"),
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,
/* Translators: remember to reuse this *
* translation in dialog-account.glade */
/* Translators: remember to reuse this
translation in dialog-account.glade */
N_("Ta_x Report Options"), NULL,
/* Translators: currently implemented are *
* US: income tax and *
* DE: VAT *
* So adjust this string */
/* Translators: currently implemented are
US: income tax and
DE: VAT
So adjust this string */
N_("Setup relevant accounts for tax reports, e.g. US income tax"),
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") },
{ "ReportOptionsAction", N_("Options") },
/* 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") },
/* 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...") },
{ "FilePrintPDFAction", N_("Make Pdf") },
{ NULL, NULL },

View File

@ -269,7 +269,7 @@ aai_wizard_button_clicked_cb(GtkButton *button, gpointer user_data)
{
#ifdef AQBANKING6
GWEN_DIALOG *dlg = AB_Banking_CreateSetupDialog(banking);
GWEN_DIALOG *dlg = AB_Banking_CreateSetupDialog(banking);
#else
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);
#endif
/* 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)"),
bankcode,
bankname ? bankname : "",

View File

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

View File

@ -1130,12 +1130,12 @@ bal_accountinfo_cb(AB_IMEXPORTER_ACCOUNTINFO *element, gpointer user_data)
GTK_BUTTONS_OK,
"%s",
/* Translators: Strings from this file are needed only in
* countries that have one of aqbanking's Online Banking
* techniques available. This is 'OFX DirectConnect'
* (U.S. and others), 'HBCI' (in Germany), or 'YellowNet'
* (Switzerland). If none of these techniques are available
* in your country, you may safely ignore strings from the
* import-export/hbci subdirectory. */
countries that have one of aqbanking's Online Banking
techniques available. This is 'OFX DirectConnect'
(U.S. and others), 'HBCI' (in Germany), or 'YellowNet'
(Switzerland). If none of these techniques are available
in your country, you may safely ignore strings from the
import-export/hbci subdirectory. */
_("The downloaded Online Banking Balance was zero.\n\n"
"Either this is the correct balance, or your bank does not "
"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];
/* 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.");
guid_to_string_buff((const GncGUID*)acct_guid, guid_str);
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 */
else
/* Translators: This and the following strings appear on
* the account tab if the Tax Info column is displayed,
* i.e. if the user wants to record the tax form number
* and location on that tax form which corresponds to this
* gnucash account. For the US Income Tax support in
* gnucash, each tax code that can be assigned to an
* account generally corresponds to a specific line number
* on a paper form and each form has a unique
* identification (e.g., Form 1040, Schedule A). */
the account tab if the Tax Info column is displayed,
i.e. if the user wants to record the tax form number
and location on that tax form which corresponds to this
gnucash account. For the US Income Tax support in
gnucash, each tax code that can be assigned to an
account generally corresponds to a specific line number
on a paper form and each form has a unique
identification (e.g., Form 1040, Schedule A). */
return g_strdup (_("Tax-related but has no 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 (descendant);
/* Translators: This and the following strings appear on
* the account tab if the Tax Info column is displayed,
* i.e. if the user wants to record the tax form number
* and location on that tax form which corresponds to this
* gnucash account. For the US Income Tax support in
* gnucash, each tax code that can be assigned to an
* account generally corresponds to a specific line number
* on a paper form and each form has a unique
* identification (e.g., Form 1040, Schedule A). */
the account tab if the Tax Info column is displayed,
i.e. if the user wants to record the tax form number
and location on that tax form which corresponds to this
gnucash account. For the US Income Tax support in
gnucash, each tax code that can be assigned to an
account generally corresponds to a specific line number
on a paper form and each form has a unique
identification (e.g., Form 1040, Schedule A). */
return (sub_acct_tax_number == 0) ? NULL :
g_strdup_printf (_("(Tax-related subaccounts: %d)"),
sub_acct_tax_number);
@ -1615,7 +1615,7 @@ PrintAmountInternal(char *buf, gnc_numeric val, const GNCPrintAmountInfo *info)
*buf = '\0';
return 0;
}
// Value may now be decimal, for example if the factional part is zero
value_is_decimal = gnc_numeric_to_decimal(&val, NULL);
/* 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;
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
* %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);
}
else