From a59fa375f505b85ad75d8acd2b8f9eeca4c4151f Mon Sep 17 00:00:00 2001 From: "Frank H. Ellenberger" Date: Mon, 29 Mar 2021 18:12:04 +0200 Subject: [PATCH] Layout fix of assistant-csv-export Also order start messages before finish messages for easier understanding by translators --- .../csv-exp/assistant-csv-export.c | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/gnucash/import-export/csv-exp/assistant-csv-export.c b/gnucash/import-export/csv-exp/assistant-csv-export.c index 656ca4629b..9397e21b98 100644 --- a/gnucash/import-export/csv-exp/assistant-csv-export.c +++ b/gnucash/import-export/csv-exp/assistant-csv-export.c @@ -76,30 +76,14 @@ void csv_export_end_date_cb (GtkWidget *radio, gpointer user_data); void csv_export_file_chooser_file_activated_cb (GtkFileChooser *chooser, CsvExportInfo *info); void csv_export_file_chooser_selection_changed_cb (GtkFileChooser *chooser, CsvExportInfo *info); -/* Fixme: Can we simplify the work of translators by splitting in invariant and variant paragraphs? */ -static const gchar *finish_tree_string = N_( - /* Translators: %s is the file name string. */ - "The account tree will be exported to the file '%s' when you click \"Apply\".\n\n" - "You can also verify your selections by clicking on \"Back\" or \"Cancel\" to abort the export.\n"); - -static const gchar *finish_trans_string = N_( - /* Translators: %s is the file name string and %u the number of accounts. */ - "When you click \"Apply\", the transactions will be exported to the file '%s' " - "and the number of accounts exported will be %u.\n\n" - "You can also verify your selections by clicking on \"Back\" or \"Cancel\" to abort the export.\n"); - -static const gchar *finish_trans_search_gl_string = N_( - /* Translators: %s is the file name string. */ - "When you click \"Apply\", the transactions will be exported to the file '%s'.\n\n" - "You can also verify your selections by clicking on \"Back\" or \"Cancel\" to abort the export.\n"); - static const gchar *start_tree_string = N_( - "This assistant will help you export the Account Tree to a file" + "This assistant will help you export the Account Tree to a file " "with the separator specified below.\n\n" "Select the settings you require for the file and then click \"Next\" " "to proceed or \"Cancel\" to abort the export.\n"); static const gchar *start_trans_common_string = N_( + /* Translators: %s is one of the following paragraphs about rows/transaction. */ "This assistant will help you export the Transactions to a file " "with the separator specified below.\n\n" "%s\n\n" @@ -113,12 +97,28 @@ static const gchar *start_trans_common_string = N_( static const gchar *start_trans__multi_string = N_( "There will be multiple rows for each transaction with each row " - "representing one split.\n\n"); + "representing one split."); static const gchar *start_trans_simple_string = N_( "There will be one row for each transaction, equivalent to a single row " "in a register in 'Basic Ledger' mode. As such some transfer detail " - "could be lost.\n\n"); + "could be lost."); + +static const gchar *finish_tree_string = N_( + /* Translators: %s is the file name. */ + "The account tree will be exported to the file '%s' when you click \"Apply\".\n\n" + "You can also verify your selections by clicking on \"Back\" or \"Cancel\" to abort the export.\n"); + +static const gchar *finish_trans_string = N_( + /* Translators: %s is the file name and %u the number of accounts. */ + "When you click \"Apply\", the transactions will be exported to the file '%s' " + "and the number of accounts exported will be %u.\n\n" + "You can also verify your selections by clicking on \"Back\" or \"Cancel\" to abort the export.\n"); + +static const gchar *finish_trans_search_gl_string = N_( + /* Translators: %s is the file name. */ + "When you click \"Apply\", the transactions will be exported to the file '%s'.\n\n" + "You can also verify your selections by clicking on \"Back\" or \"Cancel\" to abort the export.\n"); /**************************************************