mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
Revert "Revert "Some flatpak fixing (#5510)""
This reverts commit e29cba2eff
.
This commit is contained in:
parent
3bf868f99d
commit
002125fbe4
8 changed files with 45 additions and 22 deletions
|
@ -2,6 +2,7 @@
|
|||
#include "../miniz_extension.hpp"
|
||||
#include "format.hpp"
|
||||
|
||||
#include <boost/algorithm/string/case_conv.hpp>
|
||||
#include <qoi/qoi.h>
|
||||
#include <jpeglib.h>
|
||||
#include <jerror.h>
|
||||
|
@ -594,7 +595,7 @@ std::string get_error_string(const ThumbnailErrors& errors)
|
|||
std::string error_str;
|
||||
|
||||
if (errors.has(ThumbnailError::InvalidVal))
|
||||
error_str += "\n - " + format("Invalid input format. Expected vector of dimensions in the following format: \"%1%\"", "XxY/EXT, XxY/EXT, ...");
|
||||
error_str += "\n - " + Slic3r::format("Invalid input format. Expected vector of dimensions in the following format: \"%1%\"", "XxY/EXT, XxY/EXT, ...");
|
||||
if (errors.has(ThumbnailError::OutOfRange))
|
||||
error_str += "\n - Input value is out of range";
|
||||
if (errors.has(ThumbnailError::InvalidExt))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue