i18n: complete OCI runtime and maintenance Slovak diagnostics

This commit is contained in:
VAIO73
2026-10-21 07:06:04 +00:00
parent 37a6c02111
commit 6c05688196
15 changed files with 746 additions and 337 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ import argparse
import re
import subprocess
import sys
from oci_ui import translate
# A model of five operators (convolution, pooling and a dense layer), enough
# to make ROCm compile and run on the GPU without downloading anything.
@@ -72,7 +73,8 @@ def main():
try:
check(args.vmid)
except RuntimeError as error:
print(error, file=sys.stderr)
message = translate('the GPU did not answer in time') if str(error) == 'the GPU did not answer in time' else str(error)
print(message, file=sys.stderr)
return 1
return 0