mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
I18N: mixed improvements like http -> https
This commit is contained in:
parent
8e259c8aa7
commit
81db38f473
@ -238,11 +238,11 @@ setup_location_dialog (GtkBuilder *builder, GtkWidget *button_loc, const gchar *
|
|||||||
// update label and set entry text if required
|
// update label and set entry text if required
|
||||||
if (uri)
|
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);
|
gtk_entry_set_text (entry, uri);
|
||||||
}
|
}
|
||||||
else
|
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
|
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 *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);
|
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 *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);
|
GtkWidget *label = gtk_label_new (uri_label);
|
||||||
|
|
||||||
if (g_file_test (display_uri, G_FILE_TEST_EXISTS))
|
if (g_file_test (display_uri, G_FILE_TEST_EXISTS))
|
||||||
|
@ -406,7 +406,7 @@
|
|||||||
<property name="halign">start</property>
|
<property name="halign">start</property>
|
||||||
<property name="margin-top">3</property>
|
<property name="margin-top">3</property>
|
||||||
<property name="margin-bottom">3</property>
|
<property name="margin-bottom">3</property>
|
||||||
<property name="label" translatable="yes">Enter URL like http://www.gnucash.org</property>
|
<property name="label" translatable="yes">Enter an URL like "https://www.gnucash.org"</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
@ -169,7 +169,9 @@
|
|||||||
(list "oth s" GNC-ASSET-TYPE GNC-BANK-TYPE GNC-CASH-TYPE)
|
(list "oth s" GNC-ASSET-TYPE GNC-BANK-TYPE GNC-CASH-TYPE)
|
||||||
(list "mutual" GNC-BANK-TYPE)))
|
(list "mutual" GNC-BANK-TYPE)))
|
||||||
(or (assoc-ref string-map-alist (string-downcase! (string-trim-both read-value)))
|
(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)))
|
read-value)))
|
||||||
(errorproc errortype msg)
|
(errorproc errortype msg)
|
||||||
(list GNC-BANK-TYPE))))
|
(list GNC-BANK-TYPE))))
|
||||||
@ -232,6 +234,7 @@
|
|||||||
(and read-value
|
(and read-value
|
||||||
(let ((sym (string->symbol (string-downcase (string-trim-both 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)
|
(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)))
|
(let ((msg (format #f (G_ "Unrecognized action '~a'.") read-value)))
|
||||||
(errorproc errortype msg))))))
|
(errorproc errortype msg))))))
|
||||||
|
|
||||||
@ -251,7 +254,8 @@
|
|||||||
(not (string-null? read-value))
|
(not (string-null? read-value))
|
||||||
(let* ((secondchar (string-ref read-value 0)))
|
(let* ((secondchar (string-ref read-value 0)))
|
||||||
(or (any (lambda (m) (and (memq secondchar (cdr m)) (car m))) maplist)
|
(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)))
|
read-value)))
|
||||||
(errorproc errortype msg))))))
|
(errorproc errortype msg))))))
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
doc
|
doc
|
||||||
(gnc:make-html-text
|
(gnc:make-html-text
|
||||||
(gnc:html-markup-h3
|
(gnc:html-markup-h3
|
||||||
(format #f (G_ "Welcome to GnuCash ~a !")
|
(format #f (G_ "Welcome to GnuCash ~a!")
|
||||||
gnc:version))
|
gnc:version))
|
||||||
(gnc:html-markup-p
|
(gnc:html-markup-p
|
||||||
(format #f (G_ "GnuCash ~a has lots of nice features. Here are a few.")
|
(format #f (G_ "GnuCash ~a has lots of nice features. Here are a few.")
|
||||||
|
Loading…
Reference in New Issue
Block a user