scripts: remove incorrect mention of POSIX Locale (#22629)

This commit is contained in:
Daniel Tang
2026-06-05 05:37:36 +03:00
committed by GitHub
parent a5a010fd61
commit 8899c2790c
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ def get_locale(path: Path) -> str:
path (Path): the path to extract the locale.
Returns:
str: a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
str: a language in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
"""
# compute locale
+1 -1
View File
@@ -24,7 +24,7 @@ Options:
-S, --sync
Synchronize each translation's alias page (if exists) with that of the English page.
-l, --language LANGUAGE
Specify the language, a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
Specify the language in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
-s, --stage
Stage modified pages (requires 'git' on $PATH and TLDR_ROOT to be a Git repository).
-n, --dry-run
+1 -1
View File
@@ -16,7 +16,7 @@ Options:
-S, --sync
Synchronize each translation's "More information" link (if exists) with that of the English page.
-l, --language LANGUAGE
Specify the language, a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
Specify the language in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
-s, --stage
Stage modified pages (requires 'git' on $PATH and TLDR_ROOT to be a Git repository).
-n, --dry-run
+1 -1
View File
@@ -16,7 +16,7 @@ Options:
-S, --sync
Synchronize each translation's title (if exists) with that of the English page.
-l, --language LANGUAGE
Specify the language, a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
Specify the language in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
-s, --stage
Stage modified pages (requires 'git' on $PATH and TLDR_ROOT to be a Git repository).
-n, --dry-run
+1 -1
View File
@@ -16,7 +16,7 @@ Options:
-S, --sync
Synchronize each translation's "See also" section (if exists) with that of the English page.
-l, --language LANGUAGE
Specify the language, a POSIX Locale Name in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
Specify the language in the form of "ll" or "ll_CC" (e.g. "fr" or "pt_BR").
-s, --stage
Stage modified pages (requires 'git' on $PATH and TLDR_ROOT to be a Git repository).
-n, --dry-run