mirror of
https://github.com/tldr-pages/tldr
synced 2026-08-26 14:13:36 +01:00
scripts: remove incorrect mention of POSIX Locale (#22629)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user