Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intentional fail on translation tag mismatch #1293

Merged
merged 3 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bin/generateAcronyms.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,8 +798,10 @@ def dump_gls(filename, out_file):
trans = transm[tags]
else:
print(
f"Warning: {tags} not in {transm.keys()} for {acr} - translation missing"
f"Warning: {tags} not in {transm.keys()} for"
womullan marked this conversation as resolved.
Show resolved Hide resolved
f" {acr} - translation missing or the tags do not match"
)
exit(2)
else: # it is a simple string
trans = translate[acr]
if "," in acr:
Expand Down
2 changes: 1 addition & 1 deletion etc/glossarydefs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ OSHA,Occupational Safety and Health Administration,OPS,,,A
OSI,open systems interconnect,TS,Document-12012,,A
OSPF,Open Short Path First,IT,,,A
OSPL,OpenSplice DDS - the underlying messaging system for SAL,TS,,,A
OSS,Observatory System Specifications; LSE-30,DM,,,A
OSS,Observatory System Specifications; LSE-30,Gen,,,A
OSS,Oil Supply System,TS,,,A
OSX,Macintosh Operating System (obsolete; now macOS),Gen,,,A
OTB,Over Target Baseline,Gen,,,A
Expand Down
2 changes: 1 addition & 1 deletion etc/glossarydefs_es.csv
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ OSHA,Administración de Seguridad y Salud Ocupacional de los EE. UU.,
OSI,interconexión de sistemas abiertos,
OSPF,"Open Short Path First [«Abrir el camino más corto primero», protocolo de red]",
OSPL,OpenSplice DDS - sistema de mensajería subyacente para SAL,
OSS,Especificaciones del sistema de observatorios; LSE-30,DM
OSS,Especificaciones del sistema de observatorios; LSE-30,Gen
OSS,Sistema de suministro de aceite,TS
OSX,Sistema operativo Macintosh (obsoleto; actualmente macOS),
OTB,Reajuste de presupuesto base [«over-target baseline»],
Expand Down
Loading