# Path: toolbox.py
# def _(txt=None):
# 	global translations
# 	if not translations:
# 		return unicode(txt)
# 	if translations.has_key(txt):
# 		return translations[txt]
# 	return unicode(txt)


from toolbox import *
from toolbox import _
from goban import *
from datetime import datetime
from Tkinter import *
from threading import Lock
from copy import deepcopy as copy
from ttk import Notebook
from tabbed import *
		import goban
		import dual_view
		import goban
			player_black=self.black.bot_name
			
		self.game_label=Label(panel,text=_("Black")+": "+player_black)
		self.game_label.grid(column=1,row=row,sticky=W)
		node_set(self.g.get_root(),"PB",player_black)
		
		row+=1
		if self.white=="human":
			player_white=_("Human player")
		elif self.white=="analyser":
			player_white=self.analyser.bot.bot_name
		elif self.white=="black":
			player_white=player_black
		else:
			player_white=self.white.bot_name
			
		self.game_label=Label(panel,text=_("White")+": "+player_white)
		self.game_label.grid(column=1,row=row,sticky=W)
		node_set(self.g.get_root(),"PW",player_white)
		
		row+=1
		self.game_label=Label(panel,text=_("Komi")+": "+str(self.komi))
		self.game_label.grid(column=1,row=row,sticky=W)

		row+=1
		self.game_label=Label(panel,text=_("Currently at move %i")%1)
		self.game_label.grid(column=1,row=row,sticky=W)
		
		
		row+=1

# Path: toolbox.py
# def _(txt=None):
# 	global translations
# 	if not translations:
# 		return unicode(txt)
# 	if translations.has_key(txt):
# 		return translations[txt]
# 	return unicode(txt)


# Path: live_analysis.py
from toolbox import *
from toolbox import _
from goban import *
from datetime import datetime
from Tkinter import *
from threading import Lock
from copy import deepcopy as copy
from ttk import Notebook
from tabbed import *
		import goban
		import dual_view
		import goban

			player_black=self.black.bot_name
			
		self.game_label=Label(panel,text=_("Black")+": "+player_black)
		self.game_label.grid(column=1,row=row,sticky=W)
		node_set(self.g.get_root(),"PB",player_black)
		
		row+=1
		if self.white=="human":
			player_white=_("Human player")
		elif self.white=="analyser":
			player_white=self.analyser.bot.bot_name
		elif self.white=="black":
			player_white=player_black
		else:
			player_white=self.white.bot_name
			
		self.game_label=Label(panel,text=_("White")+": "+player_white)
		self.game_label.grid(column=1,row=row,sticky=W)
		node_set(self.g.get_root(),"PW",player_white)
		
		row+=1
		self.game_label=Label(panel,text=_("Komi")+": "+str(self.komi))
		self.game_label.grid(column=1,row=row,sticky=W)

		row+=1
		self.game_label=Label(panel,text=_("Currently at move %i")%1)
		self.game_label.grid(column=1,row=row,sticky=W)
		
		
		row+=1

		self.pass_button=Button(toolbar,text=_("Pass"),state="disabled",command=self.player_pass)