Skip to content

Commit a5fae89

Browse files
committed
l10n: port chcon to translation + add french
1 parent 320dcd1 commit a5fae89

File tree

4 files changed

+322
-110
lines changed

4 files changed

+322
-110
lines changed

src/uu/chcon/locales/en-US.ftl

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,56 @@ chcon-about = Change the SELinux security context of each FILE to CONTEXT.
33
chcon-usage = chcon [OPTION]... CONTEXT FILE...
44
chcon [OPTION]... [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] FILE...
55
chcon [OPTION]... --reference=RFILE FILE...
6+
7+
# Help messages
8+
chcon-help-help = Print help information.
9+
chcon-help-dereference = Affect the referent of each symbolic link (this is the default), rather than the symbolic link itself.
10+
chcon-help-no-dereference = Affect symbolic links instead of any referenced file.
11+
chcon-help-preserve-root = Fail to operate recursively on '/'.
12+
chcon-help-no-preserve-root = Do not treat '/' specially (the default).
13+
chcon-help-reference = Use security context of RFILE, rather than specifying a CONTEXT value.
14+
chcon-help-user = Set user USER in the target security context.
15+
chcon-help-role = Set role ROLE in the target security context.
16+
chcon-help-type = Set type TYPE in the target security context.
17+
chcon-help-range = Set range RANGE in the target security context.
18+
chcon-help-recursive = Operate on files and directories recursively.
19+
chcon-help-follow-arg-dir-symlink = If a command line argument is a symbolic link to a directory, traverse it. Only valid when -R is specified.
20+
chcon-help-follow-dir-symlinks = Traverse every symbolic link to a directory encountered. Only valid when -R is specified.
21+
chcon-help-no-follow-symlinks = Do not traverse any symbolic links (default). Only valid when -R is specified.
22+
chcon-help-verbose = Output a diagnostic for every file processed.
23+
24+
# Error messages - basic validation
25+
chcon-error-no-context-specified = No context is specified
26+
chcon-error-no-files-specified = No files are specified
27+
chcon-error-data-out-of-range = Data is out of range
28+
chcon-error-operation-failed = { $operation } failed
29+
chcon-error-operation-failed-on = { $operation } failed on { $operand }
30+
31+
# Error messages - argument validation
32+
chcon-error-invalid-context = Invalid security context '{ $context }'.
33+
chcon-error-recursive-no-dereference-require-p = '--recursive' with '--no-dereference' require '-P'
34+
chcon-error-recursive-dereference-require-h-or-l = '--recursive' with '--dereference' require either '-H' or '-L'
35+
36+
# Operation strings for error context
37+
chcon-op-getting-security-context = Getting security context
38+
chcon-op-file-name-validation = File name validation
39+
chcon-op-getting-meta-data = Getting meta data
40+
chcon-op-modifying-root-path = Modifying root path
41+
chcon-op-accessing = Accessing
42+
chcon-op-reading-directory = Reading directory
43+
chcon-op-reading-cyclic-directory = Reading cyclic directory
44+
chcon-op-applying-partial-context = Applying partial security context to unlabeled file
45+
chcon-op-creating-security-context = Creating security context
46+
chcon-op-setting-security-context-user = Setting security context user
47+
chcon-op-setting-security-context = Setting security context
48+
49+
# Verbose output
50+
chcon-verbose-changing-context = { $util_name }: changing security context of { $file }
51+
52+
# Warning messages
53+
chcon-warning-dangerous-recursive-root = It is dangerous to operate recursively on '/'. Use --{ $option } to override this failsafe.
54+
chcon-warning-dangerous-recursive-dir = It is dangerous to operate recursively on { $dir } (same as '/'). Use --{ $option } to override this failsafe.
55+
chcon-warning-circular-directory = Circular directory structure.
56+
This almost certainly means that you have a corrupted file system.
57+
NOTIFY YOUR SYSTEM MANAGER.
58+
The following directory is part of the cycle { $file }.

