From 9ce83d287aac83fe49dc7f8bca7db8f3b59fc00e Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Mon, 10 May 2021 10:13:24 +0000 Subject: [PATCH] Regenerate README file - 2021-05-10 --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82253b6c..7a608c03 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ wp-cli/i18n-command Provides internationalization tools for WordPress projects. -[![Build Status](https://travis-ci.org/wp-cli/i18n-command.svg?branch=master)](https://travis-ci.org/wp-cli/i18n-command) +[![Testing](https://github.com/wp-cli/i18n-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/i18n-command/actions/workflows/testing.yml) Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support) @@ -31,7 +31,7 @@ wp i18n Create a POT file for a WordPress project. ~~~ -wp i18n make-pot [] [--slug=] [--domain=] [--ignore-domain] [--merge[=]] [--subtract=] [--include=] [--exclude=] [--headers=] [--skip-js] [--skip-audit] [--file-comment=] [--package-name=] +wp i18n make-pot [] [--slug=] [--domain=] [--ignore-domain] [--merge[=]] [--subtract=] [--include=] [--exclude=] [--headers=] [--skip-js] [--skip-php] [--skip-block-json] [--skip-audit] [--file-comment=] [--package-name=] ~~~ Scans PHP and JavaScript files for translatable strings, as well as theme stylesheets and plugin files @@ -86,6 +86,12 @@ if the source directory is detected as either a plugin or theme. [--skip-js] Skips JavaScript string extraction. Useful when this is done in another build step, e.g. through Babel. + [--skip-php] + Skips PHP string extraction. + + [--skip-block-json] + Skips string extraction from block.json files. + [--skip-audit] Skips string audit where it tries to find possible mistakes in translatable strings. Useful when running in an automated environment. @@ -190,7 +196,7 @@ Once you've decided to commit the time to seeing your pull request through, [ple ## Support -Github issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support +GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support *This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*