fix(oci): write the converter entry point messages in English

The four setup messages were in Spanish and one told the reader Python 3
was needed "en el Mac", which is the wrong machine for a script the
README documents as running on the Proxmox host.

They stay outside translate(): this script runs before the Python
environment it is preparing exists, so no catalogue is available yet.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
MacRimi
2026-09-22 19:29:06 +02:00
co-authored by Claude Opus 5
parent 3f3e3f05d9
commit 1858fd5c60
+4 -4
View File
@@ -7,7 +7,7 @@ REQUIREMENTS="$ROOT_DIR/requirements.txt"
STAMP="$VENV_DIR/.requirements.sha256"
command -v python3 >/dev/null 2>&1 || {
echo "ERROR: se necesita Python 3 en el Mac." >&2
echo "ERROR: Python 3 is required." >&2
exit 1
}
@@ -15,10 +15,10 @@ if python3 -c 'import yaml, jsonschema' >/dev/null 2>&1; then
PYTHON=python3
else
if [[ ! -x "$VENV_DIR/bin/python" ]] || ! "$VENV_DIR/bin/python" -m pip --version >/dev/null 2>&1; then
echo "Preparando entorno Python local..."
echo "Preparing the local Python environment..."
rm -rf "$VENV_DIR"
python3 -m venv "$VENV_DIR" || {
echo "ERROR: no se pudo crear venv. En Debian instala python3-venv, python3-yaml y python3-jsonschema." >&2
echo "ERROR: could not create the virtual environment. On Debian, install python3-venv, python3-yaml and python3-jsonschema." >&2
exit 1
}
fi
@@ -29,7 +29,7 @@ else
fi
INSTALLED_HASH=$(cat "$STAMP" 2>/dev/null || true)
if [[ "$CURRENT_HASH" != "$INSTALLED_HASH" ]]; then
echo "Instalando dependencias verificables del conversor..."
echo "Installing the converter dependencies..."
"$VENV_DIR/bin/python" -m pip install --disable-pip-version-check -r "$REQUIREMENTS"
printf '%s\n' "$CURRENT_HASH" >"$STAMP"
fi