aboutsummaryrefslogtreecommitdiff
path: root/cli/manipulate.translation.php
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2021-10-25 20:27:42 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-25 20:27:42 +0200
commit33cac3e6954d13ee95f09f69f89d99e8370daed8 (patch)
treeaeb90163d3237ab32740ffba7f120e857f5fb3db /cli/manipulate.translation.php
parent6660a2dded3995499e466e92e3dd0f503eb3db49 (diff)
Update manipulate.translation.php (#3936)
Diffstat (limited to 'cli/manipulate.translation.php')
-rwxr-xr-xcli/manipulate.translation.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/cli/manipulate.translation.php b/cli/manipulate.translation.php
index 58cf66e7d..1e9de4385 100755
--- a/cli/manipulate.translation.php
+++ b/cli/manipulate.translation.php
@@ -119,36 +119,36 @@ DESCRIPTION
-r revert the action (only for ignore action)
-o=LANG select the origin language (only for add language action)
-EXEMPLE
-Exemple 1: add a language. It adds a new language by duplicating the referential.
+EXAMPLES
+Example 1: add a language. It adds a new language by duplicating the referential.
php %1\$s -a add -l my_lang
php %1\$s -a add -l my_lang -o ref_lang
-Exemple 2: add a new key. It adds the key for all supported languages.
+Example 2: add a new key. It adds the key for all supported languages.
php %1\$s -a add -k my_key -v my_value
-Exemple 3: add a new value. It adds a new value for the selected key in the selected language.
+Example 3: add a new value. It adds a new value for the selected key in the selected language.
php %1\$s -a add -k my_key -v my_value -l my_lang
-Exemple 4: delete a key. It deletes the selected key from all supported languages.
+Example 4: delete a key. It deletes the selected key from all supported languages.
php %1\$s -a delete -k my_key
-Exemple 5: format i18n files.
+Example 5: format i18n files.
php %1\$s -a format
-Exemple 6: ignore a key. It adds the key in the ignore file to mark it as translated.
+Example 6: ignore a key. It adds the key in the ignore file to mark it as translated.
php %1\$s -a ignore -k my_key -l my_lang
-Exemple 7: revert ignore a key. It removes the key from the ignore file.
+Example 7: revert ignore a key. It removes the key from the ignore file.
php %1\$s -a ignore -r -k my_key -l my_lang
-Exemple 8: ignore all unmodified keys. It adds all modified keys in the ignore file to mark it as translated.
+Example 8: ignore all unmodified keys. It adds all modified keys in the ignore file to mark it as translated.
php %1\$s -a ignore_unmodified -l my_lang
-Exemple 9: revert ignore of all unmodified keys. It removes the unmodified keys from the ignore file. Warning, this will also revert keys added individually.
+Example 9: revert ignore of all unmodified keys. It removes the unmodified keys from the ignore file. Warning, this will also revert keys added individually.
php %1\$s -a ignore_unmodified -r -l my_lang
-Exemple 10: check if a key exist.
+Example 10: check if a key exist.
php %1\$s -a exist -k my_key\n\n
HELP;