0 | module CyBy.Draw.I18n.EN
2 | import Web.Async.Extra.I18n.EN
3 | import public CyBy.Draw.I18n
7 | parameters {auto log : Logger JS}
9 | [DrawEN] DrawLocal using DOMEN ExtraEN where
10 | abbreviations = "--abbreviations--"
17 | centerTxt = "center"
19 | chlorine = "chlorine"
20 | cyclobutane = "cyclobutane"
21 | cycloheptane = "cycloheptane"
22 | cyclohexane = "cyclohexane"
23 | cyclooctane = "cyclooctane"
24 | cyclopentane = "cyclopentane"
25 | cyclopropane = "cyclopropane"
26 | detailsTxt = "Details"
27 | doubleBond = "double bond"
30 | fluorine = "fluorine"
35 | nitrogen = "nitrogen"
37 | phosphorous = "phosphorous"
39 | pseLong = "periodic system"
42 | selectTxt = "select"
43 | setCharge = "select charge"
44 | setElement = "select element"
45 | setMass = "select mass number"
46 | singleBnd = "single bond"
47 | singleDown = "single bond down"
48 | singleEither = "single bond up or down"
49 | singleUp = "single bond up"
51 | tripleBond = "triple bond"
55 | zoomInTxt = "zoom in"
56 | zoomOutTxt = "zoom out"
58 | copied = info "structure copied to clipboard"
59 | readErr x = error "error when reading structure: \{x}"
61 | logOpened p = info "file opened: \{p}"
62 | noMetadata p = error "File \{p} does not contain any CyBy metadata. It might have been created or edited by another program."
63 | wrongFileType p = error "unsupported file type: \{p}"
68 | SelAbbr {} => trace "DrawEvent: \{show x}"
69 | SetTempl {} => trace "DrawEvent: \{show x}"
70 | Load {} => trace "DrawEvent: \{show x}"
71 | Move {} => trace "DrawEvent: \{show x}"
72 | _ => debug "DrawEvent: \{show x}"