parameters: (uberclique, tc_project)
return_statement: return warnings
docstring: Given an UberClique and a project name, will print out helpful warnings
    if there are conflicting shortcuts within shortcut groups in the provided
    UberClique.
  
    Args:
      uberclique: clique.UberClique()
      tc_project: 'MyProjectNameInTheTranslationConsole'
  
    Returns:
      ['warning line 1', 'warning line 2', ...]
docstring_summary: Given an UberClique and a project name, will print out helpful warnings
    if there are conflicting shortcuts within shortcut groups in the provided
    UberClique.
docstring_tokens: Given an UberClique and a project name will print out helpful warnings if there are conflicting shortcuts within shortcut groups in the provided UberClique .
function: def GenerateDuplicateShortcutsWarnings(uberclique, tc_project):
    '''Given an UberClique and a project name, will print out helpful warnings
    if there are conflicting shortcuts within shortcut groups in the provided
    UberClique.
  
    Args:
      uberclique: clique.UberClique()
      tc_project: 'MyProjectNameInTheTranslationConsole'
  
    Returns:
      ['warning line 1', 'warning line 2', ...]
    '''
    warnings = []
    groups = {}
    for c in uberclique.AllCliques():
      for group in c.shortcut_groups:
        if group not in groups:
          groups[group] = ShortcutGroup(group)
        groups[group].AddClique(c)
    for group in groups.values():
      warnings += group.GenerateWarnings(tc_project)
    return warnings
function_tokens: def GenerateDuplicateShortcutsWarnings ( uberclique , tc_project ) : warnings = [ ] groups = { } for c in uberclique . AllCliques ( ) : for group in c . shortcut_groups : if group not in groups : groups [ group ] = ShortcutGroup ( group ) groups [ group ] . AddClique ( c ) for group in groups . values ( ) : warnings += group . GenerateWarnings ( tc_project ) return warnings