#
# (c) 2014-2019, Tobias Kohn
#
# http://jython.tobiaskohn.ch/
#
# LAST CHANGE: MAY-28-2019
#
language.name = "English"

# Menu items
menu.file = "&File"
menu.edit = "&Edit"
menu.run = "&Run"
menu.tools = "&Tools"
menu.help = "&Help"

# Actions
new.caption = "&New"
new.tooltip = "New program"
new.shortcut = "command N"
open.caption = "&Open..."
open.tooltip = "Open"
open.shortcut = "command O"
save.caption = "&Save"
save.tooltip = "Save"
save.shortcut = "command S"
saveas.caption = "Save &as..."
saveas.tooltip = "Save under a different name"
saveall.caption = "Save all"
saveall.tooltip = "Save all open documents"
reopen.caption = "Open Recent"
close.caption = "&Close"
close.tooltip = "Close the current document"
close.shortcut = "command W"
closeall.caption = "Close all"
closeall.tooltip = "Close all open documents"
print.caption = "&Print..."
print.tooltip = "Print the current document"
preferences.caption = "Preferences..."
quit.caption = "&Quit"
quit.tooltip = "Quit the application."

undo.caption = "&Undo"
undo.shortcut = "command Z"
redo.caption = "&Redo"
redo.shortcut = "command Y"
cut.caption = "Cu&t"
cut.shortcut = "command X"
copy.caption = "&Copy"
copy.shortcut = "command C"
copyasrtf.caption = "Copy with formats"
copyasrtf.shortcut = "command shift C"
paste.caption = "&Paste"
paste.shortcut = "command V"
clear.caption = "Clear"
clearall.caption = "Clear all"
selectall.caption = "Select all"
selectall.shortcut = "command A"
copyinputtext.caption = "Copy to editor"
find.caption = "&Find"
find.shortcut = "command F"
replace.caption = "Fi&nd and replace..."
replace.shortcut = "command H"
togglecomment.caption = "&Toggle comments"
togglecomment.shortcut = "control Q"

run.caption = "&Run"
run.tooltip = "Run the current program."
run.shortcut = "F5"
resume.caption = "&Resume"
resume.tooltip = "Resume the paused program."
resume.shortcut = "F5"
runselected.caption = "Run &selection"
runselected.shortcut = "shift F5"
singlestep.caption = "Run s&ingle step"
singlestep.shortcut = "F6"
stepover.caption = "Step over"
stepover.shortcut = "shift F6"
pause.caption = "&Pause"
abort.caption = "S&top"
reset.caption = "R&eset"
togglebreakpoint.caption = "To&ggle Breakpoint"
togglebreakpoint.shortcut = "control shift B"
showdebugger.caption = "Toggle &Debugger"
showconsole.caption = "Show &Console"
showconsole.tooltip = "Open the interactive console in a separate window."
showconsole.shortcut = "command T"
define.caption = "Memorize function"
define.tooltip = "Memorize the currently selected command or function"
showfunctions.caption = "Manage my functions"
keyboardinterrupt.caption = "Keyboard Interrupt"

remoteterminal.caption = "Remote Terminal"
remoteterminal.shortcut = "shift command T"
downloadtotarget.caption = "Download/Execute"
downloadtotarget.shortcut = "shift F7"
executeontarget.caption = "Execute on Target"
executeontarget.enabled = false
downloadmoduletotarget.caption = "Download module"
terminatepythonontarget.caption = "Terminate Python on Target"
shutdowntarget.caption = "Shutdown Target"
restarttarget.caption = "Restart Target"
flashtarget.caption = "Flash Target"
enumeratecomports.caption = "Enumerate COM Ports"

insertrandomnumbers.caption = "Insert Random Numbers..."
insertprimenumber.caption = "Insert Prime Number..."

apludocumentation.caption = "APLU Documentation..."

help.caption = "&Help"
help.enabled = true
update.caption = "Update/Homepage"
about.caption = "About " + app.name + "..."

# Window captions
console.caption = "Console"
output.caption = "Output"
info.caption = "Info"
problems.caption = "Messages"

quickfind.caption = "Find"

# Debugger Panel
debug.runspeed = "Running speed"
debug.slow = "Slow"
debug.fast = "Fast"

