Fixes 675 - Add |trans (Lang::get) and |transchoice (Lang::choice) filters
This commit is contained in:
parent
3836a9b8d7
commit
543f1616b7
|
|
@ -213,6 +213,8 @@ class ServiceProvider extends ModuleServiceProvider
|
|||
'snake' => ['Str', 'snake'],
|
||||
'camel' => ['Str', 'camel'],
|
||||
'studly' => ['Str', 'studly'],
|
||||
'trans' => ['Lang', 'get'],
|
||||
'transchoice' => ['Lang', 'choice'],
|
||||
'md' => ['October\Rain\Support\Markdown', 'parse'],
|
||||
]);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue