Rename 'Persistent' toggle to 'Persistent Profile'
This commit is contained in:
parent
9a997bd4f3
commit
ec97003e38
12 changed files with 20 additions and 8 deletions
|
@ -15,7 +15,6 @@ pub struct Cpus {
|
|||
pub cpus: Vec<Cpu>,
|
||||
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,
|
||||
}
|
||||
|
|
|
@ -226,7 +226,7 @@ const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => {
|
|||
<PanelSectionRow>
|
||||
<ToggleField
|
||||
checked={get_value(PERSISTENT_GEN)}
|
||||
label={tr("Persistent")}
|
||||
label={tr("Persistent Profile")}
|
||||
description={tr("Save profile and load it next time")}
|
||||
onChange={(persist: boolean) => {
|
||||
backend.log(backend.LogLevel.Debug, "Persist is now " + persist.toString());
|
||||
|
|
13
translations/build.py
Executable file
13
translations/build.py
Executable file
|
@ -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)
|
||||
|
Binary file not shown.
|
@ -26,7 +26,7 @@ msgstr "Misceláneo"
|
|||
|
||||
#: index.tsx:226
|
||||
# (Profile persistence toggle)
|
||||
msgid "Persistent"
|
||||
msgid "Persistent Profile"
|
||||
msgstr "Persistente"
|
||||
|
||||
#: index.tsx:227
|
||||
|
|
Binary file not shown.
|
@ -26,7 +26,7 @@ msgstr "Divers"
|
|||
|
||||
# (Profile persistence toggle)
|
||||
#: index.tsx:226
|
||||
msgid "Persistent"
|
||||
msgid "Persistent Profile"
|
||||
msgstr "Persistant"
|
||||
|
||||
# (Profile persistence toggle description)
|
||||
|
|
|
@ -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
|
||||
|
|
Binary file not shown.
|
@ -25,7 +25,7 @@ msgstr "其他选项"
|
|||
|
||||
#: index.tsx:226
|
||||
# (Profile persistence toggle)
|
||||
msgid "Persistent"
|
||||
msgid "Persistent Profile"
|
||||
msgstr "持久"
|
||||
|
||||
#: index.tsx:227
|
||||
|
|
Binary file not shown.
|
@ -26,7 +26,7 @@ msgstr "其他選項"
|
|||
|
||||
#: index.tsx:226
|
||||
# (Profile persistence toggle)
|
||||
msgid "Persistent"
|
||||
msgid "Persistent Profile"
|
||||
msgstr "持續"
|
||||
|
||||
#: index.tsx:227
|
||||
|
|
Loading…
Reference in a new issue