mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
more localisation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@114 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -8,14 +8,20 @@ menu
|
|||||||
save: &Save Ctrl+S
|
save: &Save Ctrl+S
|
||||||
save as: Save &As... F12
|
save as: Save &As... F12
|
||||||
export: &Export
|
export: &Export
|
||||||
exit: &Exit Alt+F4
|
print preview: Print Pre&view...
|
||||||
|
print: &Print... Ctrl+P
|
||||||
|
exit: E&xit Alt+F4
|
||||||
|
|
||||||
edit: &Edit
|
edit: &Edit
|
||||||
undo: &Undo Ctrl+Z
|
undo: &Undo %s Ctrl+Z
|
||||||
redo: &Redo Ctrl+Y
|
redo: &Redo %s Ctrl+Y
|
||||||
cut: Cu&t Ctrl+X
|
cut: Cu&t Ctrl+X
|
||||||
copy: &Copy Ctrl+C
|
copy: &Copy Ctrl+C
|
||||||
paste: &Paste Ctrl+V
|
paste: &Paste Ctrl+V
|
||||||
|
find: &Find Ctrl+F
|
||||||
|
find next: Find &Next F3
|
||||||
|
replace: R&eplace Ctrl+H
|
||||||
|
preferences: &Preferences...
|
||||||
|
|
||||||
cards: &Cards
|
cards: &Cards
|
||||||
rotate 270: Rotated 90° &Clockwise
|
rotate 270: Rotated 90° &Clockwise
|
||||||
@@ -34,14 +40,33 @@ menu
|
|||||||
|
|
||||||
############################################################## Menu help texts
|
############################################################## Menu help texts
|
||||||
help:
|
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
|
bold: Makes the selected text bold
|
||||||
italic: Makes the selected text italic
|
italic: Makes the selected text italic
|
||||||
|
|
||||||
############################################################## Tooltips
|
############################################################## Toolbar
|
||||||
tool:
|
tool:
|
||||||
|
cards tab: Cards
|
||||||
|
set info tab: Set info
|
||||||
|
|
||||||
remove card: Remove selected card
|
remove card: Remove selected card
|
||||||
rotated card: Rotate card
|
rotated card: Rotate card
|
||||||
|
|
||||||
|
bold: Bold
|
||||||
|
italic: Italic
|
||||||
|
symbols: Symbols
|
||||||
|
reminder text: Reminder Text
|
||||||
|
|
||||||
############################################################## Labels in the GUI
|
############################################################## Labels in the GUI
|
||||||
label:
|
label:
|
||||||
@@ -111,9 +136,17 @@ type:
|
|||||||
############################################################## Magic
|
############################################################## Magic
|
||||||
game:
|
game:
|
||||||
magic:
|
magic:
|
||||||
|
# Card fields
|
||||||
name: Name
|
name: Name
|
||||||
cc: CC
|
cc: CC
|
||||||
type: Type
|
type: Type
|
||||||
p/t: P/T
|
p/t: P/T
|
||||||
rarity: Rarity
|
rarity: Rarity
|
||||||
card name: Card Name
|
card name: Card Name
|
||||||
|
|
||||||
|
# Set info
|
||||||
|
|
||||||
|
# descriptions/help text
|
||||||
|
#stylesheet:
|
||||||
|
# magic-new:
|
||||||
|
#
|
||||||
+20
-20
@@ -44,53 +44,53 @@ SetWindow::SetWindow(Window* parent, const SetP& set)
|
|||||||
// initialize menu bar
|
// initialize menu bar
|
||||||
wxMenuBar* menuBar = new wxMenuBar();
|
wxMenuBar* menuBar = new wxMenuBar();
|
||||||
IconMenu* menuFile = new IconMenu();
|
IconMenu* menuFile = new IconMenu();
|
||||||
menuFile->Append(ID_FILE_NEW, _("TOOL_NEW"), _("&New...\tCtrl+N"), _("Create a new set"));
|
menuFile->Append(ID_FILE_NEW, _("TOOL_NEW"), _MENU_("new"), _HELP_("new"));
|
||||||
menuFile->Append(ID_FILE_OPEN, _("TOOL_OPEN"), _("&Open...\tCtrl+O"), _("Open a set"));
|
menuFile->Append(ID_FILE_OPEN, _("TOOL_OPEN"), _MENU_("open"), _HELP_("open"));
|
||||||
menuFile->Append(ID_FILE_SAVE, _("TOOL_SAVE"), _("&Save\tCtrl+S"), _("Save the set"));
|
menuFile->Append(ID_FILE_SAVE, _("TOOL_SAVE"), _MENU_("save"), _HELP_("save"));
|
||||||
menuFile->Append(ID_FILE_SAVE_AS, _("Save &As...\tF12"), _("Save the set with a new name"));
|
menuFile->Append(ID_FILE_SAVE_AS, _MENU_("save as"), _HELP_("save as"));
|
||||||
IconMenu* menuExport = new IconMenu();
|
IconMenu* menuExport = new IconMenu();
|
||||||
menuExport->Append(ID_FILE_EXPORT_HTML, _("&HTML..."), _("Export the set to a HTML file"));
|
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_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_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_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"));
|
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, _("&Export"), _("Export the set..."), menuExport);
|
menuFile->Append(ID_FILE_EXPORT, _MENU_("export"), _("Export the set..."), menuExport);
|
||||||
menuFile->AppendSeparator();
|
menuFile->AppendSeparator();
|
||||||
menuFile->Append(ID_FILE_INSPECT, _("Inspect Internal Data..."), _("Shows a the data in the set using a tree structure"));
|
menuFile->Append(ID_FILE_INSPECT, _("Inspect Internal Data..."), _("Shows a the data in the set using a tree structure"));
|
||||||
menuFile->AppendSeparator();
|
menuFile->AppendSeparator();
|
||||||
menuFile->Append(ID_FILE_PRINT_PREVIEW, _("Print Pre&view..."), _("Shows cards as they will be printed"));
|
menuFile->Append(ID_FILE_PRINT_PREVIEW, _MENU_("print preview"), _("Shows cards as they will be printed"));
|
||||||
menuFile->Append(ID_FILE_PRINT, _("&Print..."), _("Print cards from this set"));
|
menuFile->Append(ID_FILE_PRINT, _MENU_("print"), _("Print cards from this set"));
|
||||||
menuFile->AppendSeparator();
|
menuFile->AppendSeparator();
|
||||||
// recent files go here
|
// recent files go here
|
||||||
menuFile->AppendSeparator();
|
menuFile->AppendSeparator();
|
||||||
menuFile->Append(ID_FILE_EXIT, _("E&xit\tAlt+F4"), _("Quits Magic Set Editor; prompts to save the set"));
|
menuFile->Append(ID_FILE_EXIT, _MENU_("exit"), _HELP_("exit"));
|
||||||
menuBar->Append(menuFile, _MENU_("file"));
|
menuBar->Append(menuFile, _MENU_("file"));
|
||||||
|
|
||||||
IconMenu* menuEdit = new IconMenu();
|
IconMenu* menuEdit = new IconMenu();
|
||||||
menuEdit->Append(ID_EDIT_UNDO, _("TOOL_UNDO"), _("&Undo\tCtrl+Z"), _("Undoes the last action"));
|
menuEdit->Append(ID_EDIT_UNDO, _("TOOL_UNDO"), _MENU_("undo"), _("Undoes the last action"));
|
||||||
menuEdit->Append(ID_EDIT_REDO, _("TOOL_REDO"), _("&Redo\tF4"), _("Redoes the last action"));
|
menuEdit->Append(ID_EDIT_REDO, _("TOOL_REDO"), _MENU_("redo"), _("Redoes the last action"));
|
||||||
menuEdit->AppendSeparator();
|
menuEdit->AppendSeparator();
|
||||||
menuEdit->Append(ID_EDIT_CUT, _("TOOL_CUT"), _("Cu&t\tCtrl+X"), _("Move the selected text to 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"), _("&Copy\tCtrl+C"), _("Place the selected text on 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"), _("&Paste\tCtrl+V"), _("Inserts the text from the clipboard"));
|
menuEdit->Append(ID_EDIT_PASTE, _("TOOL_PASTE"), _MENU_("paste"), _("Inserts the text from the clipboard"));
|
||||||
menuEdit->AppendSeparator();
|
menuEdit->AppendSeparator();
|
||||||
menuEdit->Append(ID_EDIT_FIND, _("TOOL_FIND"), _("&Find...\tCtrl+F"), _(""));
|
menuEdit->Append(ID_EDIT_FIND, _("TOOL_FIND"), _MENU_("find"), _(""));
|
||||||
menuEdit->Append(ID_EDIT_FIND_NEXT, _("Find &Next\tF3"), _(""));
|
menuEdit->Append(ID_EDIT_FIND_NEXT, _MENU_("find next"), _(""));
|
||||||
menuEdit->Append(ID_EDIT_REPLACE, _("R&eplace...\tCtrl+H"), _(""));
|
menuEdit->Append(ID_EDIT_REPLACE, _MENU_("replace"), _(""));
|
||||||
menuEdit->AppendSeparator();
|
menuEdit->AppendSeparator();
|
||||||
menuEdit->Append(ID_EDIT_PREFERENCES, _("Preferences..."), _("Change the configuration of Magic Set Editor"));
|
menuEdit->Append(ID_EDIT_PREFERENCES, _MENU_("preferences"), _("Change the configuration of Magic Set Editor"));
|
||||||
menuBar->Append(menuEdit, _("&Edit"));
|
menuBar->Append(menuEdit, _MENU_("edit"));
|
||||||
|
|
||||||
IconMenu* menuWindow = new IconMenu();
|
IconMenu* menuWindow = new IconMenu();
|
||||||
menuWindow->Append(ID_WINDOW_NEW, _ ("&New Window"), _("Creates another window to edit the same set"));
|
menuWindow->Append(ID_WINDOW_NEW, _ ("&New Window"), _("Creates another window to edit the same set"));
|
||||||
menuWindow->AppendSeparator();
|
menuWindow->AppendSeparator();
|
||||||
menuBar->Append(menuWindow, _("&Window"));
|
menuBar->Append(menuWindow, _MENU_("window"));
|
||||||
|
|
||||||
IconMenu* menuHelp = new IconMenu();
|
IconMenu* menuHelp = new IconMenu();
|
||||||
menuHelp->Append(ID_HELP_INDEX, _("TOOL_HELP"), _("&Index..\tF1"), _(""));
|
menuHelp->Append(ID_HELP_INDEX, _("TOOL_HELP"), _("&Index..\tF1"), _(""));
|
||||||
menuHelp->AppendSeparator();
|
menuHelp->AppendSeparator();
|
||||||
menuHelp->Append(ID_HELP_ABOUT, _("&About Magic Set Editor..."), _(""));
|
menuHelp->Append(ID_HELP_ABOUT, _("&About Magic Set Editor..."), _(""));
|
||||||
menuBar->Append(menuHelp, _("&Help"));
|
menuBar->Append(menuHelp, _MENU_("help"));
|
||||||
|
|
||||||
SetMenuBar(menuBar);
|
SetMenuBar(menuBar);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user