mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
Fix generation of translated hotkey tables
This commit is contained in:
parent
7b64389062
commit
f76e54bd8b
@ -224,7 +224,6 @@ void PANEL_HOTKEYS_EDITOR::dumpHotkeys()
|
|||||||
|
|
||||||
wxFileName fn( filename );
|
wxFileName fn( filename );
|
||||||
|
|
||||||
LOCALE_IO locale;
|
|
||||||
wxFFileOutputStream fileStream( fn.GetFullPath(), "w" );
|
wxFFileOutputStream fileStream( fn.GetFullPath(), "w" );
|
||||||
wxTextOutputStream stream( fileStream );
|
wxTextOutputStream stream( fileStream );
|
||||||
|
|
||||||
@ -237,7 +236,7 @@ void PANEL_HOTKEYS_EDITOR::dumpHotkeys()
|
|||||||
|
|
||||||
stream << wxT( "[width=\"100%\",options=\"header\",cols=\"20%,15%,65%\"]" ) << endl;
|
stream << wxT( "[width=\"100%\",options=\"header\",cols=\"20%,15%,65%\"]" ) << endl;
|
||||||
stream << wxT( "|===" ) << endl;
|
stream << wxT( "|===" ) << endl;
|
||||||
stream << wxT( "| Action | Default Hotkey | Description" ) << endl;
|
stream << _( "| Action | Default Hotkey | Description" ) << endl;
|
||||||
|
|
||||||
for( HOTKEY& hk : section.m_HotKeys )
|
for( HOTKEY& hk : section.m_HotKeys )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user