Interfície en català, botó Esborra i botons d'icona segons l'estat

This commit is contained in:
2026-05-29 21:55:34 +02:00
parent 235a3966d2
commit 694d67f11e
6 changed files with 117 additions and 45 deletions
+4 -4
View File
@@ -43,15 +43,15 @@ def run_game(root: Path, game: Game, log: LogFn = _noop) -> int:
repo = repo_dir(root, game.id)
if not (repo / ".git").exists():
raise FileNotFoundError(
f"{game.name} no está descargado. Pulsa Download primero."
f"{game.name} no està descarregat. Prem Descarrega primer."
)
if game.build_cmd.strip():
log(f"Compilando {game.name}")
log(f"Compilant {game.name}")
code = _stream(game.build_cmd, repo, log)
if code != 0:
log(f"Compilación falló (código {code}). No se ejecuta.")
log(f"La compilació ha fallat (codi {code}). No s'executa.")
return code
log(f"Ejecutando {game.name}")
log(f"Executant {game.name}")
return _stream(game.run_cmd, repo, log)