BambuStudio/slic3r/GUI/I18N.cpp

12 lines
243 B
C++
Raw Permalink Normal View History

2024-12-20 06:44:50 +00:00
#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));
}
} }