#35499 closed enhancement (fixed)
Add the ability to parse a whole directory with add-textdomain.php
Reported by: | iamntz | Owned by: | ocean90 |
---|---|---|---|
Milestone: | WordPress.org | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | has-patch |
Focuses: | Cc: |
Description
Just like the title says: currently the add-textdomain.php tool doesn't allows anything but single files. This patch will detect if the passed argument is either a file or a directory and it will act accordingly.
Attachments (1)
Change History (6)
#1
@
9 years ago
- Component changed from I18N to Build/Test Tools
- Keywords has-patch needs-testing added
- Milestone changed from Awaiting Review to Future Release
- Version trunk deleted
#3
@
9 years ago
- Owner set to ocean90
- Resolution set to fixed
- Status changed from new to closed
In 36600:
#4
@
9 years ago
- Keywords needs-testing removed
- Milestone changed from Future Release to WordPress.org
Thanks @iamntz. Adjusted the code a bit because SplFileInfo
(http://php.net/manual/en/class.splfileinfo.php) includes the extension already. Take also a look at our coding standards.
Note: See
TracTickets for help on using
tickets.
@nbachiyski and @ocean90 as the resident Internationalization specialists, can you take a look at this?