|
@@ 59-66 (lines=8) @@
|
| 56 |
|
*/ |
| 57 |
|
protected function loadSystemOverrides(array $lines, $locale, $group, $namespace) |
| 58 |
|
{ |
| 59 |
|
if ($namespace == 'streams') { |
| 60 |
|
$file = base_path("resources/streams/lang/{$locale}/{$group}.php"); |
| 61 |
|
|
| 62 |
|
if ($this->files->exists($file)) { |
| 63 |
|
$lines = array_replace_recursive($lines, $this->files->getRequire($file)); |
| 64 |
|
} |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
if (str_is('*.*.*', $namespace)) { |
| 68 |
|
list($vendor, $type, $slug) = explode('.', $namespace); |
| 69 |
|
|
|
@@ 91-98 (lines=8) @@
|
| 88 |
|
*/ |
| 89 |
|
protected function loadApplicationOverrides(array $lines, $locale, $group, $namespace) |
| 90 |
|
{ |
| 91 |
|
if ($namespace == 'streams') { |
| 92 |
|
$file = $this->application->getResourcesPath("streams/lang/{$locale}/{$group}.php"); |
| 93 |
|
|
| 94 |
|
if ($this->files->exists($file)) { |
| 95 |
|
$lines = array_replace_recursive($lines, $this->files->getRequire($file)); |
| 96 |
|
} |
| 97 |
|
} |
| 98 |
|
|
| 99 |
|
if (str_is('*.*.*', $namespace)) { |
| 100 |
|
list($vendor, $type, $slug) = explode('.', $namespace); |
| 101 |
|
|