gnucash stable: Bug 798839 - Edit -> Preferences string not translatable (bis)

John Ralls jralls at code.gnucash.org
Fri May 5 16:52:03 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/5fda2524 (commit)
	from  https://github.com/Gnucash/gnucash/commit/1b3c693d (commit)



commit 5fda2524445db151bb82498a93f4bd2cf3a4df93
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri May 5 13:51:53 2023 -0700

    Bug 798839 - Edit -> Preferences string not translatable (bis)

diff --git a/gnucash/gnome-utils/gnc-option-gtk-ui.cpp b/gnucash/gnome-utils/gnc-option-gtk-ui.cpp
index f20447ef56..e5dc0b0915 100644
--- a/gnucash/gnome-utils/gnc-option-gtk-ui.cpp
+++ b/gnucash/gnome-utils/gnc-option-gtk-ui.cpp
@@ -522,7 +522,7 @@ RelativeDateEntry::RelativeDateEntry(GncOption& option)
         GtkTreeIter  iter;
         gtk_list_store_append (store, &iter);
         gtk_list_store_set (store, &iter, 0,
-                            option.permissible_value_name(index), -1);
+                            _(option.permissible_value_name(index)), -1);
     }
 
     /* Create the new Combo with tooltip and add the store */



Summary of changes:
 gnucash/gnome-utils/gnc-option-gtk-ui.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list