#include <wx/log.h>
#include <wx/menu.h>
#include <advanced_config.h>
#include <base_units.h>
#include <common.h>
#include <sch_edit_frame.h>
#include <plotters/plotter.h>
#include <bitmaps.h>
#include <kiway.h>
#include <settings/color_settings.h>
#include <string_utils.h>
#include <geometry/geometry_utils.h>
#include <trace_helpers.h>
#include <tool/tool_manager.h>
#include <tools/sch_navigate_tool.h>
#include <font/outline_font.h>
#include "sim/sim_lib_mgr.h"
#include <properties/property.h>
#include <properties/property_mgr.h>
#include <google/protobuf/any.pb.h>
#include <api/schematic/schematic_types.pb.h>
Go to the source code of this file.
◆ GetKnownNetclassFieldTranslations()
| static const std::vector< wxString > & GetKnownNetclassFieldTranslations |
( |
| ) |
|
|
static |
Translations of "Net Class" extracted from KiCad's .po catalogs.
The directive-label net class field used to be saved as _( "Net Class" ) which embedded the UI-language translation into the .kicad_sch file. Files written by a non-English UI lost the canonical token when re-opened in another language, so the rule resolver could no longer locate the field. We now save the canonical name, but we still need to recognise the translated form when migrating older / cross-locale files.
Definition at line 60 of file sch_field.cpp.
Referenced by SCH_FIELD::IsNetclassLabelFieldName().
◆ _SCH_FIELD_DESC
◆ labelTypes