mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	 a378bb7bed
			
		
	
	
		a378bb7bed
		
	
	
	
	
		
			
			Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
		
	
			
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			243 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			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));
 | |
| }
 | |
| 
 | |
| } }
 |