giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

No localization after last update #2529

Closed gimplyworxs closed 2 days ago

gimplyworxs commented 2 weeks ago

Version, Operating system Cherrytree 1.1.3 from PPA Linux Mint 20.1

There is no localization after yesterday's update. Language is set to "German" but everything is in "English"

giuspen commented 2 weeks ago

Language is set to "German" but everything is in "English"

Language is set to German in Linux Mint or in cherrytree preferences?

gimplyworxs commented 2 weeks ago

both tried to set it to English and then back to German. Didn't help.

giuspen commented 2 weeks ago

Can you run cherrytree from a terminal and copy/paste the output here?

gimplyworxs commented 2 weeks ago

This is what it outputs: `~$ cherrytree ** Message: 08:44:27.391: Language overwrite = de (localedir = /usr/share/locale)

(process:4945): Gtk-WARNING **: 08:44:27.419: Locale not supported by C library. Using the fallback 'C' locale. [2024-06-17 08:44:27.450] [che] [debug] /home/xxx/.config/cherrytree/config.cfg parsed [2024-06-17 08:44:27.728] [che] [debug] autosave on 5 min [2024-06-17 08:44:28.473] [che] [debug] Node 197 > xxx

(cherrytree:4945): Gtk-CRITICAL **: 08:44:28.627: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(cherrytree:4945): Gtk-CRITICAL **: 08:44:28.665: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(cherrytree:4945): Gtk-CRITICAL **: 08:44:28.731: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar `

giuspen commented 2 weeks ago

Can you try to run the AppImage binary file version https://www.giuspen.net/cherrytree/#downl and report if that works / pasting also the output from that?

gimplyworxs commented 2 weeks ago

Doesn't work either :-(. Output is this:

`./CherryTree-1.1.3-x86_64.AppImage ** Message: 21:48:08.481: Language overwrite = de (localedir = /tmp/.mount_CherryZFODhw/usr/share/locale)

(process:15583): Gtk-WARNING **: 21:48:08.560: Locale not supported by C library. Using the fallback 'C' locale. [2024-06-17 21:48:08.581] [che] [debug] /home/xxx/.config/cherrytree/config.cfg parsed [2024-06-17 21:48:08.784] [che] [debug] autosave on 5 min [2024-06-17 21:48:09.349] [che] [debug] Node 236 > xxx

(AppRun.wrapped:15583): Gtk-CRITICAL **: 21:48:09.444: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(AppRun.wrapped:15583): Gtk-CRITICAL **: 21:48:09.502: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(AppRun.wrapped:15583): Gtk-CRITICAL **: 21:48:09.551: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(AppRun.wrapped:15583): Gtk-CRITICAL **: 21:48:09.578: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar [2024-06-17 21:48:13.161] [che] [debug] shift images in MenuBar/context menu`

giuspen commented 2 weeks ago

Ok I will prepare a test AppImage for you to try in a moment

giuspen commented 2 weeks ago

Can you try https://www.giuspen.net/software/CherryTree-1.1.3+2-x86_64.AppImage ?

gimplyworxs commented 2 weeks ago

That one works!

Output: `$ ./CherryTree-1.1.3+2-x86_64.AppImage ** Message: 08:00:42.459: Language overwrite = de (localedir = /tmp/.mount_CherryeXHzK0/usr/share/locale)

(process:2867): Gtk-WARNING **: 08:00:42.583: Locale not supported by C library. Using the fallback 'C' locale. [2024-06-18 08:00:42.622] [che] [debug] /home/xxx/.config/cherrytree/config.cfg parsed [2024-06-18 08:00:42.945] [che] [debug] autosave on 5 min [2024-06-18 08:00:43.805] [che] [debug] Node 236 > xxx

(AppRun.wrapped:2867): Gtk-CRITICAL **: 08:00:43.927: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(AppRun.wrapped:2867): Gtk-CRITICAL **: 08:00:43.979: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(AppRun.wrapped:2867): Gtk-CRITICAL **: 08:00:44.029: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(AppRun.wrapped:2867): Gtk-CRITICAL **: 08:00:44.074: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar [2024-06-18 08:00:50.568] [che] [debug] shift images in MenuBar/context menu

`

giuspen commented 2 weeks ago

Thanks @gimplyworxs it's my bad I thought a particular piece of code was not needed anymore but clearly it is required on some Linux systems. This fix will be in v1.1.4 that I plan to release in 1 to 2 weeks

gimplyworxs commented 2 weeks ago

fine, thanks a lot

giuspen commented 2 days ago

fixed in upcoming v1.1.4