Skip to content
Snippets Groups Projects
Forked from Development / CiviCRM Core
Source project has a limited visibility.
  • totten's avatar
    d9aa1c6b
    CRM-13580 - ts - Set the default translation domain based on $extensionKey · d9aa1c6b
    totten authored
    Reset $extensionKey when loading each file. This puts the onus on developers
    to set the extensionKey once in each file using {assign} or {tsScope}, but
    it prevents the extension key from leaking unintentionally to other files,
    and it allows developers to handle weird situations explicitly.
    
    (Example weird situation -- using one extension to override another
    extension's template; or having multiple extensions share a common
    translation key.)
    
    ----------------------------------------
    * CRM-13580: Set translation domain implicitly in extensions
      http://issues.civicrm.org/jira/browse/CRM-13580
    d9aa1c6b
    History
    CRM-13580 - ts - Set the default translation domain based on $extensionKey
    totten authored
    Reset $extensionKey when loading each file. This puts the onus on developers
    to set the extensionKey once in each file using {assign} or {tsScope}, but
    it prevents the extension key from leaking unintentionally to other files,
    and it allows developers to handle weird situations explicitly.
    
    (Example weird situation -- using one extension to override another
    extension's template; or having multiple extensions share a common
    translation key.)
    
    ----------------------------------------
    * CRM-13580: Set translation domain implicitly in extensions
      http://issues.civicrm.org/jira/browse/CRM-13580