Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,55 @@ jobs:

- name: Run pre-commit
run: pre-commit run

fluent_syntax:
name: Fluent Syntax Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install Mozilla Fluent Linter
shell: bash
run: |
## Install Mozilla Fluent Linter
pip install moz-fluent-linter
- name: Find and validate Fluent files
shell: bash
run: |

fluent_dirs=$(find . -name "*.ftl" -type f -exec dirname {} \; | sort | uniq 2>/dev/null || true)

if [ -n "$fluent_dirs" ]; then
echo "Found Fluent directories:"
echo "$fluent_dirs"

# Count total files for informational purposes
total_files=$(find . -name "*.ftl" -type f | wc -l)
echo "Total Fluent files: $total_files"
else
echo "::notice::No Fluent (.ftl) files found in the repository"
exit 0
fi

echo "Running Fluent Linter on directories..."

has_errors=false

while IFS= read -r dir; do
echo "Checking directory $dir with Fluent Linter..."

if ! moz-fluent-lint --config .github/fluent_linter_config.yml "$dir"; then
echo "::error::Fluent syntax errors found in $dir"
exit 1
else
echo "✓ Fluent syntax check passed for directory $dir"
fi

done <<< "$fluent_dirs"

echo "::notice::All Fluent directories passed Fluent Linter validation"
2 changes: 1 addition & 1 deletion src/uu/cat/locales/es-ES.ftl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cat-about = Concatenar ARCHIVO(s), o entrada estándar, a salida estándar
Sin ARCHIVO, o cuando ARCHIVO es -, leer entrada estándar.
cat-usage = cat [OPCIÓN]... [ARCHIVO]...
cat-usage = cat [OPCIÓN]... [ARCHIVO]...
2 changes: 1 addition & 1 deletion src/uu/date/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ date-error-expected-file-got-directory = se esperaba archivo, se obtuvo director
date-error-date-overflow = desbordamiento de fecha '{$date}'
date-error-setting-date-not-supported-macos = establecer la fecha no está soportado en macOS
date-error-setting-date-not-supported-redox = establecer la fecha no está soportado en Redox
date-error-cannot-set-date = no se puede establecer la fecha
date-error-cannot-set-date = no se puede establecer la fecha
2 changes: 1 addition & 1 deletion src/uu/dirname/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dirname-usage = dirname [OPCIÓN] NOMBRE...
dirname-after-help = Mostrar cada NOMBRE eliminando su último componente que no sea barra y las barras finales;
si NOMBRE no contiene /, mostrar '.' (indicando el directorio actual).
dirname-missing-operand = falta operando
dirname-zero-help = separar salida con NUL en lugar de nueva línea
dirname-zero-help = separar salida con NUL en lugar de nueva línea
2 changes: 1 addition & 1 deletion src/uu/echo/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ echo-help-no-newline = no mostrar la nueva línea final
echo-help-enable-escapes = habilitar interpretación de secuencias de escape con barra invertida
echo-help-disable-escapes = deshabilitar interpretación de secuencias de escape con barra invertida (por defecto)

echo-error-non-utf8 = Se proporcionaron argumentos no UTF-8, pero esta plataforma no los admite
echo-error-non-utf8 = Se proporcionaron argumentos no UTF-8, pero esta plataforma no los admite
2 changes: 1 addition & 1 deletion src/uu/false/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ false-about = Devuelve falso, un estado de salida sin éxito.
diagnosticado, sin embargo el programa también devolverá 1.

