feat:Add python API GetKicadCurrentLanguage
This commit is contained in:
committed by
Seth Hillbrand
parent
e72f563033
commit
9b8fa85b32
@@ -605,3 +605,11 @@ bool WriteDRCReport( BOARD* aBoard, const wxString& aFileName, EDA_UNITS aUnits,
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
wxString GetLanguage()
|
||||
{
|
||||
if( s_PcbEditFrame )
|
||||
return GetSettingsManager()->GetCommonSettings()->m_System.language;
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user