Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
9c0c8925
Commit
9c0c8925
authored
Apr 14, 2015
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make hotkeys editor titles translatable.
parent
79af0c45
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
dialog_hotkeys_editor.cpp
common/dialogs/dialog_hotkeys_editor.cpp
+1
-1
hotkeys_basic.cpp
common/hotkeys_basic.cpp
+5
-5
menubar.cpp
kicad/menubar.cpp
+4
-2
No files found.
common/dialogs/dialog_hotkeys_editor.cpp
View file @
9c0c8925
...
...
@@ -275,7 +275,7 @@ HOTKEYS_EDITOR_DIALOG::HOTKEYS_EDITOR_DIALOG( EDA_BASE_FRAME* aParent,
for
(
section
=
m_hotkeys
;
section
->
m_HK_InfoList
;
section
++
)
{
m_hotkeySectionPages
.
push_back
(
new
HOTKEY_SECTION_PAGE
(
this
,
m_hotkeySections
,
_
(
*
section
->
m_Title
),
wxGetTranslation
(
*
section
->
m_Title
),
section
)
);
}
...
...
common/hotkeys_basic.cpp
View file @
9c0c8925
...
...
@@ -52,11 +52,11 @@ wxString g_LibEditSectionTag( wxT( "[libedit]" ) );
wxString
g_BoardEditorSectionTag
(
wxT
(
"[pcbnew]"
)
);
wxString
g_ModuleEditSectionTag
(
wxT
(
"[footprinteditor]"
)
);
wxString
g_CommonSectionTitle
(
wxT
(
"Common"
)
);
wxString
g_SchematicSectionTitle
(
wxT
(
"Schematic Editor"
)
);
wxString
g_LibEditSectionTitle
(
wxT
(
"Library Editor"
)
);
wxString
g_BoardEditorSectionTitle
(
wxT
(
"Board Editor"
)
);
wxString
g_ModuleEditSectionTitle
(
wxT
(
"Footprint Editor"
)
);
wxString
g_CommonSectionTitle
(
_HKI
(
"Common"
)
);
wxString
g_SchematicSectionTitle
(
_HKI
(
"Schematic Editor"
)
);
wxString
g_LibEditSectionTitle
(
_HKI
(
"Library Editor"
)
);
wxString
g_BoardEditorSectionTitle
(
_HKI
(
"Board Editor"
)
);
wxString
g_ModuleEditSectionTitle
(
_HKI
(
"Footprint Editor"
)
);
/* Class to handle hotkey commnands. hotkeys have a default value
...
...
kicad/menubar.cpp
View file @
9c0c8925
...
...
@@ -167,9 +167,11 @@ EDA_HOTKEY* common_Hotkey_List[] =
// list of sections and corresponding hotkey list for Kicad
// (used to create an hotkey config file, and edit hotkeys )
// here we have only one section.
wxString
sectionTitle
(
_HKI
(
"Kicad Manager Hotkeys"
)
);
struct
EDA_HOTKEY_CONFIG
kicad_Manager_Hokeys_Descr
[]
=
{
{
&
g_CommonSectionTag
,
common_Hotkey_List
,
&
g_CommonS
ectionTitle
},
{
NULL
,
NULL
,
NULL
}
{
&
g_CommonSectionTag
,
common_Hotkey_List
,
&
s
ectionTitle
},
{
NULL
,
NULL
,
NULL
}
};
///////////// End hotkeys management ///////////////////////////////////////
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment