FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 4d2e8811 authored by Silas S. Brown's avatar Silas S. Brown
Browse files

Gradint update

git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/gradint@981 29193198-4895-4776-b068-10539e920549
parent ddc76693
No related branches found
No related tags found
No related merge requests found
import Tkinter,gradint
gradint.justSynthesize="en "+Tkinter.Tk().selection_get(selection="CLIPBOARD").encode("utf-8").replace("#"," sharp ")
gradint.GUI_translations["Cancel lesson"]={"en":"Press here to cancel this reading"}
gradint.main()
import Tkinter,gradint
gradint.justSynthesize="zh "+Tkinter.Tk().selection_get(selection="CLIPBOARD").encode("utf-8").replace("#","")
# gradint.just_synthesize()
gradint.GUI_translations["Cancel lesson"]={"en":"Press here to cancel this reading"}
gradint.main()
......@@ -551,7 +551,7 @@ class RecorderControls:
def newFolder(self,*args):
count=0
while True:
fname = "folder%d" % count
fname = "folder%d" % count # DON'T default its name to today's date etc, as this may make it less obvious what the GUI's renaming step is
try: os.mkdir(unicode2filename(self.currentDir+os.sep+fname))
except:
count += 1 ; continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment