Skip to content

Latest commit

 

History

History
118 lines (72 loc) · 4.9 KB

CHANGELOG.md

File metadata and controls

118 lines (72 loc) · 4.9 KB

Changelog

1.0.3

  • Updated the node-wp-i18n dependency to 1.2.2 to fix an issue with updateTimestamp: false. See #76

1.0.2

  • Updated the node-wp-i18n dependency to version 1.0.5 to prevent deprecated notices in PHP 7.2+. See #75

1.0.1

  • Updated npm dependencies.

1.0.0

  • Abstracted the core functionality into node-wp-i18n and simplified the Grunt tasks.
  • Dropped support for using a custom path for the WP i18n PHP tools.

0.5.4

  • Updated PHP4-style constructors in the PHP library. Props @andyreg
  • Updated peer dependencies to support Grunt 1.0. See #65

0.5.3

  • Fixed the --dry-run option when running the addtextdomain task. See #54
  • Updated msgid-bugs-address URLs to HTTPS. Props @ntwp
  • Fixed regex to update multiple X-Poedit-SearchPath and X-Poedit-SearchPathExcluded headers. Props @walbo

0.5.2

  • Stopped the PHP script from scanning files in excluded directories when running the makepot task. See #52

0.5.1

  • Merged upstream changes to provide better support for multiline translators comments. Props @ntwp

0.5.0

  • Added tasks descriptions. Props @shivapoudel
  • Made POT header keys case-insenstive.
  • Added msgmerge support to the makepot task for updating PO files. Props @atimmer
  • Pulled in upstream changes to WP i18n tools.
  • Allow updateDomains: true in the addtextdomain task to update all text domains in a project.
  • Simplified makepot task output.

0.4.9

  • Fixed a bug causing the addtextdomain task to finish early.

0.4.8

  • Introduced the potHeaders.poedit and potHeaders['x-poedit-keywordslist'] options to include common Poedit headers. Props @defries & @GaryJones.
  • Fixed capitalization of the X-Poedit-SearchPathExcluded-0 header. Props @GaryJones.
  • Added a --dry-run switch to the addtextdomain task to view replacements in stdout instead of updating files.

0.4.7

  • Added an includes option for the makepot task to specify which files should be scanned. Props @claudiosmweb.
  • Added an updateDomains option for the addtextdomain task to allow a list of specified text domains to be replaced with a new text domain.

0.4.6

  • Fixed an issue with replacing comment headers when using external i18n tools.

0.4.5

  • Introduced the potHeaders option for defining headers without using the processPot callback.
  • Added an X-Generator header.
  • Added a method to fix case-sensitive Poedit headers.
  • Changed date() calls to gmdate() in the PHP tools to prevent error messages when date.timezone isn't set in php.ini.

0.4.4

  • Added the potComments option to change the copyright message.
  • Added the updateTimestamp option to prevent the POT-Creation-Header from being updated if there aren't any other changes in the POT file.
  • Updated the addtextdomain task to adhere to the WordPress coding standards when inserting a text domain. Props @GaryJones.

0.4.3

  • Re-tag updates from 0.4.2 that didn't get added to the release.

0.4.2

  • Added the processPot option to specify a callback for advanced manipulation of the POT file after it's been generated.

0.4.1

  • Cleaned up strict errors and applied basic coding standards to the WP i18n tools. Props @grappler.
  • Incorporated upstream improvements for finding the main plugin file.

0.4.0

  • Added an exclude option to ignore strings in specified directories or files.
  • Set the current working directory based on the cwd option. All options should be relative to cwd.
  • Fixed the searching process in wordpress.getMainFile() if the standard main file can't be found.
  • Attempt to prevent an error in the CLI tools if the main plugin file name doesn't match the guessed slug.
  • Added some basic tests.

0.3.1

  • Fixed a bug where the text domain wasn't properly guessed in subdirectories if the Text Domain header didn't exist.
  • Moved all the makepot functionality into a single task.

0.3.0

  • Added the addtextdomain task.

0.2.0

  • Forked and bundled the WordPress i18n tools so they no longer need to be downloaded separately.
  • Removed the gettext dependency by relying on the gettext-parser package to remove duplicate strings in POT files.
  • Fixed the wp.slugify() method to properly guess the project slug when in an SVN repo.

0.1.0

  • Initial release.