From ec97003e389e5a61ea06291c1d7148b9784cd3f4 Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Fri, 3 Feb 2023 17:03:50 -0500 Subject: [PATCH] Rename 'Persistent' toggle to 'Persistent Profile' --- backend/src/settings/steam_deck/cpu.rs | 1 - src/index.tsx | 2 +- translations/build.py | 13 +++++++++++++ translations/es-ES.mo | Bin 2523 -> 2531 bytes translations/es-ES.po | 2 +- translations/fr-CA.mo | Bin 2689 -> 2697 bytes translations/fr-CA.po | 2 +- translations/pt.pot | 4 ++-- translations/zh-CN.mo | Bin 2274 -> 2282 bytes translations/zh-CN.po | 2 +- translations/zh-HK.mo | Bin 2306 -> 2314 bytes translations/zh-HK.po | 2 +- 12 files changed, 20 insertions(+), 8 deletions(-) create mode 100755 translations/build.py diff --git a/backend/src/settings/steam_deck/cpu.rs b/backend/src/settings/steam_deck/cpu.rs index 2c7ce0c..2fe0480 100644 --- a/backend/src/settings/steam_deck/cpu.rs +++ b/backend/src/settings/steam_deck/cpu.rs @@ -15,7 +15,6 @@ pub struct Cpus { pub cpus: Vec, pub smt: bool, pub smt_capable: bool, - #[allow(dead_code)] // in case this may be useful in the future pub(super) limits: CpusLimits, driver_mode: crate::persist::DriverJson, } diff --git a/src/index.tsx b/src/index.tsx index 8dd8cd1..ea9eee3 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -226,7 +226,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => { { backend.log(backend.LogLevel.Debug, "Persist is now " + persist.toString()); diff --git a/translations/build.py b/translations/build.py new file mode 100755 index 0000000..524bd54 --- /dev/null +++ b/translations/build.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 + +import os +import subprocess + +if __name__ == "__main__": + for item in os.listdir("."): + if item[-3:] == ".po": + print("Generating binary translation file from", item) + subprocess.run(["msgfmt", "-c", "-o", item[:-2]+"mo", item]) + else: + print("Ignoring", item) + diff --git a/translations/es-ES.mo b/translations/es-ES.mo index ea096f8ec30ae58b4c3e12e03bc29b8d6d651413..d6ba246b99a544c2c8d686c3752ea2d25f5a9c48 100644 GIT binary patch delta 455 zcmY+=KS)AR6vy%NdYVuB-dfyF+FINl29WX%hdQ#d^^#JGoB7 T{cybO_Q`SW;ApRN8m&b}HefDk delta 446 zcmY+=ze_?<7{>AUcr|~NX1G&r=iG}jhqipGXZ5{-g`O`^~o zIZIoM1W|(oEz#20_kp`~x!lirU(Pwtx#uICg~Ltfb7pp$GArUartt~`yv7}ja0wr9 z11GqMuc-N-Sa4?Fn4xwwE0{yoHPn6$EMOCr+fJLeI)h^xS-eGF>+xB~dkpaj75IXy z_>Oz{8~1lfDN$E(3)`su&TtJq>Hu9-@Ez)h`WbJQXE2HzkEnWz3Y=jQ=eU4hxQst> zoghWQS=9V})Bz7s^INFkBP?SFb<>xq8|oGrXyGLGIT|GVinjdsLSdI!HA17etHT z*3b}c4gCv3wWN!KgG=;%bW6u^pLg%~?)~2Hnois4#|?K)L~52u7_ZQeT{Q6?Q}}=( ze8CvLVGzGi>!)~Zh|InBJjosMCm6scYQGzdV+U98$uF*K5j>ONmJc2_j&U7l7)6^d zis@ delta 446 zcmY+=u}cDR6u|NK>%7#ubQjs zq^C6T7#~po5u)Iokw>;7;Z4=FCR^d8Z|6`oo(lkIn` KPt(7(9s3`1d?{}L diff --git a/translations/fr-CA.po b/translations/fr-CA.po index cbc62df..bc987c9 100644 --- a/translations/fr-CA.po +++ b/translations/fr-CA.po @@ -26,7 +26,7 @@ msgstr "Divers" # (Profile persistence toggle) #: index.tsx:226 -msgid "Persistent" +msgid "Persistent Profile" msgstr "Persistant" # (Profile persistence toggle description) diff --git a/translations/pt.pot b/translations/pt.pot index be9b1ee..9dc33cf 100644 --- a/translations/pt.pot +++ b/translations/pt.pot @@ -23,8 +23,8 @@ msgid "Miscellaneous" msgstr "" #: index.tsx:226 -# (Profile persistence toggle) -msgid "Persistent" +# (Profile persistence toggle, a bit like SteamOS's "Use per-game profile") +msgid "Persistent Profile" msgstr "" #: index.tsx:227 diff --git a/translations/zh-CN.mo b/translations/zh-CN.mo index 76a86760f612d53ac9768cac51b698d8b98e8a8a..78bd0ade13060e0e3a8c48b74519da37c89555b4 100644 GIT binary patch delta 445 zcmXZYF-XHe6vpwFgqXAnTB}ss!B_-w5F7;Q;2@4Vba0c76$*;zBre$sf?Gi7q@$w{ z+yrszqFWt02qI46<{&uv|LA47-@VJb?=JZ$eUk8ll+~?qY;346u!L?BE1m z;ym_n9CK9vBZi(?AIGR)7%DhG)!z)t`$3)ei^?lTmf9SX3Mpz_Lo#dw)wqdjY~m!g zTz!PPz&S2r7nO61MSMc-dqy2RMCHHXEPlH8e^ELLisI3RvNJ(#SatO}>Oxy?eGe71 z@9GoOA3Q@He1QeL!W!P7F81Kw_fa1(h?%JIJ?r^3Zz;R?7d*>e{hdO>s-ES1C8+vw Q(mXvr=p455?eIGI2cK;$1^@s6 delta 436 zcmXZYJxc>Y6ouitvurjoLQIGlP2mTM3PLK2^cI2GNlFU~3p>dV$Rbz^vW-^S+Xyj8 zsx;cAu?VEF5-U>({(&d@f5f43>Wbl zSMe6}_=M_z#V9ZvV21jgVFib%`kO&{6D;8`D$m81ScOS}6gBQ48CF9z9-SiqLA z&rug><0f`cIgh9h>ZA6(p$`5)<&SU~KmGf^IGG1c{X#xF-&jFy*zxrN>OytDevAq_ z@%07j4_=}UzQP>dU={CB7klyV2dEDiW|^pQoZh=?u#xuMda#?0TvLnx&vth|Tyx!K H^bpPfWw8839*TFkYJ(K!6F6GL2z&oii0}2msBjbI-MFRTDazJpaR;cg&nUCy*@)- zV1TQ5h01xtX?#QN`$8Q&LgoLUa>qVjP4Y=lJ(+B1x$CG6TVC&=4(Ry!F)FC<^*QPf zUZW1aL%sAK7w{Q%u}`1>Mm^v!rIXUJw73l$L92KS7XvFk!rio~VZP;ZC2E98bH9Ij M)H~^x+wm~^2eV)+rvLx| delta 437 zcmXZYze@sP9LMqJ?l?V5L5_m5AdyfE+(c+-YtlKI8lo-eA85G{DQJsZ#NEk7k*Lk7 zB^q-U9D*SC#@?U&-tfGh@AKpHJkLGG-FUp^B^%DUa$Pf5FgmZiX4^H=1qyK-Ehc<$Ys}D^wnv6Sso}QnavYHc$ag)WWva=T_gKE^v!S zc#q1NpdR#&+BZiXyhP=Hp>kI?A4JJIs2Hs`?3;DehL+VQr~}$IeuWCUw)zhB2Om%e z_fan$;vT-DF7|2j3)BOCa&&TZexr2Ym%MWN>>qfwbnbUF`u`nH>p{t%cEVZk2mK2u AEdT%j diff --git a/translations/zh-HK.po b/translations/zh-HK.po index 5c14851..1840a4b 100644 --- a/translations/zh-HK.po +++ b/translations/zh-HK.po @@ -26,7 +26,7 @@ msgstr "其他選項" #: index.tsx:226 # (Profile persistence toggle) -msgid "Persistent" +msgid "Persistent Profile" msgstr "持續" #: index.tsx:227