12 lines
246 B
Bash
Executable File
12 lines
246 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PROJECT_ROOT="$(dirname "$(dirname "$(realpath "$0")")")"
|
|
TRANSLATIONS_DIR="$PROJECT_ROOT/translations"
|
|
|
|
echo "Gerando arquivos .qm..."
|
|
|
|
for file in "$TRANSLATIONS_DIR"/*.ts; do
|
|
lrelease "$file"
|
|
done
|
|
|
|
echo "Arquivos .qm gerados." |