Skip to content

Commit d45f07b

Browse files
committed
add uucore locale files
1 parent c36ab2b commit d45f07b

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

src/uucore/locales/en-US.ftl

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Common strings shared across all uutils commands
2+
# Mostly clap
3+
4+
# Generic words
5+
common-error = error
6+
common-tip = tip
7+
common-usage = Usage
8+
common-help = help
9+
common-version = version
10+
11+
# Common clap error messages
12+
clap-error-unexpected-argument = { $error_word }: unexpected argument '{ $arg }' found
13+
clap-error-similar-argument = { $tip_word }: a similar argument exists: '{ $suggestion }'
14+
clap-error-pass-as-value = { $tip_word }: to pass '{ $arg }' as a value, use '{ $tip_command }'
15+
clap-error-invalid-value = { $error_word }: invalid value '{ $value }' for '{ $option }'
16+
clap-error-value-required = { $error_word }: a value is required for '{ $option }' but none was supplied
17+
clap-error-possible-values = possible values
18+
clap-error-help-suggestion = For more information, try '{ $command } --help'.
19+
common-help-suggestion = For more information, try '--help'.
20+
21+
# Common help text patterns
22+
help-flag-help = Print help information
23+
help-flag-version = Print version information
24+
25+
# Common error contexts
26+
error-io = I/O error
27+
error-permission-denied = Permission denied
28+
error-file-not-found = No such file or directory
29+
error-invalid-argument = Invalid argument
30+
31+
# Common actions
32+
action-copying = copying
33+
action-moving = moving
34+
action-removing = removing
35+
action-creating = creating
36+
action-reading = reading
37+
action-writing = writing

src/uucore/locales/fr-FR.ftl

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Chaînes communes partagées entre toutes les commandes uutils
2+
# Principalement pour clap
3+
4+
# Mots génériques
5+
common-error = erreur
6+
common-tip = conseil
7+
common-usage = Utilisation
8+
common-help = aide
9+
common-version = version
10+
11+
# Messages d'erreur clap communs
12+
clap-error-unexpected-argument = { $error_word } : argument inattendu '{ $arg }' trouvé
13+
clap-error-similar-argument = { $tip_word } : un argument similaire existe : '{ $suggestion }'
14+
clap-error-pass-as-value = { $tip_word } : pour passer '{ $arg }' comme valeur, utilisez '{ $tip_command }'
15+
clap-error-invalid-value = { $error_word } : valeur invalide '{ $value }' pour '{ $option }'
16+
clap-error-value-required = { $error_word } : une valeur est requise pour '{ $option }' mais aucune n'a été fournie
17+
clap-error-possible-values = valeurs possibles
18+
clap-error-help-suggestion = Pour plus d'informations, essayez '{ $command } --help'.
19+
common-help-suggestion = Pour plus d'informations, essayez '--help'.
20+
21+
# Modèles de texte d'aide communs
22+
help-flag-help = Afficher les informations d'aide
23+
help-flag-version = Afficher les informations de version
24+
25+
# Contextes d'erreur communs
26+
error-io = Erreur E/S
27+
error-permission-denied = Permission refusée
28+
error-file-not-found = Aucun fichier ou répertoire de ce type
29+
error-invalid-argument = Argument invalide
30+
31+
# Actions communes
32+
action-copying = copie
33+
action-moving = déplacement
34+
action-removing = suppression
35+
action-creating = création
36+
action-reading = lecture
37+
action-writing = écriture

0 commit comments

Comments
 (0)