Celestia icon indicating copy to clipboard operation
Celestia copied to clipboard

[Linux] Wrong translation files path when using --dir and --conf commands

Open Lepestronik opened this issue 3 years ago • 2 comments

Describe the bug It seems like Celestia on Linux always loads .mo files from /usr/share/locale and doesn't load ones from custom_dir/locale.

Saturn moons Using --dir and --conf when custom celestia-data.mo is incustom_dir/locale

image Using --dir and --conf when custom celestia-data.mo is in /usr/share/locale/

Desktop:

  • OS: Linux.
  • Frontend: Qt, GTK.
  • Version: 1.7.0.

Lepestronik avatar Mar 01 '23 19:03 Lepestronik

should call bindtextdomain here again. https://github.com/CelestiaProject/Celestia/blob/b16ab7f1d9552a31cf7699810f8226b1b40e79d6/src/celestia/qt/qtappwin.cpp#L217

levinli303 avatar Mar 30 '23 08:03 levinli303

The same problem is with 1.6.3.

Lepestronik avatar May 06 '23 16:05 Lepestronik