/**
* Gets the locale sources for a given locale.
*
* @param string $locale The name of the locale.
* @return array Returns an array of paths to the translations for the locale.
* @deprecated Use the {@link AddonManager} for this.
*/
public function getLocaleSources($locale)
{
deprecated('Gdn_PluginManager->getLocaleSources()', 'AddonManager->getEnabledLocaleSources()');
$result = $this->addonManager->getEnabledTranslationPaths($locale);
return $result;
}