Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Rename 'Persistent' toggle to 'Persistent Profile'
Browse files Browse the repository at this point in the history
  • Loading branch information
NGnius committed Feb 3, 2023
1 parent 9a997bd commit ec97003
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 8 deletions.
1 change: 0 additions & 1 deletion backend/src/settings/steam_deck/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
13 changes: 13 additions & 0 deletions translations/build.py
Original file line number Diff line number Diff line change
@@ -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 modified translations/es-ES.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion translations/es-ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ msgstr "Misceláneo"

#: index.tsx:226
# (Profile persistence toggle)
msgid "Persistent"
msgid "Persistent Profile"
msgstr "Persistente"

#: index.tsx:227
Expand Down
Binary file modified translations/fr-CA.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion translations/fr-CA.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ msgstr "Divers"

# (Profile persistence toggle)
#: index.tsx:226
msgid "Persistent"
msgid "Persistent Profile"
msgstr "Persistant"

# (Profile persistence toggle description)
Expand Down
4 changes: 2 additions & 2 deletions translations/pt.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified translations/zh-CN.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion translations/zh-CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ msgstr "其他选项"

#: index.tsx:226
# (Profile persistence toggle)
msgid "Persistent"
msgid "Persistent Profile"
msgstr "持久"

#: index.tsx:227
Expand Down
Binary file modified translations/zh-HK.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion translations/zh-HK.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ msgstr "其他選項"

#: index.tsx:226
# (Profile persistence toggle)
msgid "Persistent"
msgid "Persistent Profile"
msgstr "持續"

#: index.tsx:227
Expand Down

0 comments on commit ec97003

Please sign in to comment.