mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
mv: move a string in fluent
This commit is contained in:
parent
1d20d71dc2
commit
6acfbf229d
3 changed files with 3 additions and 3 deletions
|
|
@ -16,6 +16,7 @@ mv-after-help = When specifying more than one of -i, -f, -n, only the final one
|
|||
- older This is the default operation when --update is specified, and results in files being replaced if they’re older than the corresponding source file.
|
||||
|
||||
# Error messages
|
||||
mv-error-insufficient-arguments = The argument '<{$arg_files}>...' requires at least 2 values, but only 1 was provided
|
||||
mv-error-no-such-file = cannot stat {$path}: No such file or directory
|
||||
mv-error-cannot-stat-not-directory = cannot stat {$path}: Not a directory
|
||||
mv-error-same-file = {$source} and {$target} are the same file
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ mv-after-help = Lors de la spécification de plus d'une option parmi -i, -f, -n,
|
|||
- older C'est l'opération par défaut quand --update est spécifié, et résulte en des fichiers étant remplacés s'ils sont plus anciens que le fichier source correspondant.
|
||||
|
||||
# Messages d'erreur
|
||||
mv-error-insufficient-arguments = L'argument '<{$arg_files}>...' nécessite au moins 2 valeurs, mais seulement 1 a été fournie
|
||||
mv-error-no-such-file = impossible de lire {$path} : Aucun fichier ou répertoire de ce nom
|
||||
mv-error-cannot-stat-not-directory = impossible de lire {$path} : N'est pas un répertoire
|
||||
mv-error-same-file = {$source} et {$target} sont le même fichier
|
||||
|
|
|
|||
|
|
@ -163,9 +163,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
|||
if files.len() == 1 && !matches.contains_id(OPT_TARGET_DIRECTORY) {
|
||||
app.error(
|
||||
ErrorKind::TooFewValues,
|
||||
format!(
|
||||
"The argument '<{ARG_FILES}>...' requires at least 2 values, but only 1 was provided"
|
||||
),
|
||||
translate!("mv-error-insufficient-arguments", "arg_files" => ARG_FILES),
|
||||
)
|
||||
.exit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue