Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
od: translate some strings
  • Loading branch information
sylvestre committed Oct 16, 2025
commit c1d9fc3c7da6c0ff996535f07e927c75e318bf8e
15 changes: 15 additions & 0 deletions src/uu/od/locales/en-US.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ od-help-address-radix = Select the base in which file offsets are printed.
od-help-skip-bytes = Skip bytes input bytes before formatting and writing.
od-help-read-bytes = limit dump to BYTES input bytes
od-help-endian = byte order to use for multi-byte formats
od-help-strings = output strings of at least BYTES graphic chars. 3 is assumed when BYTES is not specified.
od-help-a = named characters, ignoring high-order bit
od-help-b = octal bytes
od-help-c = ASCII characters or backslash escapes
Expand All @@ -76,3 +77,17 @@ od-help-output-duplicates = do not use * to mark line suppression
od-help-width = output BYTES bytes per output line. 32 is implied when BYTES is not
specified.
od-help-traditional = compatibility mode with one input, offset and label.
od-help-o = octal 2-byte units
od-help-capital-i = decimal 8-byte units
od-help-capital-l = decimal 8-byte units
od-help-i = decimal 4-byte units
od-help-l = decimal 8-byte units
od-help-x = hexadecimal 2-byte units
od-help-h = hexadecimal 2-byte units
od-help-capital-o = octal 4-byte units
od-help-s = decimal 2-byte units
od-help-capital-x = hexadecimal 4-byte units
od-help-capital-h = hexadecimal 4-byte units
od-help-e = floating point double precision (64-bit) units
od-help-f = floating point double precision (32-bit) units
od-help-capital-f = floating point double precision (64-bit) units
15 changes: 15 additions & 0 deletions src/uu/od/locales/fr-FR.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ od-help-address-radix = Sélectionner la base dans laquelle les décalages de fi
od-help-skip-bytes = Ignorer les octets d'entrée avant le formatage et l'écriture.
od-help-read-bytes = limiter le dump à OCTETS octets d'entrée
od-help-endian = ordre des octets à utiliser pour les formats multi-octets
od-help-strings = afficher les chaînes d'au moins OCTETS caractères graphiques. 3 est supposé quand OCTETS n'est pas spécifié.
od-help-a = caractères nommés, ignorant le bit d'ordre supérieur
od-help-b = octets octaux
od-help-c = caractères ASCII ou échappements antislash
Expand All @@ -77,3 +78,17 @@ od-help-output-duplicates = ne pas utiliser * pour marquer la suppression de lig
od-help-width = sortir OCTETS octets par ligne de sortie. 32 est impliqué quand OCTETS n'est pas
spécifié.
od-help-traditional = mode de compatibilité avec une entrée, décalage et étiquette.
od-help-o = unités octales 2-octets
od-help-capital-i = unités décimales 8-octets
od-help-capital-l = unités décimales 8-octets
od-help-i = unités décimales 4-octets
od-help-l = unités décimales 8-octets
od-help-x = unités hexadécimales 2-octets
od-help-h = unités hexadécimales 2-octets
od-help-capital-o = unités octales 4-octets
od-help-s = unités décimales 2-octets
od-help-capital-x = unités hexadécimales 4-octets
od-help-capital-h = unités hexadécimales 4-octets
od-help-e = unités virgule flottante double précision (64-bits)
od-help-f = unités virgule flottante double précision (32-bits)
od-help-capital-f = unités virgule flottante double précision (64-bits)
26 changes: 13 additions & 13 deletions src/uu/od/src/od.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,43 +350,43 @@ pub fn uu_app() -> Command {
.arg(
Arg::new("o")
.short('o')
.help("octal 2-byte units")
.help(translate!("od-help-o"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("I")
.short('I')
.help("decimal 8-byte units")
.help(translate!("od-help-capital-i"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("L")
.short('L')
.help("decimal 8-byte units")
.help(translate!("od-help-capital-l"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("i")
.short('i')
.help("decimal 4-byte units")
.help(translate!("od-help-i"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("l")
.short('l')
.help("decimal 8-byte units")
.help(translate!("od-help-l"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("x")
.short('x')
.help("hexadecimal 2-byte units")
.help(translate!("od-help-x"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("h")
.short('h')
.help("hexadecimal 2-byte units")
.help(translate!("od-help-h"))
.action(ArgAction::SetTrue),
)
.arg(
Expand All @@ -398,37 +398,37 @@ pub fn uu_app() -> Command {
.arg(
Arg::new("s")
.short('s')
.help("decimal 2-byte units")
.help(translate!("od-help-s"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("X")
.short('X')
.help("hexadecimal 4-byte units")
.help(translate!("od-help-capital-x"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("H")
.short('H')
.help("hexadecimal 4-byte units")
.help(translate!("od-help-capital-h"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("e")
.short('e')
.help("floating point double precision (64-bit) units")
.help(translate!("od-help-e"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("f")
.short('f')
.help("floating point double precision (32-bit) units")
.help(translate!("od-help-f"))
.action(ArgAction::SetTrue),
)
.arg(
Arg::new("F")
.short('F')
.help("floating point double precision (64-bit) units")
.help(translate!("od-help-capital-f"))
.action(ArgAction::SetTrue),
)
.arg(
Expand Down
Loading