We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec96f3 commit 06fb5aeCopy full SHA for 06fb5ae
src/Commands/MissingCommand.php
@@ -122,15 +122,13 @@ private function getDefaultValue($missingKey)
122
private function getTranslationInDefaultLocaleFor($missingKey)
123
{
124
try {
125
-
126
list($langKey, $lang) = explode(':', $missingKey);
127
128
list($file, $key) = explode('.', $langKey);
129
130
$filePath = $this->manager->files()[$file][config('app.locale')];
131
132
- return config('app.locale') . ":{$this->manager->getFileContent($filePath)[$key]}";
133
+ return config('app.locale') . ":{$this->manager->getFileContent($filePath)[$key]}";
134
} catch (\Exception $e) {
135
return "Sorry. File Language not exists for default locale.";
136
}
0 commit comments