diff --git a/src/gnome-search/dialog-search.c b/src/gnome-search/dialog-search.c index b48e47796d..93e22eb45a 100644 --- a/src/gnome-search/dialog-search.c +++ b/src/gnome-search/dialog-search.c @@ -1093,6 +1093,7 @@ type_label_to_new_button(const gchar* type_label) else { PWARN("No translatable new-button label found for search type \"%s\", please add one into dialog-search.c!", type_label); + /* Translators: This string has a disambiguation prefix. Translate only the part behind '|' */ return Q_("Item represents an unknown object type (in the sense of bill, customer, invoice, transaction, split,...)|New item"); } } diff --git a/src/gnome-utils/gnc-tree-control-split-reg.c b/src/gnome-utils/gnc-tree-control-split-reg.c index 1f076080fe..2fdca9db6f 100644 --- a/src/gnome-utils/gnc-tree-control-split-reg.c +++ b/src/gnome-utils/gnc-tree-control-split-reg.c @@ -1737,6 +1737,7 @@ gnc_tree_control_split_reg_save (GncTreeViewSplitReg *view, gboolean reg_closing gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", message); gtk_dialog_add_button (GTK_DIALOG (dialog), + /* Translators: Return to the transaction to update */ _("_Return"), GTK_RESPONSE_ACCEPT); gtk_widget_grab_focus (gtk_dialog_get_widget_for_response (GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT)); diff --git a/src/gnome/gnc-plugin-page-register.c b/src/gnome/gnc-plugin-page-register.c index 05856172ce..c3fe832334 100644 --- a/src/gnome/gnc-plugin-page-register.c +++ b/src/gnome/gnc-plugin-page-register.c @@ -384,7 +384,9 @@ static GtkActionEntry gnc_plugin_page_register_actions [] = G_CALLBACK (gnc_plugin_page_register_cmd_schedule) }, { - "ScrubAllAction", NULL, N_("_All transactions"), NULL, NULL, + "ScrubAllAction", NULL, + /* Translators: The following 2 are Scrub actions in register view */ + N_("_All transactions"), NULL, NULL, G_CALLBACK (gnc_plugin_page_register_cmd_scrub_all) }, { diff --git a/src/gnome/gnc-split-reg.c b/src/gnome/gnc-split-reg.c index a96f4e1fe0..31a6802d5a 100644 --- a/src/gnome/gnc-split-reg.c +++ b/src/gnome/gnc-split-reg.c @@ -982,7 +982,9 @@ gsr_default_reinit_handler( GNCSplitReg *gsr, gpointer data ) gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); - gnc_gtk_dialog_add_button(dialog, _("_Remove Splits"), + gnc_gtk_dialog_add_button(dialog, + /* Translators: This is the confirmation button in a warning dialog */ + _("_Remove Splits"), GTK_STOCK_DELETE, GTK_RESPONSE_ACCEPT); response = gnc_dialog_run(GTK_DIALOG(dialog), warning); gtk_widget_destroy (dialog); diff --git a/src/import-export/csv-exp/csv-transactions-export.c b/src/import-export/csv-exp/csv-transactions-export.c index bced322756..f9e9fa2857 100644 --- a/src/import-export/csv-exp/csv-transactions-export.c +++ b/src/import-export/csv-exp/csv-transactions-export.c @@ -414,15 +414,25 @@ void csv_transactions_export (CsvExportInfo *info) } /* Header string */ - header = g_strconcat (end_sep, _("Date"), mid_sep, _("Account Name"), mid_sep, + header = g_strconcat (end_sep, + /* Translators: The following symbols will build the * + * header line of exported CSV files: */ + _("Date"), mid_sep, _("Account Name"), mid_sep, (num_action ? _("Transaction Number") : _("Number")), mid_sep, _("Description"), mid_sep, _("Notes"), mid_sep, _("Memo"), mid_sep, _("Category"), mid_sep, _("Type"), mid_sep, (num_action ? _("Number/Action") : _("Action")), mid_sep, _("Reconcile"), mid_sep, - _("To With Sym"), mid_sep, _("From With Sym"), mid_sep, - _("To Num."), mid_sep, _("From Num."), mid_sep, + /* Translators: To amount with currency symbol */ + _("To With Sym"), mid_sep, + /* Translators: From amount with currency symbol */ + _("From With Sym"), mid_sep, + /* Translators: To amount, numerical only */ + _("To Num."), mid_sep, + /* Translators: From amount, numerical only */ + _("From Num."), mid_sep, + /* Translators: Exchange rates */ _("To Rate/Price"), mid_sep, _("From Rate/Price"), end_sep, EOLSTR, NULL); DEBUG("Header String: %s", header); diff --git a/src/register/ledger-core/split-register-layout.c b/src/register/ledger-core/split-register-layout.c index ca77059df2..22571f85d8 100644 --- a/src/register/ledger-core/split-register-layout.c +++ b/src/register/ledger-core/split-register-layout.c @@ -634,6 +634,11 @@ gnc_split_register_layout_add_cells (SplitRegister *reg, gnc_register_add_cell (layout, DATE_CELL, DATE_CELL_TYPE_NAME, + /* Translators: The 'sample:' items are + strings which are not displayed, but only + used to estimate widths. Please only + translate the portion after the ':' and + leave the rest ("sample:") as is. */ N_("sample:12/12/2000") + 7, CELL_ALIGN_RIGHT, FALSE, @@ -687,7 +692,11 @@ gnc_split_register_layout_add_cells (SplitRegister *reg, gnc_register_add_cell (layout, RECN_CELL, RECN_CELL_TYPE_NAME, - N_("Reconciled:R") + 11, + /* Translators: The abbreviation for 'Reconciled' + in the header row of the register. Please only + translate the portion after the ':' and + leave the rest ("Reconciled:") as is. */ + N_("Reconciled:R") + 11, CELL_ALIGN_CENTER, FALSE, FALSE); @@ -695,6 +704,10 @@ gnc_split_register_layout_add_cells (SplitRegister *reg, gnc_register_add_cell (layout, ASSOC_CELL, RECN_CELL_TYPE_NAME, + /* Translators: The abbreviation for 'Associate' + in the header row of the register. Please only + translate the portion after the ':' and + leave the rest ("Associate:") as is. */ N_("Associate:A") + 10, CELL_ALIGN_CENTER, FALSE, @@ -809,7 +822,11 @@ gnc_split_register_layout_add_cells (SplitRegister *reg, gnc_register_add_cell (layout, TYPE_CELL, RECN_CELL_TYPE_NAME, - N_("Type:T") + 5, + /* Translators: The abbreviation for 'Type' + in the header row of the register. Please only + translate the portion after the ':' and + leave the rest ("Type:") as is. */ + N_("Type:T") + 5, CELL_ALIGN_CENTER, FALSE, FALSE);