parameters: (translationDict)
docstring: Verify a set of translations that were extracted from a .ts file
  	using parse_ts_file(). Just does some basic sanity checks.
docstring_summary: Verify a set of translations that were extracted from a .ts file
  	using parse_ts_file(). Just does some basic sanity checks.
docstring_tokens: Verify a set of translations that were extracted from a . ts file using parse_ts_file () . Just does some basic sanity checks .
function: def _verify_translations(translationDict):
  	"""Verify a set of translations that were extracted from a .ts file
  	using parse_ts_file(). Just does some basic sanity checks."""
  	
  	for contextName, strings in translationDict.iteritems():
  		for source, trans in strings.iteritems():
  			assert trans["type"] in ["unfinished", ""], "Unknown translation type"
  			assert len(trans["source"]) > 0, "Empty source string"
  			if trans["type"] == "unfinished":
  				assert len(trans["translation"]) == 0, "Non-empty translation with type 'unfinished'"
  			else:
  				assert len(trans["translation"]) > 0, "Empty translation not marked 'unfinished'"
function_tokens: def _verify_translations ( translationDict ) : for contextName , strings in translationDict . iteritems ( ) : for source , trans in strings . iteritems ( ) : assert trans [ "type" ] in [ "unfinished" , "" ] , "Unknown translation type" assert len ( trans [ "source" ] ) > 0 , "Empty source string" if trans [ "type" ] == "unfinished" : assert len ( trans [ "translation" ] ) == 0 , "Non-empty translation with type 'unfinished'" else : assert len ( trans [ "translation" ] ) > 0 , "Empty translation not marked 'unfinished'"