renamed translations.fallback property

This commit is contained in:
Andy Miller
2015-07-24 08:08:50 -06:00
parent bb69656bd7
commit 7a2fceaee9

View File

@@ -295,7 +295,7 @@ class Language
if ($this->config->get('system.languages.translations', true)) {
if ($this->enabled() && $lookup) {
if (empty($languages)) {
if ($this->config->get('system.languages.translations.fallback', true)) {
if ($this->config->get('system.languages.translations_fallback', true)) {
$languages = $this->getFallbackLanguages();
} else {
$languages = (array)$this->getDefault();
@@ -335,7 +335,7 @@ class Language
if ($this->config->get('system.languages.translations', true)) {
if ($this->enabled() && $key) {
if (empty($languages)) {
if ($this->config->get('system.languages.translations.fallback', true)) {
if ($this->config->get('system.languages.translations_fallback', true)) {
$languages = $this->getFallbackLanguages();
} else {
$languages = (array)$this->getDefault();