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 ea096f8..d6ba246 100644 Binary files a/translations/es-ES.mo and b/translations/es-ES.mo differ diff --git a/translations/es-ES.po b/translations/es-ES.po index 9477cf9..bf85030 100644 --- a/translations/es-ES.po +++ b/translations/es-ES.po @@ -26,7 +26,7 @@ msgstr "Misceláneo" #: index.tsx:226 # (Profile persistence toggle) -msgid "Persistent" +msgid "Persistent Profile" msgstr "Persistente" #: index.tsx:227 diff --git a/translations/fr-CA.mo b/translations/fr-CA.mo index 3303e11..d0cc852 100644 Binary files a/translations/fr-CA.mo and b/translations/fr-CA.mo differ 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 76a8676..78bd0ad 100644 Binary files a/translations/zh-CN.mo and b/translations/zh-CN.mo differ diff --git a/translations/zh-CN.po b/translations/zh-CN.po index 8780aeb..7678172 100644 --- a/translations/zh-CN.po +++ b/translations/zh-CN.po @@ -25,7 +25,7 @@ msgstr "其他选项" #: index.tsx:226 # (Profile persistence toggle) -msgid "Persistent" +msgid "Persistent Profile" msgstr "持久" #: index.tsx:227 diff --git a/translations/zh-HK.mo b/translations/zh-HK.mo index 396104d..b31cfc2 100644 Binary files a/translations/zh-HK.mo and b/translations/zh-HK.mo differ 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