Skip to content
Snippets Groups Projects
  1. Feb 09, 2016
  2. Feb 05, 2016
  3. Jan 14, 2016
    • Hanne Moa's avatar
      Fixed comments from previous pull-request · 6492ce36
      Hanne Moa authored
      6492ce36
    • Hanne Moa's avatar
      Refactor SimpleSAML_XHTML_Template · d2759355
      Hanne Moa authored
      A template now has a translator-object, SimpleSAML_Locale_Translate.
      This handles the existing translation system.
      
      The translator has a language-object, SimpleSAML_Locale_Language. This
      handles discovery and switching of locale.
      
      SimpleSAML_XHTML_Template has several methods that are wrapped
      translator-methods:
      
      t()
      isLanguageRTL()
      getLanguageList()
      getTranslation()
      
      This way it isn't necessary to change much of the existing system.
      d2759355
Loading