diff --git a/gnucash/gnome/dialog-doclink.c b/gnucash/gnome/dialog-doclink.c index 3250e6c2f9..65a49c0858 100644 --- a/gnucash/gnome/dialog-doclink.c +++ b/gnucash/gnome/dialog-doclink.c @@ -238,11 +238,11 @@ setup_location_dialog (GtkBuilder *builder, GtkWidget *button_loc, const gchar * // update label and set entry text if required if (uri) { - gtk_label_set_text (location_label, _("Amend URL:")); + gtk_label_set_text (location_label, _("Amend the URL")); gtk_entry_set_text (entry, uri); } else - gtk_label_set_text (location_label, _("Enter URL like http://www.gnucash.org:")); + gtk_label_set_text (location_label, _("Enter an URL like \"https://www.gnucash.org\"")); } static void @@ -256,7 +256,7 @@ setup_file_dialog (GtkBuilder *builder, const gchar *path_head, const gchar *uri GtkWidget *existing_hbox = GTK_WIDGET(gtk_builder_get_object (builder, "existing_hbox")); GtkWidget *image = gtk_image_new_from_icon_name ("dialog-warning", GTK_ICON_SIZE_SMALL_TOOLBAR); gchar *use_uri = gnc_doclink_get_use_uri (path_head, uri, scheme); - gchar *uri_label = g_strdup_printf ("%s '%s'", _("Existing Document Link is"), display_uri); + gchar *uri_label = g_strdup_printf ("%s \"%s\"", _("Existing Document Link is"), display_uri); GtkWidget *label = gtk_label_new (uri_label); if (g_file_test (display_uri, G_FILE_TEST_EXISTS)) diff --git a/gnucash/gtkbuilder/dialog-doclink.glade b/gnucash/gtkbuilder/dialog-doclink.glade index bb043aafba..c03da4a3e8 100644 --- a/gnucash/gtkbuilder/dialog-doclink.glade +++ b/gnucash/gtkbuilder/dialog-doclink.glade @@ -406,7 +406,7 @@ start 3 3 - Enter URL like http://www.gnucash.org + Enter an URL like "https://www.gnucash.org" False diff --git a/gnucash/import-export/qif-imp/qif-parse.scm b/gnucash/import-export/qif-imp/qif-parse.scm index 0645a6de94..147c56a2c2 100644 --- a/gnucash/import-export/qif-imp/qif-parse.scm +++ b/gnucash/import-export/qif-imp/qif-parse.scm @@ -169,7 +169,9 @@ (list "oth s" GNC-ASSET-TYPE GNC-BANK-TYPE GNC-CASH-TYPE) (list "mutual" GNC-BANK-TYPE))) (or (assoc-ref string-map-alist (string-downcase! (string-trim-both read-value))) - (let ((msg (format #f (G_ "Unrecognized account type '~s'. Defaulting to Bank.") + ;; Translators: Mapping the QIF account type to a GnuCash account type. + ;; see https://en.wikipedia.org/wiki/Quicken_Interchange_Format#Detail_items + (let ((msg (format #f (G_ "The account type ~s is unknown, using 'bank' instead.") read-value))) (errorproc errortype msg) (list GNC-BANK-TYPE)))) @@ -232,6 +234,7 @@ (and read-value (let ((sym (string->symbol (string-downcase (string-trim-both read-value))))) (or (any (lambda (lst) (and (memq sym lst) (car lst))) action-map) + ;; Translators: This is an error message about actions like buy, sell … (let ((msg (format #f (G_ "Unrecognized action '~a'.") read-value))) (errorproc errortype msg)))))) @@ -251,7 +254,8 @@ (not (string-null? read-value)) (let* ((secondchar (string-ref read-value 0))) (or (any (lambda (m) (and (memq secondchar (cdr m)) (car m))) maplist) - (let ((msg (format #f (G_ "Unrecognized status '~a'. Defaulting to uncleared.") + ;; Translators: Error message about reconciliation status, see msgctxt "Reconciled flag …" + (let ((msg (format #f (G_ "The unknown reconciliation status '~a' will be replaced by 'uncleared'.") read-value))) (errorproc errortype msg)))))) diff --git a/gnucash/report/reports/example/welcome-to-gnucash.scm b/gnucash/report/reports/example/welcome-to-gnucash.scm index 80a2e07687..dab47003c6 100644 --- a/gnucash/report/reports/example/welcome-to-gnucash.scm +++ b/gnucash/report/reports/example/welcome-to-gnucash.scm @@ -38,7 +38,7 @@ doc (gnc:make-html-text (gnc:html-markup-h3 - (format #f (G_ "Welcome to GnuCash ~a !") + (format #f (G_ "Welcome to GnuCash ~a!") gnc:version)) (gnc:html-markup-p (format #f (G_ "GnuCash ~a has lots of nice features. Here are a few.")