title: cannot call a function before it is defined
body: <p>When I run:</p>
  
  <pre><code>if language == "":
      language = t(30009)
  
  # Translation util
  def t(string_number):
      plugin       = xbmcaddon.Addon("plugin.video.jworg")
      return plugin.getLocalizedString(string_number)
  </code></pre>
  
  <p>I get:</p>
  
  <blockquote>
    <p>NameError: name 't' is not defined</p>
  </blockquote>