Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
c9a49fc5
Commit
c9a49fc5
authored
Dec 12, 2006
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more localisation
parent
13d5a5de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
25 deletions
+58
-25
data/en.mse-locale/locale
data/en.mse-locale/locale
+38
-5
src/gui/set/window.cpp
src/gui/set/window.cpp
+20
-20
No files found.
data/en.mse-locale/locale
View file @
c9a49fc5
...
...
@@ -8,14 +8,20 @@ menu
save
:
&
Save
Ctrl
+
S
save
as
:
Save
&
As
...
F12
export
:
&
Export
exit
:
&
Exit
Alt
+
F4
print
preview
:
Print
Pre
&
view
...
print
:
&
Print
...
Ctrl
+
P
exit
:
E
&
xit
Alt
+
F4
edit
:
&
Edit
undo
:
&
Undo
Ctrl
+
Z
redo
:
&
Redo
Ctrl
+
Y
undo
:
&
Undo
%
s
Ctrl
+
Z
redo
:
&
Redo
%
s
Ctrl
+
Y
cut
:
Cu
&
t
Ctrl
+
X
copy
:
&
Copy
Ctrl
+
C
paste
:
&
Paste
Ctrl
+
V
find
:
&
Find
Ctrl
+
F
find
next
:
Find
&
Next
F3
replace
:
R
&
eplace
Ctrl
+
H
preferences
:
&
Preferences
...
cards
:
&
Cards
rotate
270
:
Rotated
90
°
&
Clockwise
...
...
@@ -34,14 +40,33 @@ menu
##############################################################
Menu
help
texts
help
:
new
:
Create
a
new
set
file
:
new
:
Create
a
new
set
open
:
Open
a
set
save
:
Save
the
set
save
as
:
Save
the
set
with
a
new
name
exit
:
Quits
Magic
Set
Editor
;
prompts
to
save
the
set
edit
:
undo
:
Undoes
the
last
action
redo
:
Redoes
the
last
action
format
:
bold
:
Makes
the
selected
text
bold
italic
:
Makes
the
selected
text
italic
##############################################################
Tool
tips
##############################################################
Tool
bar
tool
:
cards
tab
:
Cards
set
info
tab
:
Set
info
remove
card
:
Remove
selected
card
rotated
card
:
Rotate
card
bold
:
Bold
italic
:
Italic
symbols
:
Symbols
reminder
text
:
Reminder
Text
##############################################################
Labels
in
the
GUI
label
:
...
...
@@ -111,9 +136,17 @@ type:
##############################################################
Magic
game
:
magic
:
#
Card
fields
name
:
Name
cc
:
CC
type
:
Type
p
/
t
:
P
/
T
rarity
:
Rarity
card
name
:
Card
Name
#
Set
info
#
descriptions
/
help
text
#
stylesheet
:
#
magic
-
new
:
#
\ No newline at end of file
src/gui/set/window.cpp
View file @
c9a49fc5
...
...
@@ -44,53 +44,53 @@ SetWindow::SetWindow(Window* parent, const SetP& set)
// initialize menu bar
wxMenuBar
*
menuBar
=
new
wxMenuBar
();
IconMenu
*
menuFile
=
new
IconMenu
();
menuFile
->
Append
(
ID_FILE_NEW
,
_
(
"TOOL_NEW"
),
_
(
"&New...
\t
Ctrl+N"
),
_
(
"Create a new set
"
));
menuFile
->
Append
(
ID_FILE_OPEN
,
_
(
"TOOL_OPEN"
),
_
(
"&Open...
\t
Ctrl+O"
),
_
(
"Open a set
"
));
menuFile
->
Append
(
ID_FILE_SAVE
,
_
(
"TOOL_SAVE"
),
_
(
"&Save
\t
Ctrl+S"
),
_
(
"Save the set
"
));
menuFile
->
Append
(
ID_FILE_SAVE_AS
,
_
(
"Save &As...
\t
F12"
),
_
(
"Save the set with a new name
"
));
menuFile
->
Append
(
ID_FILE_NEW
,
_
(
"TOOL_NEW"
),
_
MENU_
(
"new"
),
_HELP_
(
"new
"
));
menuFile
->
Append
(
ID_FILE_OPEN
,
_
(
"TOOL_OPEN"
),
_
MENU_
(
"open"
),
_HELP_
(
"open
"
));
menuFile
->
Append
(
ID_FILE_SAVE
,
_
(
"TOOL_SAVE"
),
_
MENU_
(
"save"
),
_HELP_
(
"save
"
));
menuFile
->
Append
(
ID_FILE_SAVE_AS
,
_
MENU_
(
"save as"
),
_HELP_
(
"save as
"
));
IconMenu
*
menuExport
=
new
IconMenu
();
menuExport
->
Append
(
ID_FILE_EXPORT_HTML
,
_
(
"&HTML..."
),
_
(
"Export the set to a HTML file"
));
menuExport
->
Append
(
ID_FILE_EXPORT_IMAGE
,
_
(
"Card &Image..."
),
_
(
"Export the selected card to an image file"
));
menuExport
->
Append
(
ID_FILE_EXPORT_IMAGES
,
_
(
"All Card I&mages..."
),
_
(
"Export images for all cards"
));
menuExport
->
Append
(
ID_FILE_EXPORT_APPR
,
_
(
"&Apprentice..."
),
_
(
"Export the set so it can be played with in Apprentice"
));
menuExport
->
Append
(
ID_FILE_EXPORT_MWS
,
_
(
"Magic &Workstation..."
),
_
(
"Export the set so it can be played with in Magic Workstation"
));
menuFile
->
Append
(
ID_FILE_EXPORT
,
_
(
"&E
xport"
),
_
(
"Export the set..."
),
menuExport
);
menuFile
->
Append
(
ID_FILE_EXPORT
,
_
MENU_
(
"e
xport"
),
_
(
"Export the set..."
),
menuExport
);
menuFile
->
AppendSeparator
();
menuFile
->
Append
(
ID_FILE_INSPECT
,
_
(
"Inspect Internal Data..."
),
_
(
"Shows a the data in the set using a tree structure"
));
menuFile
->
AppendSeparator
();
menuFile
->
Append
(
ID_FILE_PRINT_PREVIEW
,
_
(
"Print Pre&view...
"
),
_
(
"Shows cards as they will be printed"
));
menuFile
->
Append
(
ID_FILE_PRINT
,
_
(
"&Print...
"
),
_
(
"Print cards from this set"
));
menuFile
->
Append
(
ID_FILE_PRINT_PREVIEW
,
_
MENU_
(
"print preview
"
),
_
(
"Shows cards as they will be printed"
));
menuFile
->
Append
(
ID_FILE_PRINT
,
_
MENU_
(
"print
"
),
_
(
"Print cards from this set"
));
menuFile
->
AppendSeparator
();
// recent files go here
menuFile
->
AppendSeparator
();
menuFile
->
Append
(
ID_FILE_EXIT
,
_
(
"E&xit
\t
Alt+F4"
),
_
(
"Quits Magic Set Editor; prompts to save the se
t"
));
menuFile
->
Append
(
ID_FILE_EXIT
,
_
MENU_
(
"exit"
),
_HELP_
(
"exi
t"
));
menuBar
->
Append
(
menuFile
,
_MENU_
(
"file"
));
IconMenu
*
menuEdit
=
new
IconMenu
();
menuEdit
->
Append
(
ID_EDIT_UNDO
,
_
(
"TOOL_UNDO"
),
_
(
"&Undo
\t
Ctrl+Z
"
),
_
(
"Undoes the last action"
));
menuEdit
->
Append
(
ID_EDIT_REDO
,
_
(
"TOOL_REDO"
),
_
(
"&Redo
\t
F4"
),
_
(
"Redoes the last action"
));
menuEdit
->
Append
(
ID_EDIT_UNDO
,
_
(
"TOOL_UNDO"
),
_
MENU_
(
"undo
"
),
_
(
"Undoes the last action"
));
menuEdit
->
Append
(
ID_EDIT_REDO
,
_
(
"TOOL_REDO"
),
_
MENU_
(
"redo"
),
_
(
"Redoes the last action"
));
menuEdit
->
AppendSeparator
();
menuEdit
->
Append
(
ID_EDIT_CUT
,
_
(
"TOOL_CUT"
),
_
(
"Cu&t
\t
Ctrl+X
"
),
_
(
"Move the selected text to the clipboard"
));
menuEdit
->
Append
(
ID_EDIT_COPY
,
_
(
"TOOL_COPY"
),
_
(
"&Copy
\t
Ctrl+C
"
),
_
(
"Place the selected text on the clipboard"
));
menuEdit
->
Append
(
ID_EDIT_PASTE
,
_
(
"TOOL_PASTE"
),
_
(
"&Paste
\t
Ctrl+V
"
),
_
(
"Inserts the text from the clipboard"
));
menuEdit
->
Append
(
ID_EDIT_CUT
,
_
(
"TOOL_CUT"
),
_
MENU_
(
"cut
"
),
_
(
"Move the selected text to the clipboard"
));
menuEdit
->
Append
(
ID_EDIT_COPY
,
_
(
"TOOL_COPY"
),
_
MENU_
(
"copy
"
),
_
(
"Place the selected text on the clipboard"
));
menuEdit
->
Append
(
ID_EDIT_PASTE
,
_
(
"TOOL_PASTE"
),
_
MENU_
(
"paste
"
),
_
(
"Inserts the text from the clipboard"
));
menuEdit
->
AppendSeparator
();
menuEdit
->
Append
(
ID_EDIT_FIND
,
_
(
"TOOL_FIND"
),
_
(
"&Find...
\t
Ctrl+F"
),
_
(
""
));
menuEdit
->
Append
(
ID_EDIT_FIND_NEXT
,
_
(
"Find &Next
\t
F3"
),
_
(
""
));
menuEdit
->
Append
(
ID_EDIT_REPLACE
,
_
(
"R&eplace...
\t
Ctrl+H"
),
_
(
""
));
menuEdit
->
Append
(
ID_EDIT_FIND
,
_
(
"TOOL_FIND"
),
_
MENU_
(
"find"
),
_
(
""
));
menuEdit
->
Append
(
ID_EDIT_FIND_NEXT
,
_
MENU_
(
"find next"
),
_
(
""
));
menuEdit
->
Append
(
ID_EDIT_REPLACE
,
_
MENU_
(
"replace"
),
_
(
""
));
menuEdit
->
AppendSeparator
();
menuEdit
->
Append
(
ID_EDIT_PREFERENCES
,
_
(
"Preferences..."
),
_
(
"Change the configuration of Magic Set Editor"
));
menuBar
->
Append
(
menuEdit
,
_
(
"&E
dit"
));
menuEdit
->
Append
(
ID_EDIT_PREFERENCES
,
_
MENU_
(
"preferences"
),
_
(
"Change the configuration of Magic Set Editor"
));
menuBar
->
Append
(
menuEdit
,
_
MENU_
(
"e
dit"
));
IconMenu
*
menuWindow
=
new
IconMenu
();
menuWindow
->
Append
(
ID_WINDOW_NEW
,
_
(
"&New Window"
),
_
(
"Creates another window to edit the same set"
));
menuWindow
->
AppendSeparator
();
menuBar
->
Append
(
menuWindow
,
_
(
"&W
indow"
));
menuBar
->
Append
(
menuWindow
,
_
MENU_
(
"w
indow"
));
IconMenu
*
menuHelp
=
new
IconMenu
();
menuHelp
->
Append
(
ID_HELP_INDEX
,
_
(
"TOOL_HELP"
),
_
(
"&Index..
\t
F1"
),
_
(
""
));
menuHelp
->
AppendSeparator
();
menuHelp
->
Append
(
ID_HELP_ABOUT
,
_
(
"&About Magic Set Editor..."
),
_
(
""
));
menuBar
->
Append
(
menuHelp
,
_
(
"&H
elp"
));
menuBar
->
Append
(
menuHelp
,
_
MENU_
(
"h
elp"
));
SetMenuBar
(
menuBar
);
...
...
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