mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-09 00:31:19 +00:00
Update Translations + String improvements (#16142)
Co-authored-by: Alexandre Folle de Menezes <afmenez@gmail.com>
This commit is contained in:
co-authored by
Alexandre Folle de Menezes
parent
c1e6de7e4e
commit
eb5b9a77b9
@@ -11,6 +11,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include "GUI_App.hpp"
|
||||
#include "I18N.hpp"
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
@@ -165,7 +166,7 @@ wxString FilamentColorCode::GetFilaColorName() const
|
||||
if (it != m_fila_color_names.end() && !it->second.empty()) { return it->second; }
|
||||
|
||||
it = m_fila_color_names.find("en");// retry with English as fallback
|
||||
return (it != m_fila_color_names.end()) ? it->second : "Unknown";
|
||||
return (it != m_fila_color_names.end()) ? it->second : _L("Unknown");
|
||||
}
|
||||
|
||||
FilamentColorCode::FilamentColorCode(const wxString& color_code, FilamentColorCodes* owner, FilamentColor&& color, std::unordered_map<wxString, wxString>&& name_map)
|
||||
|
||||
Reference in New Issue
Block a user