gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Apr 29 13:14:22 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/b37c4714 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/08b5b5a9 (commit)
	from  https://github.com/Gnucash/gnucash/commit/20970feb (commit)



commit b37c47140fd8ca5cdf991937a4b37b69b486b5df
Author: YOSHINO Yoshihito <yy.y.ja.jp at gmail.com>
Date:   Sat Apr 29 10:13:29 2023 -0700

    Bug 798894 - TOTD with ellipsis broken.

diff --git a/cmake/configure-totd.cmake b/cmake/configure-totd.cmake
index f4906c4dfa..5fe1eb38c3 100644
--- a/cmake/configure-totd.cmake
+++ b/cmake/configure-totd.cmake
@@ -17,7 +17,7 @@ execute_process(
 
 file(STRINGS ${TOTD}.tmp TIP_OF_THE_DAY_LINES)
 set(TOTD_OUTPUT "")
-foreach(line ${TIP_OF_THE_DAY_LINES})
+foreach(line ${TIP_OF_THE_DAY_LINES} ENCODING UTF-8)
   string(REGEX REPLACE "^ *\"" "" line2 "${line}")
   string(REGEX REPLACE "\" *$" "" line3 "${line2}")
   file(APPEND ${DST_DIR}/${TOTD} "${line3}\n")

commit 08b5b5a932a942b68d5beebc3e9aca539d8869de
Author: YOSHINO Yoshihito <yy.y.ja.jp at gmail.com>
Date:   Sat Apr 29 10:09:15 2023 -0700

    Bug 798893 - several menu tip messages in reports are marked...
    
     translatable but unused.

diff --git a/gnucash/gnome/report-menus.scm b/gnucash/gnome/report-menus.scm
index 5082a6355a..ca25c918fc 100644
--- a/gnucash/gnome/report-menus.scm
+++ b/gnucash/gnome/report-menus.scm
@@ -53,7 +53,7 @@
      (let* ((menu-name (car item))
             (template (cdr item))
             (report-guid (gnc:report-template-report-guid template))
-            (menu-tip (or (gnc:report-template-menu-tip template)
+            (menu-tip (or (let ((t (gnc:report-template-menu-tip template))) (and t (G_ t)))
                           (format #f (G_ "Display the ~a report") (G_ menu-name))))
             (menu-path (append (list gnc:menuname-reports)
                                (or (gnc:report-template-menu-path template)
@@ -89,7 +89,7 @@
    (gnc:make-menu-item
     (N_ "Saved Report Configurations")
     "4d3dcdc8890b11df99dd94cddfd72085"
-    (N_ "Manage and run saved report configurations")
+    (G_ "Manage and run saved report configurations")
     (list "Reports/ZSavedReportConfigs") ;; Added Z so it is last in list
     (lambda (window)
       (gnc:debug "called into custom report dialog, window is " window)
@@ -115,7 +115,7 @@
    (gnc:make-menu-item
     (N_ "Dashboard")
     "ad80271c890b11dfa79f2dcedfd72085"
-    (N_ "A basic dashboard for your accounting data")
+    (G_ "A basic dashboard for your accounting data")
     (list gnc:menuname-reports gnc:menuname-multicolumn)
     (lambda (window)
       (gnc-main-window-open-report (gnc:make-dashboard) window)))))



Summary of changes:
 cmake/configure-totd.cmake     | 2 +-
 gnucash/gnome/report-menus.scm | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)



More information about the gnucash-changes mailing list