From a15a4f82fc349cf0dfb90c27327a28d6717235e0 Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 13 Jan 2025 16:47:41 +0100 Subject: [PATCH] Agregada logica para celdas vacias en la clave en el archivo base para que estas celdas se copien como vacias en el archivo _import. Modificado error en el x6 para contemplar el "User Texts" en la version Siemens. --- .../x6_update_from_master.cpython-310.pyc | Bin 5195 -> 5547 bytes translation_config.json | 8 +- x6_update_from_master.py | 80 ++++++++++++------ 3 files changed, 57 insertions(+), 31 deletions(-) diff --git a/__pycache__/x6_update_from_master.cpython-310.pyc b/__pycache__/x6_update_from_master.cpython-310.pyc index bdd55f812d8032c3eac640d850a55f2a6c30a80e..d51343be567b53779a5457aa95b88baefe7fad05 100644 GIT binary patch delta 2297 zcmb7EOKclO7~UB_vVQDl9Xn2(#EG4E8rmc@ZQ7Jep|nDk;6f<{%4*};w08W;>^e=; zSsBT2LJ>hD)Jl}fM!=;)C{*g5#{r202jH>?B!mPPQ~^TVD)`57-KGx&9__E0?|;ny zegDW`PhOu^ONtVd;5RY<#<{o0x7A66|Mc-g=*#LBI@|LKc0x{=g_%DgIf|{-BTQ)^ z>w?|Ilp3l>8xrxZV0sfgF^H0K9SNy{=r;IUr*@QwZr{O}FW1dN#J7x}fPCf^Cz0Da zH@&Rd0$89PXQ2i{lI^SeNtlJ+mEObR%!2ivhJ>V5!u^N5CXeQVMd zq7~-J_3t1|UBL;dJ^*biK&TTuN!H2aWk4ORNlycMzd-w1wcR;}A``nA0y6$EjspK* zEFVp>DiL4;T)l#8@mX8W4eoGc8tL5hIFV+*kp|jAR;7JuWW^&mgCaxCXq9OV4~((P ziLx%?X-D2O1Qyvn1UUPu_fF-$A!uR<_qKO;6tGK)q1Y&g>uH7>2riE~-7E$f5!MZa zJWkx!a>Fc6x=3^rzg2U3;QA5PLt>HF*%lCWp1BuNHem+mCg=Ni&6NhH>=leTBsAWOq; z@H9NJ)z1(xM$(z)UZk@@GSnl1f0zxE6kLL-%!Z4Iq@dZy*-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{_e=@RBS6V|TNH)qWNw z!E^Wps9>@8n1FgoR>Sqe&YmWGmmmvIx-0?Uv%No?Q`*S$U%Uu1nGNm3-e5rBSu)nP9S zSRzT#AV*Y^sg2Y}y?z85k-pkkecT(UPk4in+sakdqtcnvUY@Al5Ca5>C%pp8gZHpk zT$^RZ>eO{a&$ybqPuS~d9eKlSm}D=?;D475kR0hJ0~?qXjcNB8l67auAjw~qcJtf& zJJL}})U9K0*qvcRY#6MeQ_^+RTAD$yF_KQhVQEH`vmr9nCqY7ql}N!K;Y0_FdsFQ%D2^~E&4r@j-9^lh!9{}OoV?ye$0=kA{RVmh;jzCS&sFLqvjTwhlv zlMHR%{v$Mwf)v5Oo4=tPIH=~%S*wzcXy$EI*M;#{yS*RajH)eTl`Vy*Jem7A!<-wdBX7T*lN-ZO=0O3e8s zyf`xe1|1ZT7f=vTdI%%J8U^@37-M`Xaudz-Nc1yp2pnCd;#!n8E;;<~=u{FnNms5o zw%HA>n6+igp(#GA9?xLY?S{-IFelw`#V%8;ZrLthRp<8mT%E4AyVm|?w^DOxS~Tx{ z=ycr6HRzV%chrI$a9qmoslTEW-;T{?voNYb4VRi^xm+O)qui)B&9ci2+TytALo)(` zqGO=ksC6TCbJeJUcJ2jwP=wC%TiUVcV>|P|v_bSePxp?!q+>+w8%Y~2@O#PO)?v|YUchsrrLt%`mVY%B z!#G!|S%$I0{t85=0<=eDE{e>kQ>K;X&OLsTK!7gWUqO 0: with pd.ExcelWriter(changes_nombre, engine="openpyxl") as writer: + # Save with default sheet name first df_changes.to_excel(writer, index=False) workbook = writer.book - worksheet = writer.sheets["User Texts"] + # Get the active sheet + worksheet = workbook.active + # Rename it to "User Texts" + worksheet.title = "User Texts" light_blue = PatternFill(start_color="ADD8E6", end_color="ADD8E6", fill_type="solid")