fix(i18n): translate managed stack routing errors

This commit is contained in:
Jonatan
2026-10-28 11:43:37 +01:00
parent a259b945eb
commit 5e89b2bdf5
9 changed files with 24 additions and 3 deletions
+2 -2
View File
@@ -2112,8 +2112,8 @@ apply_kept_settings
if jq -e '.stack_public_routes != null' "$DEPLOYMENT_FILE" >/dev/null; then
ROUTE_INCLUDE=$(python3 "${SCRIPT_DIR}/oci_stack_public_routes.py" install "$VMID" \
--deployment "$DEPLOYMENT_FILE" --installation-id "$INSTANCE_ID") \
|| die "Managed public route installation failed"
[[ -n "$ROUTE_INCLUDE" ]] || die "Managed public route include is missing"
|| die "$(translate "Managed public route installation failed")"
[[ -n "$ROUTE_INCLUDE" ]] || die "$(translate "Managed public route include is missing")"
grep -Fxq "$ROUTE_INCLUDE" "$CONF" || printf '%s\n' "$ROUTE_INCLUDE" >>"$CONF"
fi