mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
First steps for implementing localization
* Created mo-files for Ukrainian and English languages * For this moment it works only on BedShapeDialog.
This commit is contained in:
parent
407f50a66f
commit
28115a847c
16 changed files with 62 additions and 54 deletions
|
@ -103,6 +103,11 @@ const std::string& resources_dir()
|
|||
return g_resources_dir;
|
||||
}
|
||||
|
||||
std::string localization_dir()
|
||||
{
|
||||
return resources_dir() + "\\localization\\";
|
||||
}
|
||||
|
||||
static std::string g_data_dir;
|
||||
|
||||
void set_data_dir(const std::string &dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue