OrcaSlicer/src/slic3r/GUI/I18N.cpp
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00

11 lines
243 B
C++

#include "I18N.hpp"
namespace Slic3r { namespace GUI {
wxString L_str(const std::string &str)
{
//! Explicitly specify that the source string is already in UTF-8 encoding
return wxGetTranslation(wxString(str.c_str(), wxConvUTF8));
}
} }