Skip to content

Commit

Permalink
Improve translatable strings.
Browse files Browse the repository at this point in the history
These strings are labeled as "Source needs review" in Weblate.
  • Loading branch information
CWehli committed Apr 3, 2024
1 parent b33b864 commit 7984624
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
16 changes: 8 additions & 8 deletions gnucash/gnome/assistant-stock-transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
},
{
Expand Down Expand Up @@ -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.")
},
{
Expand Down Expand Up @@ -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.")
},
{
Expand Down Expand Up @@ -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.")
},
{
Expand Down
2 changes: 1 addition & 1 deletion gnucash/gnome/gnc-plugin-page-report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
};

Expand Down
4 changes: 2 additions & 2 deletions gnucash/gtkbuilder/assistant-loan.glade
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ If you make a mistake or want to make changes later, you can edit the created Sc
<property name="invisible-char">●</property>
<property name="primary-icon-activatable">False</property>
<property name="secondary-icon-activatable">False</property>
<property name="secondary-icon-tooltip-text" translatable="yes">Enter the number of months still to be paid off. This determines both the remaining principle and the duration of the scheduled transaction.</property>
<property name="secondary-icon-tooltip-text" translatable="yes">Enter the number of months still to be paid off. This determines both the remaining principal and the duration of the scheduled transaction.</property>
<property name="climb-rate">1</property>
</object>
<packing>
Expand Down Expand Up @@ -1078,7 +1078,7 @@ If you make a mistake or want to make changes later, you can edit the created Sc
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Review the details below and if correct press "Apply"" to create the schedule.</property>
<property name="label" translatable="yes">Review the details below and if correct press "Apply" to create the schedule.</property>
<property name="justify">center</property>
</object>
<packing>
Expand Down
2 changes: 1 addition & 1 deletion gnucash/gtkbuilder/dialog-preferences.glade
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ Press 'Close' to return to the preference window
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">&lt;b&gt;Summarybar Content&lt;/b&gt;</property>
<property name="label" translatable="yes">&lt;b&gt;Summary Bar Content&lt;/b&gt;</property>
<property name="use-markup">True</property>
</object>
<packing>
Expand Down
2 changes: 1 addition & 1 deletion gnucash/import-export/aqb/dialog-ab.glade
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@
<property name="model">imexporter-list</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="tooltip-text" translatable="yes">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.</property>
<property name="tooltip-text" translatable="yes">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.</property>
<child>
<object class="GtkTreeViewColumn" id="imexporter-name">
<property name="title" translatable="yes">File Format</property>
Expand Down
4 changes: 2 additions & 2 deletions gnucash/import-export/aqb/gnc-plugin-aqbanking.ui
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

<menu id="FilePlaceholder1">
<item>
<attribute name="label" translatable="yes">Import using AQBanking</attribute>
<attribute name="label" translatable="yes">Import using AqBanking</attribute>
<attribute name="action">gnc-plugin-aqbanking-actions.AQBankingImportAction</attribute>
<attribute name="tooltip" translatable="yes">Import into GnuCash any file format supported by AQBanking</attribute>
<attribute name="tooltip" translatable="yes">Import into GnuCash any file format supported by AqBanking</attribute>
</item>
</menu>

Expand Down
2 changes: 1 addition & 1 deletion gnucash/import-export/bi-import/dialog-bi-import-gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion gnucash/report/reports/standard/invoice.scm
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
6 changes: 3 additions & 3 deletions gnucash/report/reports/standard/taxinvoice.scm
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
4 changes: 2 additions & 2 deletions libgnucash/engine/gnc-optiondb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7984624

Please sign in to comment.