mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
l10n: port false to translation + add french
This commit is contained in:
parent
a769fc7904
commit
63fca1d587
3 changed files with 12 additions and 2 deletions
|
@ -3,3 +3,6 @@ false-about = Returns false, an unsuccessful exit status.
|
||||||
Immediately returns with the exit status 1. When invoked with one of the recognized options it
|
Immediately returns with the exit status 1. When invoked with one of the recognized options it
|
||||||
will try to write the help or version text. Any IO error during this operation is diagnosed, yet
|
will try to write the help or version text. Any IO error during this operation is diagnosed, yet
|
||||||
the program will also return 1.
|
the program will also return 1.
|
||||||
|
|
||||||
|
false-help-text = Print help information
|
||||||
|
false-version-text = Print version information
|
||||||
|
|
7
src/uu/false/locales/fr-FR.ftl
Normal file
7
src/uu/false/locales/fr-FR.ftl
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
false-about = Renvoie false, un code de sortie indiquant un échec.
|
||||||
|
|
||||||
|
Retourne immédiatement avec le code de sortie 1. Lorsqu'il est invoqué avec l'une des options reconnues,
|
||||||
|
il tente d'afficher l'aide ou la version. Toute erreur d'entrée/sortie pendant cette opération est signalée,
|
||||||
|
mais le programme retourne également 1.
|
||||||
|
false-help-text = Afficher l'aide
|
||||||
|
false-version-text = Afficher les informations de version
|
|
@ -52,13 +52,13 @@ pub fn uu_app() -> Command {
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("help")
|
Arg::new("help")
|
||||||
.long("help")
|
.long("help")
|
||||||
.help("Print help information")
|
.help(get_message("false-help-text"))
|
||||||
.action(ArgAction::Help),
|
.action(ArgAction::Help),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("version")
|
Arg::new("version")
|
||||||
.long("version")
|
.long("version")
|
||||||
.help("Print version information")
|
.help(get_message("false-version-text"))
|
||||||
.action(ArgAction::Version),
|
.action(ArgAction::Version),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue