Skip to content

Commit

Permalink
Update example explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Mar 11, 2024
1 parent cab4e9b commit 2e9866c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,15 +278,15 @@ This behaves similarly to the [msgmerge](https://www.gnu.org/software/gettext/ma

**EXAMPLES**

# Update all PO files from a POT file in the same directory.
# Update all PO files from a POT file in the current directory.
$ wp i18n update-po example-plugin.pot
Success: Updated 3 files.

# Update a PO file from a POT file.
$ wp i18n update-po example-plugin.pot example-plugin-de_DE.po
Success: Updated 1 file.

# Update all PO files from a POT file in the specific directory.
# Update all PO files in a given directory from a POT file.
$ wp i18n update-po example-plugin.pot languages
Success: Updated 2 files.

Expand Down
4 changes: 2 additions & 2 deletions src/UpdatePoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ class UpdatePoCommand extends WP_CLI_Command {
*
* ## EXAMPLES
*
* # Update all PO files from a POT file in the same directory.
* # Update all PO files from a POT file in the current directory.
* $ wp i18n update-po example-plugin.pot
* Success: Updated 3 files.
*
* # Update a PO file from a POT file.
* $ wp i18n update-po example-plugin.pot example-plugin-de_DE.po
* Success: Updated 1 file.
*
* # Update all PO files from a POT file in the specific directory.
* # Update all PO files in a given directory from a POT file.
* $ wp i18n update-po example-plugin.pot languages
* Success: Updated 2 files.
*
Expand Down

0 comments on commit 2e9866c

Please sign in to comment.