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 af1d1cf commit 3fcec0fCopy full SHA for 3fcec0f
2 files changed
CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
8
Previous releases are documented in [github releases](https://github.com/oscarotero/Gettext/releases)
9
10
+## [5.4.0] - Unreleased
11
+### Added
12
+- Added `_` function to the list of functions scanned by default
13
+
14
## [5.3.0] - 2020-02-18
15
### Added
16
- `Comments::delete()` and `Flags::delete()` methods [#247]
src/Scanner/CodeScanner.php
@@ -18,6 +18,7 @@ abstract class CodeScanner extends Scanner
18
19
protected $functions = [
20
'gettext' => 'gettext',
21
+ '_' => 'gettext',
22
'__' => 'gettext',
23
'ngettext' => 'ngettext',
24
'n__' => 'ngettext',
0 commit comments