From 1858fd5c607e621e5f9096a1e414ba005aa25760 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 22 Sep 2026 19:29:06 +0200 Subject: [PATCH] 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) --- oci/proxmenux-oci.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oci/proxmenux-oci.sh b/oci/proxmenux-oci.sh index 762290b2..6666e923 100755 --- a/oci/proxmenux-oci.sh +++ b/oci/proxmenux-oci.sh @@ -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