diff --git a/src/Manager.php b/src/Manager.php index 61f035eb..899037fc 100644 --- a/src/Manager.php +++ b/src/Manager.php @@ -100,7 +100,7 @@ public function findTranslations($path = null) { $path = $path ?: base_path(); $keys = array(); - $functions = array('trans', 'trans_choice', 'Lang::get', 'Lang::choice', 'Lang::trans', 'Lang::transChoice', '@lang', '@choice', 'transEditable'); + $functions = array('trans', 'trans_choice', 'Lang::get', 'Lang::choice', 'Lang::trans', 'Lang::transChoice', '@lang', '@choice', 'transEditable', '__'); $pattern = // See http://regexr.com/392hu "[^\w|>]". // Must not have an alphanum or _ or > before real method "(".implode('|', $functions) .")". // Must start with one of the functions