1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

l10n: port true to translation + add french

This commit is contained in:
Sylvestre Ledru 2025-06-07 19:03:31 +02:00 committed by Sylvestre Ledru
parent a769fc7904
commit 84b60f4487
3 changed files with 13 additions and 2 deletions

View file

@ -3,3 +3,6 @@ true-about = Returns true, a successful exit status.
Immediately returns with the exit status 0, except when invoked with one of the recognized
options. In those cases it will try to write the help or version text. Any IO error during this
operation causes the program to return 1 instead.
true-help-text = Print help information
true-version-text = Print version information

View file

@ -0,0 +1,8 @@
true-about = Renvoie true, un code de sortie indiquant le succès.
Retourne immédiatement avec le code de sortie 0, sauf si l'une des options reconnues est utilisée.
Dans ce cas, il essaiera d'afficher l'aide ou la version. Une erreur d'entrée/sortie pendant cette
opération entraîne un retour avec le code de sortie 1.
true-help-text = Afficher l'aide
true-version-text = Afficher les informations de version

View file

@ -49,13 +49,13 @@ pub fn uu_app() -> Command {
.arg(
Arg::new("help")
.long("help")
.help("Print help information")
.help(get_message("true-help-text"))
.action(ArgAction::Help),
)
.arg(
Arg::new("version")
.long("version")
.help("Print version information")
.help(get_message("true-version-text"))
.action(ArgAction::Version),
)
}