pawelsalawa / sqlitestudio

A free, open source, multi-platform SQLite database manager.
https://sqlitestudio.pl
Other
4.61k stars 571 forks source link

.mo files is not loaded while the software has started with a file #4265

Open yfdyh000 opened 2 years ago

yfdyh000 commented 2 years ago

Details

External translation.mo files are not loaded.

Steps to reproduce

Use modified translation.mo files in \msg folder. Open a database file with the program. Command line like the "<path>\SQLiteStudio.exe" "C:\file.db3".

Operating system

Win10.

SQLiteStudio version

3.3.3

yfdyh000 commented 2 years ago

Reproduction seem to be unstable, even the same steps, it is sometimes normal. Race condition?

pawelsalawa commented 2 years ago

Or random order in path set... I'm not sure - I'm not referring the source code here. Just guessing out of the head.

pawelsalawa commented 2 years ago

Could be related to #4263

pawelsalawa commented 2 years ago

I'm not sure why this bug refers to the .mo file, as Qt deals with .ts files for source of translation and *.qm files for compiled binary files of translated messages. Maybe this was the initial reason for the problem?