From 7984624c09f73cc829b713a549c34728af834c1c Mon Sep 17 00:00:00 2001 From: Christian Wehling Date: Sun, 24 Mar 2024 20:44:12 +0100 Subject: [PATCH] Improve translatable strings. These strings are labeled as "Source needs review" in Weblate. --- gnucash/gnome/assistant-stock-transaction.cpp | 16 ++++++++-------- gnucash/gnome/gnc-plugin-page-report.cpp | 2 +- gnucash/gtkbuilder/assistant-loan.glade | 4 ++-- gnucash/gtkbuilder/dialog-preferences.glade | 2 +- gnucash/import-export/aqb/dialog-ab.glade | 2 +- .../import-export/aqb/gnc-plugin-aqbanking.ui | 4 ++-- .../bi-import/dialog-bi-import-gui.c | 2 +- .../customer-import/dialog-customer-import-gui.c | 2 +- gnucash/report/reports/standard/invoice.scm | 2 +- gnucash/report/reports/standard/taxinvoice.scm | 6 +++--- libgnucash/engine/gnc-optiondb.cpp | 4 ++-- 11 files changed, 23 insertions(+), 23 deletions(-) diff --git a/gnucash/gnome/assistant-stock-transaction.cpp b/gnucash/gnome/assistant-stock-transaction.cpp index 1b26ac18abd..44e9220f5ef 100644 --- a/gnucash/gnome/assistant-stock-transaction.cpp +++ b/gnucash/gnome/assistant-stock-transaction.cpp @@ -267,9 +267,9 @@ static const TxnTypeVec long_types // Translators: this is a stock transaction describing a stock // split N_("Stock split"), - N_("Company issues additional units, thereby reducing the stock price by a divisor " - ", while keeping the total monetary value of the overall investment constant. " - "\n\nIf the split results in a cash in lieu for remainder units, please " + N_("Company issues additional units, thereby reducing the stock price by a divisor, " + "while keeping the total monetary value of the overall investment constant.\n\nIf " + "the split results in a cash in lieu for remainder units, please " "record the sale using the Stock Transaction Assistant first, then record the split.") }, { @@ -309,8 +309,8 @@ static const TxnTypeVec short_types // Translators: this is a stock transaction describing cover // buying stock, and recording capital gain/loss N_("Buy to cover short"), - N_("Buy back stock to cover short position, and record capital gain/loss. " - "\n\nIf you are unable to calculate capital gains you can enter a placeholder " + N_("Buy back stock to cover short position, and record capital gain/loss.\n\nIf " + "you are unable to calculate capital gains you can enter a placeholder " "amount and correct it in the transaction later.") }, { @@ -351,7 +351,7 @@ static const TxnTypeVec short_types N_("Company returns capital, and the short stock holder must make a compensatory " "payment for the returned capital. This reduces the cost basis (less negative, " "towards 0.00 value) without affecting # units. A distribution previously recorded " - "as a compensatory dividend is reclassified to compensatory return of capital," + "as a compensatory dividend is reclassified to compensatory return of capital, " "often due to end-of-year tax information.") }, { @@ -394,8 +394,8 @@ static const TxnTypeVec short_types // split when shorting stock N_("Stock split"), N_("Company issues additional units, thereby reducing the stock price by a divisor, " - "while keeping the total monetary value of the overall investment constant. " - "\n\nIf the split results in a cash in lieu for remainder units, please " + "while keeping the total monetary value of the overall investment constant.\n\nIf " + "the split results in a cash in lieu for remainder units, please " "record the cover buy using the Stock Transaction Assistant first, then record the split.") }, { diff --git a/gnucash/gnome/gnc-plugin-page-report.cpp b/gnucash/gnome/gnc-plugin-page-report.cpp index a700a233c2f..3a517a69c51 100644 --- a/gnucash/gnome/gnc-plugin-page-report.cpp +++ b/gnucash/gnome/gnc-plugin-page-report.cpp @@ -240,7 +240,7 @@ static GncToolBarShortNames toolbar_labels[] = /* Translators: This string is meant to be a short alternative for "Save Report Configuration As…" to be used as toolbar button label. */ { "ReportSaveAsAction", N_("Save Config As…") }, - { "FilePrintPDFAction", N_("Make Pdf") }, + { "FilePrintPDFAction", N_("Export as PDF") }, { nullptr, nullptr }, }; diff --git a/gnucash/gtkbuilder/assistant-loan.glade b/gnucash/gtkbuilder/assistant-loan.glade index 8200496930d..9db28668538 100644 --- a/gnucash/gtkbuilder/assistant-loan.glade +++ b/gnucash/gtkbuilder/assistant-loan.glade @@ -216,7 +216,7 @@ If you make a mistake or want to make changes later, you can edit the created Sc False False - Enter the number of months still to be paid off. This determines both the remaining principle and the duration of the scheduled transaction. + Enter the number of months still to be paid off. This determines both the remaining principal and the duration of the scheduled transaction. 1 @@ -1078,7 +1078,7 @@ If you make a mistake or want to make changes later, you can edit the created Sc True False - Review the details below and if correct press "Apply"" to create the schedule. + Review the details below and if correct press "Apply" to create the schedule. center diff --git a/gnucash/gtkbuilder/dialog-preferences.glade b/gnucash/gtkbuilder/dialog-preferences.glade index 66004574108..76ae8ca1fdb 100644 --- a/gnucash/gtkbuilder/dialog-preferences.glade +++ b/gnucash/gtkbuilder/dialog-preferences.glade @@ -326,7 +326,7 @@ Press 'Close' to return to the preference window True False start - <b>Summarybar Content</b> + <b>Summary Bar Content</b> True diff --git a/gnucash/import-export/aqb/dialog-ab.glade b/gnucash/import-export/aqb/dialog-ab.glade index 16f1e9270b8..1fab4381429 100644 --- a/gnucash/import-export/aqb/dialog-ab.glade +++ b/gnucash/import-export/aqb/dialog-ab.glade @@ -1727,7 +1727,7 @@ imexporter-list True True - This list contains the file formats that AQBanking knows how to import. The profile list contains specializations and is populated according to which format you select in this list. + This list contains the file formats that AqBanking knows how to import. The profile list contains specializations and is populated according to which format you select in this list. File Format diff --git a/gnucash/import-export/aqb/gnc-plugin-aqbanking.ui b/gnucash/import-export/aqb/gnc-plugin-aqbanking.ui index d506ef298b5..5adc4e454a3 100644 --- a/gnucash/import-export/aqb/gnc-plugin-aqbanking.ui +++ b/gnucash/import-export/aqb/gnc-plugin-aqbanking.ui @@ -3,9 +3,9 @@ - Import using AQBanking + Import using AqBanking gnc-plugin-aqbanking-actions.AQBankingImportAction - Import into GnuCash any file format supported by AQBanking + Import into GnuCash any file format supported by AqBanking diff --git a/gnucash/import-export/bi-import/dialog-bi-import-gui.c b/gnucash/import-export/bi-import/dialog-bi-import-gui.c index cf7c3a5e18e..07d4642f706 100644 --- a/gnucash/import-export/bi-import/dialog-bi-import-gui.c +++ b/gnucash/import-export/bi-import/dialog-bi-import-gui.c @@ -191,7 +191,7 @@ gnc_plugin_bi_import_getFilename(GtkWindow *parent) gtk_file_filter_set_name (filter, "text files (*.txt)"); gtk_file_filter_add_pattern (filter, "*.txt"); filters = g_list_append( filters, filter ); - filename = gnc_file_dialog(parent, _("Import Bills or Invoices from csv"), filters, NULL, GNC_FILE_DIALOG_IMPORT); + filename = gnc_file_dialog(parent, _("Import Bills or Invoices from CSV"), filters, NULL, GNC_FILE_DIALOG_IMPORT); return filename; } diff --git a/gnucash/import-export/customer-import/dialog-customer-import-gui.c b/gnucash/import-export/customer-import/dialog-customer-import-gui.c index 4c47612998d..2e56d85b5e0 100644 --- a/gnucash/import-export/customer-import/dialog-customer-import-gui.c +++ b/gnucash/import-export/customer-import/dialog-customer-import-gui.c @@ -169,7 +169,7 @@ gnc_plugin_customer_import_getFilename (GtkWindow *parent) gtk_file_filter_add_pattern (filter, "*.txt"); filters = g_list_append( filters, filter ); filename = gnc_file_dialog(parent, - _("Import Customers from csv"), filters, NULL, GNC_FILE_DIALOG_IMPORT); + _("Import Customers from CSV"), filters, NULL, GNC_FILE_DIALOG_IMPORT); return filename; } diff --git a/gnucash/report/reports/standard/invoice.scm b/gnucash/report/reports/standard/invoice.scm index 6036b891128..cb02e3af995 100644 --- a/gnucash/report/reports/standard/invoice.scm +++ b/gnucash/report/reports/standard/invoice.scm @@ -480,7 +480,7 @@ for styling the invoice. Please see the exported report for the CSS class names. (gnc-register-simple-boolean-option options (N_ "Display") (N_ "Use Detailed Tax Summary") - "o" (N_ "Display all tax categories separately (one per line) instead of one single tax line.?") #f) + "o" (N_ "Display all tax categories separately (one per line) instead of one single tax line?") #f) (gnc-register-simple-boolean-option options (N_ "Display") (N_ "References") diff --git a/gnucash/report/reports/standard/taxinvoice.scm b/gnucash/report/reports/standard/taxinvoice.scm index 0991f9bbc07..33ba21a74d6 100644 --- a/gnucash/report/reports/standard/taxinvoice.scm +++ b/gnucash/report/reports/standard/taxinvoice.scm @@ -317,9 +317,9 @@ (set-opt options headingpage optname-tax-rate (G_ "GST Rate")) (set-opt options headingpage optname-tax-amount (G_ "GST Amount")) (set-opt options headingpage2 optname-amount-due (G_ "Amount Due (inc GST)")) - (set-opt options headingpage2 optname-invoice-number-text (G_ "Invoice #: ")) - (set-opt options headingpage2 optname-ref-text (G_ "Reference: ")) - (set-opt options headingpage2 optname-jobname-text (G_ "Engagement: ")) + (set-opt options headingpage2 optname-invoice-number-text (G_ "Invoice #:")) + (set-opt options headingpage2 optname-ref-text (G_ "Reference:")) + (set-opt options headingpage2 optname-jobname-text (G_ "Engagement:")) (set-opt options notespage optname-extra-css "h1.coyname { text-align: right; margin-bottom: 0px ; font-size: 200%; } h2.invoice { text-align: left; margin-bottom: 0px ; font-size: 500%; }") options)) diff --git a/libgnucash/engine/gnc-optiondb.cpp b/libgnucash/engine/gnc-optiondb.cpp index f423164db7f..1c59e151f24 100644 --- a/libgnucash/engine/gnc-optiondb.cpp +++ b/libgnucash/engine/gnc-optiondb.cpp @@ -1335,11 +1335,11 @@ gnc_option_db_book_options(GncOptionDB* odb) N_("Length of time to change the used invoice report. A value of 0 means disabled."), 0.0, 0.0, 20.0, 1.0); gnc_register_taxtable_option(odb, business_section, - N_("Default Customer TaxTable"), "f1", + N_("Default Customer Tax Table"), "f1", N_("The default tax table to apply to customers."), nullptr); gnc_register_taxtable_option(odb, business_section, - N_("Default Vendor TaxTable"), "f2", + N_("Default Vendor Tax Table"), "f2", N_("The default tax table to apply to vendors."), nullptr);