Skip to content

Commit 4e95502

Browse files
committed
Retrieving Translation Strings "__"
1 parent 15ac1b0 commit 4e95502

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)