mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Localization: Fixed localization of some 3d-Scene notifications
+ Move a call of the load_language() before SplashScreen creation
This commit is contained in:
parent
65766c24f6
commit
6846ba0b59
3 changed files with 13 additions and 13 deletions
|
@ -631,12 +631,12 @@ void GLCanvas3D::WarningTexture::activate(WarningTexture::Warning warning, bool
|
|||
std::string text;
|
||||
bool error = false;
|
||||
switch (warning) {
|
||||
case ObjectOutside: text = L("An object outside the print area was detected."); break;
|
||||
case ToolpathOutside: text = L("A toolpath outside the print area was detected."); error = true; break;
|
||||
case SlaSupportsOutside: text = L("SLA supports outside the print area were detected."); error = true; break;
|
||||
case SomethingNotShown: text = L("Some objects are not visible."); break;
|
||||
case ObjectOutside: text = _u8L("An object outside the print area was detected."); break;
|
||||
case ToolpathOutside: text = _u8L("A toolpath outside the print area was detected."); error = true; break;
|
||||
case SlaSupportsOutside: text = _u8L("SLA supports outside the print area were detected."); error = true; break;
|
||||
case SomethingNotShown: text = _u8L("Some objects are not visible."); break;
|
||||
case ObjectClashed:
|
||||
text = L( "An object outside the print area was detected.\n"
|
||||
text = _u8L( "An object outside the print area was detected.\n"
|
||||
"Resolve the current problem to continue slicing.");
|
||||
error = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue