mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Save language preset.
* Added global variable g_local_dir to get "localization" directory. * Chage/Set language works correctly now. * Probably, fixed work on Linux
This commit is contained in:
parent
d18a200b0f
commit
badeb2f64c
7 changed files with 60 additions and 38 deletions
|
@ -43,6 +43,7 @@ use FindBin;
|
|||
# Let the XS module know where the GUI resources reside.
|
||||
set_resources_dir(decode_path($FindBin::Bin) . (($^O eq 'darwin') ? '/../Resources' : '/resources'));
|
||||
set_var_dir(resources_dir() . "/icons");
|
||||
set_local_dir(resources_dir() . "/localization/");
|
||||
|
||||
use Moo 1.003001;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue