Skip to content

Commit 2e1c034

Browse files
authored
Merge pull request #66 from phainv/5.4-support
Retrieving Translation Strings "__". 5.4 support
2 parents 15ac1b0 + 4e95502 commit 2e1c034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public function getAllViewFilesWithTranslations()
308308
*
309309
* https://github.com/barryvdh/laravel-translation-manager/blob/master/src/Manager.php
310310
*/
311-
$functions = ['trans', 'trans_choice', 'Lang::get', 'Lang::choice', 'Lang::trans', 'Lang::transChoice', '@lang', '@choice'];
311+
$functions = ['__', 'trans', 'trans_choice', 'Lang::get', 'Lang::choice', 'Lang::trans', 'Lang::transChoice', '@lang', '@choice'];
312312

313313
$pattern =
314314
// See https://regex101.com/r/jS5fX0/4

0 commit comments

Comments
 (0)