# Messages and Queries
message.cannotsaveduplicate = "The file '%s' is already open and cannot be overwritten.\n"+
	"Please close it first or choose another filename."
message.filenotfound = "The file '%s' could not be found."
message.printed = "Printed %d pages."
message.updateavailable = "Update: A newer version (%s) of " + app.name + " is available."
queries.overwrite = "The file '%s' already exists.\nDo you want to overwrite it?"
queries.savebeforeclose = "The file '%s' has been changed.\nSave before closing?"
queries.abort = "A program is still running.\nDo you want to stop it?"
queries.reload = "The file '%s' has been modified by another program.\nDo you want to reload it from disk?"
dialogs.pythonfiles = "Python files"

# Preferences
prefs {
	.title = "Preferences"
    .ok = "OK"
	.ok.tooltip = "Save the changes and quit."
	.cancel = "Cancel"
	.cancel.tooltip = "Don't save the changes and quit."

    .general = "General"
	.general.tooltip = "Change the appearance."
    .fontsize = "Fontsize"
    .tabwidth = "Tabwidth"
    .autoindent = "Indent lines automatically."
    .autoindent.tooltip = "Indent lines after keywords such as 'def' or 'if' automatically."
    .autosave = "Save files before running them."
    .autosave.tooltip = "Automatically save the current program before running it."
	.checkupdate = "Check for updates."
	.checkupdate.tooltip = "Automatically check if there is an update available for download."
	.highlightline = "Highlight the current line."
	.scaletoscreen = "Scale for high screen resolutions."
	.hideexeccode = "Hide main window during execution."
    .language = "Language"
    .lookandfeel = "Look and feel"

    .advanced = "Advanced"
	.advanced.tooltip = "Change advanced setting."
	.docmode.multi = "Edit documents using tabs."
	.docmode.multi.tooltip = "Allows to open and edit several documents at a time."
	.docmode.single = "Edit one document only."
	.docmode.single.tooltip = "Open and edit only one document at a time."
	.docmode.newinstance = "Open document in a new window."
	.docmode.newinstance.tooltip = "Open each document in a new version of " + app.name + "."
	.autobackup = "Backup open files automatically."
	.autobackup.tooltip = "TigerJython saves a copy of all open Python-files in the 'tjbackup'-folder."
    .showmenu = "Show the mainmenu."
    .showmenu.tooltip = "Display the menu at the top of the window."
	.closedocwarning = "Warning! All documents will be immediately closed."
	.displayerrorframe = "In case of an error, load the last frame into the debugger."
	.jython.usagestats = "Print usage statistics"
	.jython.usagestats.tooltip = "Print the time needed for the execution and the available memory at the end of the program."
    .jython.autoaddjars = "Add jar-files in 'Lib' automatically to the path."
    .jython.autoaddjars.tooltip = "Look for jar-files in the Lib-directory and add them to the python-path."
	.popuperrormsg = "Show errors directly inside the editor."
	.popuperrormsg.tooltip = "Error messages will displayed with a small pop-up window."
	.jvm.disabledirectdraw = "Disable Direct3D-drawing."
	.jvm.disabledirectdraw.tooltip = "On some computers, Java's Direct3D does not work properly and needs to be disabled."
    .jython.exterrors = "Use the extended error-detection."
    .jython.exterrors.tooltip = "When active, problematic or useless Python expressions are prohibited."
	.jython.strictchecking = "Strict error-detection."
	.jython.strictchecking.tooltip = "Provide additional error detection of problematic statements and expressions."
	.jython.flatfunctions = "Prohibit nested function definitions."
    .jython.olddivision = "Use the old division of Python 2."
    .jython.olddivision.tooltip = "When active, / and // are handled as in Python 2. This option requires " + 
                                    app.name + " to be restarted."
    .jython.evalinput = "Evaluate input as in Python 2."
    .jython.evalinput.tooltip = "When active, the input function is 'eval(raw_input())'."
    .jython.repeatloop = "Allow 'repeat'-loops."
    .jython.repeatloop.tooltip = "Loops with 'repeat' are not standard-Python and can thus be deactivated here."
	.jython.sagepowerop = "Use `^' for power and `^^' for xor."
	.jython.sagepowerop.tooltip = "When this option is active, the operator `^' stands for `power' and `^^' is used for `xor'."
	.showlonglists = "Display long lists completely."
	.showlonglists.tooltip = "Without this option, long lists are shortened for display in the console."
	.disabledebugbeans = "Disable beans-properties in the debugger."
	.disabledebugbeans.tooltip = "Some Java-beans-properties might cause problems in the debugger. Disable them if necessary."
	.feedback.sendhttp = "Send us an automated feedback about error messages."
	.feedback.sendhttp.tooltip = "Help us improve TigerJython by sending us automated and anyomized feedback about how good our error messages are."
	.importsite = "Import site-packages at startup."
	.jython.protectfunctions = "Protect builtin-functions."
	.ximport = "Preprocess imports for extended syntax support."
	
	.library = "Library"
    .aplu.turtle.winsize = "Turtle's window size"
	.aplu.turtle.winsize.default = "Default"
	.aplu.turtle.winsize.default.tooltip = "Use the libraries' default."
	.aplu.turtle.winsize.auto = "Auto"
	.aplu.turtle.winsize.auto.tooltip = "Make the window as big as possible."
	.aplu.turtle.winsize.manually = "Set size to"
	.aplu.turtle.winsize.manually.tooltip = "Set the size manually to (width, height)."
	.aplu.turtle.pencolor = "Pen color"
	.aplu.turtle.color = "Turtle color"
	.aplu.turtle.backgroundcolor = "Background color"
	.aplu.gturtle.hideonstart = "Hide turtle as default"
	.aplu.gpanel.winsize = "GPanel's window size"
	.aplu.gpanel.winsize.default = "Default"
	.aplu.gpanel.winsize.default.tooltip = "Use the libraries' default."
	.aplu.gpanel.winsize.manually = "Set size to"
	.aplu.gpanel.winsize.manually.tooltip = "Set the size manually to (width, height)."
    .aplu.gpanel.multiwindow = "Show several windows"
	.aplu.ev3.enable = "Enable EV3-Download"
	.aplu.ev3.exec = "Run after download"
	.aplu.ev3.exec.tooltip = "Execute the script on the target after the download."
	.aplu.ev3.ipaddress = "IP Address"
	.aplu.ev3.ipaddress.tooltip = "Enter the IP Address/COM-PORT of your target."
	.aplu.ev3.robotselect = "Choose robot"
	.aplu.ev3.robotnone = "No robot"
	.aplu.ev3.robotev3 = "Lego EV3"
	.aplu.ev3.robotrpi = "Raspberry Pi"
	.aplu.ev3.microbit = "micro:bit/Calliope"
	
	.syntax = "Syntax"
	.syntax.background = "Background"
	.syntax.default = "Normal font"
	.syntax.builtin = "Builtin functions"
	.syntax.comment = "Comments"
	.syntax.const = "Builtin values"
	.syntax.identifier = "Identifiers"
	.syntax.keyword = "Keywords"
	.syntax.number = "Numbers"
	.syntax.operator = "Operators"
	.syntax.separator = "Separators"
	.syntax.string = "Strings"
	.syntax.type = "Datatypes"
	.syntax.curline = "Current line"
	.gutter.background = "Linenumbers: Background"
	.gutter.textcolor = "Linenumbers: Text"
	.output.background = "Output: Background"
	.output.textcolor = "Output: Text"
	.output.errorcolor = "Output: Errormessages"
	.gutter.prompt = "Console: Prompt"
	.output.input = "Console: Input background"
	.syntax.reset = "Reset to defaults"
}

# User defined functions
userdef.delete = "Delete"
userdef.emptylist = "You have no commands or functions defined!"
userdef.confirmdelete = "Do you really want to delete '%s'?"

# Find Dialog
find {
    .title = "Find and Replace..."
    .findbutton = "Find"
    .replacebutton = "Replace"
    .replaceallbutton = "Replace All"
    .cancel = "Cancel"
    .findwhat = "Find what"
    .replacewith = "Replace with"
    .wholeword = "Whole word"
    .matchcase = "Match case"
    .direction = "Direction"
    .up = "Up"
    .down = "Down"
}

# Interaction of user programs
input.floatprompt = "Enter a number:"
input.intprompt = "Enter an integer:"
input.nofloaterror = "This is not a valid number."
input.nointerror = "This is not a valid integer."