false-help-text = Mostrar información de ayuda
false-version-text = Mostrar información de versión
false-version-text = Mostrar información de versión
2 changes: 1 addition & 1 deletion src/uu/fold/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ fold-bytes-help = contar usando bytes en lugar de columnas (significa que caract
fold-spaces-help = cortar líneas en límites de palabras en lugar de un corte fijo
fold-width-help = establecer WIDTH como el ancho máximo de línea en lugar de 80
fold-error-illegal-width = valor de ancho ilegal
fold-error-readline = fallo al leer línea
fold-error-readline = fallo al leer línea
2 changes: 1 addition & 1 deletion src/uu/groups/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ groups-about = Mostrar membresías de grupo para cada NOMBREUSUARIO o, si no se
groups-usage = groups [OPCIÓN]... [NOMBREUSUARIO]...
groups-error-fetch = falló al obtener grupos
groups-error-notfound = no se puede encontrar nombre para ID de grupo
groups-error-user = no existe tal usuario
groups-error-user = no existe tal usuario
2 changes: 1 addition & 1 deletion src/uu/hostid/locales/es-ES.ftl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
hostid-about = Imprimir el identificador numérico (en hexadecimal) para el host actual
hostid-usage = hostid [opciones]
hostid-usage = hostid [opciones]
2 changes: 1 addition & 1 deletion src/uu/hostname/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ hostname-error-resolve-failed = hostname: no se puede resolver el nombre de host
hostname-error-winsock = fallo al iniciar Winsock
hostname-error-set-hostname = fallo al establecer nombre de host
hostname-error-get-hostname = fallo al obtener nombre de host
hostname-error-resolve-socket = fallo al resolver direcciones de socket
hostname-error-resolve-socket = fallo al resolver direcciones de socket
2 changes: 1 addition & 1 deletion src/uu/id/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ id-after-help = La utilidad id muestra los nombres de usuario y grupo e IDs num
ese usuario. En este caso, se asume que los IDs reales y efectivos son
los mismos.

## Context help text
# Context help text
id-context-help-disabled = mostrar solo el contexto de seguridad del proceso (no habilitado)
id-context-help-enabled = mostrar solo el contexto de seguridad del proceso

Expand Down
2 changes: 1 addition & 1 deletion src/uu/link/locales/es-ES.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
link-about = Llamar la función link para crear un enlace llamado ARCHIVO2 a un ARCHIVO1 existente.
link-usage = link ARCHIVO1 ARCHIVO2

link-error-cannot-create-link = no se puede crear enlace { $new } a { $old }
link-error-cannot-create-link = no se puede crear enlace { $new } a { $old }
2 changes: 1 addition & 1 deletion src/uu/ln/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ ln-prompt-replace = ¿reemplazar {$file}?
ln-cannot-backup = no se puede respaldar {$file}
ln-failed-to-access = falló al acceder {$file}
ln-failed-to-create-hard-link = falló al crear enlace duro {$source} => {$dest}
ln-backup = respaldo: {$backup}
ln-backup = respaldo: {$backup}
2 changes: 1 addition & 1 deletion src/uu/logname/locales/es-ES.ftl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
logname-about = Imprimir el nombre de inicio de sesión del usuario
logname-error-no-login-name = sin nombre de inicio de sesión
logname-error-no-login-name = sin nombre de inicio de sesión
2 changes: 1 addition & 1 deletion src/uu/printenv/locales/es-ES.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
printenv-about = Mostrar los valores de las VARIABLE(s) de entorno especificadas, o (sin VARIABLE) mostrar pares nombre y valor para todas ellas.
printenv-usage = printenv [OPCIÓN]... [VARIABLE]...

printenv-help-null = terminar cada línea de salida con byte 0 en lugar de nueva línea
printenv-help-null = terminar cada línea de salida con byte 0 en lugar de nueva línea
2 changes: 1 addition & 1 deletion src/uu/printf/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,4 @@ printf-after-help = plantilla de cadena anónima básica:
printf-error-missing-operand = falta operando
printf-warning-ignoring-excess-arguments = ignorando argumentos en exceso, comenzando con '{ $arg }'
printf-help-version = Imprimir información de versión
printf-help-help = Imprimir información de ayuda
printf-help-help = Imprimir información de ayuda
2 changes: 1 addition & 1 deletion src/uu/stdbuf/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ stdbuf-error-external-libstdbuf-not-found = libstdbuf externo no encontrado en l
stdbuf-error-permission-denied = fallo al ejecutar proceso: Permiso denegado
stdbuf-error-no-such-file = fallo al ejecutar proceso: No existe el archivo o directorio
stdbuf-error-failed-to-execute = fallo al ejecutar proceso: {$error}
stdbuf-error-killed-by-signal = proceso terminado por señal {$signal}
stdbuf-error-killed-by-signal = proceso terminado por señal {$signal}
2 changes: 1 addition & 1 deletion src/uu/true/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ true-about = Devuelve verdadero, un estado de salida exitoso.
durante esta operación hace que el programa devuelva 1 en su lugar.

true-help-text = Mostrar información de ayuda
true-version-text = Mostrar información de versión
true-version-text = Mostrar información de versión
2 changes: 1 addition & 1 deletion src/uu/tsort/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ tsort-about = Ordenamiento topológico de las cadenas en ARCHIVO.
tsort-usage = tsort [OPCIONES] ARCHIVO
tsort-error-is-dir = error de lectura: Es un directorio
tsort-error-odd = la entrada contiene un número impar de tokens
tsort-error-loop = la entrada contiene un bucle:
tsort-error-loop = la entrada contiene un bucle:
2 changes: 1 addition & 1 deletion src/uu/unlink/locales/es-ES.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
unlink-about = Desenlazar el archivo en ARCHIVO.
unlink-usage = unlink ARCHIVO
unlink OPCIÓN
unlink-error-cannot-unlink = no se puede desenlazar { $path }
unlink-error-cannot-unlink = no se puede desenlazar { $path }
2 changes: 1 addition & 1 deletion src/uu/users/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ users-about-musl-warning =
Advertencia: Cuando se compila con musl libc, la utilidad `users` puede mostrar '0 usuarios',
debido a la implementación stub de musl de las funciones utmpx.
users-long-usage = Mostrar quién está actualmente conectado según ARCHIVO.
Si ARCHIVO no se especifica, usar { $default_path }. /var/log/wtmp como ARCHIVO es común.
Si ARCHIVO no se especifica, usar { $default_path }. /var/log/wtmp como ARCHIVO es común.
2 changes: 1 addition & 1 deletion src/uu/vdir/locales/es-ES.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ vdir-about = Listar contenido de directorio.
Ignorar archivos y directorios que comiencen con '.' por defecto.

Los argumentos obligatorios para opciones largas son obligatorios también para opciones cortas.
vdir-usage = vdir [OPCIÓN]... [ARCHIVO]...
vdir-usage = vdir [OPCIÓN]... [ARCHIVO]...
Loading