src/uu/chcon/locales/fr-FR.ftl

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
chcon-about = Changer le contexte de sécurité SELinux de chaque FICHIER vers CONTEXTE.
2+
Avec --reference, changer le contexte de sécurité de chaque FICHIER vers celui de RFICHIER.
3+
chcon-usage = chcon [OPTION]... CONTEXTE FICHIER...
4+
chcon [OPTION]... [-u UTILISATEUR] [-r RÔLE] [-l PLAGE] [-t TYPE] FICHIER...
5+
chcon [OPTION]... --reference=RFICHIER FICHIER...
6+
7+
# Messages d'aide
8+
chcon-help-help = Afficher les informations d'aide.
9+
chcon-help-dereference = Affecter la cible de chaque lien symbolique (par défaut), plutôt que le lien symbolique lui-même.
10+
chcon-help-no-dereference = Affecter les liens symboliques au lieu de tout fichier référencé.
11+
chcon-help-preserve-root = Échouer lors de l'opération récursive sur '/'.
12+
chcon-help-no-preserve-root = Ne pas traiter '/' spécialement (par défaut).
13+
chcon-help-reference = Utiliser le contexte de sécurité de RFICHIER, plutôt que de spécifier une valeur CONTEXTE.
14+
chcon-help-user = Définir l'utilisateur UTILISATEUR dans le contexte de sécurité cible.
15+
chcon-help-role = Définir le rôle RÔLE dans le contexte de sécurité cible.
16+
chcon-help-type = Définir le type TYPE dans le contexte de sécurité cible.
17+
chcon-help-range = Définir la plage PLAGE dans le contexte de sécurité cible.
18+
chcon-help-recursive = Opérer sur les fichiers et répertoires de manière récursive.
19+
chcon-help-follow-arg-dir-symlink = Si un argument de ligne de commande est un lien symbolique vers un répertoire, le traverser. Valide uniquement quand -R est spécifié.
20+
chcon-help-follow-dir-symlinks = Traverser chaque lien symbolique vers un répertoire rencontré. Valide uniquement quand -R est spécifié.
21+
chcon-help-no-follow-symlinks = Ne traverser aucun lien symbolique (par défaut). Valide uniquement quand -R est spécifié.
22+
chcon-help-verbose = Afficher un diagnostic pour chaque fichier traité.
23+
24+
# Messages d'erreur - validation de base
25+
chcon-error-no-context-specified = Aucun contexte n'est spécifié
26+
chcon-error-no-files-specified = Aucun fichier n'est spécifié
27+
chcon-error-data-out-of-range = Données hors limites
28+
chcon-error-operation-failed = { $operation } a échoué
29+
chcon-error-operation-failed-on = { $operation } a échoué sur { $operand }
30+
31+
# Messages d'erreur - validation des arguments
32+
chcon-error-invalid-context = Contexte de sécurité invalide '{ $context }'.
33+
chcon-error-recursive-no-dereference-require-p = '--recursive' avec '--no-dereference' nécessite '-P'
34+
chcon-error-recursive-dereference-require-h-or-l = '--recursive' avec '--dereference' nécessite soit '-H' soit '-L'
35+
36+
# Chaînes d'opération pour le contexte d'erreur
37+
chcon-op-getting-security-context = Obtention du contexte de sécurité
38+
chcon-op-file-name-validation = Validation du nom de fichier
39+
chcon-op-getting-meta-data = Obtention des métadonnées
40+
chcon-op-modifying-root-path = Modification du chemin racine
41+
chcon-op-accessing = Accès
42+
chcon-op-reading-directory = Lecture du répertoire
43+
chcon-op-reading-cyclic-directory = Lecture du répertoire cyclique
44+
chcon-op-applying-partial-context = Application d'un contexte de sécurité partiel à un fichier non étiqueté
45+
chcon-op-creating-security-context = Création du contexte de sécurité
46+
chcon-op-setting-security-context-user = Définition de l'utilisateur du contexte de sécurité
47+
chcon-op-setting-security-context = Définition du contexte de sécurité
48+
49+
# Sortie détaillée
50+
chcon-verbose-changing-context = { $util_name } : changement du contexte de sécurité de { $file }
51+
52+
# Messages d'avertissement
53+
chcon-warning-dangerous-recursive-root = Il est dangereux d'opérer récursivement sur '/'. Utilisez --{ $option } pour outrepasser cette protection.
54+
chcon-warning-dangerous-recursive-dir = Il est dangereux d'opérer récursivement sur { $dir } (identique à '/'). Utilisez --{ $option } pour outrepasser cette protection.
55+
chcon-warning-circular-directory = Structure de répertoire circulaire.
56+
Cela signifie presque certainement que vous avez un système de fichiers corrompu.
57+
NOTIFIEZ VOTRE ADMINISTRATEUR SYSTÈME.
58+
Le répertoire suivant fait partie du cycle { $file }.

0 commit comments

Comments
 (0)