From 555068ff95866043498c74dd1809c121e8483d94 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 28 Aug 2024 13:38:37 +0900 Subject: [PATCH] STEAM_ROM_MANAGER: casing names descriptions --- functions/prepare_component.sh | 2 +- functions/steam-sync/resetsync.py | 2 +- functions/steam-sync/steam-sync.py | 2 +- net.retrodeck.retrodeck.yml | 2 +- tools/configurator.sh | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/functions/prepare_component.sh b/functions/prepare_component.sh index 576e979c..31f63eb7 100644 --- a/functions/prepare_component.sh +++ b/functions/prepare_component.sh @@ -83,7 +83,7 @@ prepare_component() { if [[ "$component" =~ ^(steam_rom_manager|all)$ ]]; then component_found="true" log i "----------------------" - log i "Prepearing STEAM ROM MANAGER" + log i "Prepearing Steam ROM Manager" log i "----------------------" python3 /app/libexec/steam-sync/resetsync.py diff --git a/functions/steam-sync/resetsync.py b/functions/steam-sync/resetsync.py index 6e9eecd6..632d846d 100644 --- a/functions/steam-sync/resetsync.py +++ b/functions/steam-sync/resetsync.py @@ -9,7 +9,7 @@ def resetfun(rdhome): os.system("/app/bin/zypak-wrapper /app/srm/steam-rom-manager list") srm_path=os.path.expanduser("~/.var/app/net.retrodeck.retrodeck/config/steam-rom-manager/userData/userConfigurations.json") if not os.path.isfile(srm_path): - print("Steam Rom Manager configuration not initialized! Initializing now.") + print("Steam ROM Manager configuration not initialized! Initializing now.") shutil.copyfile("/app/libexec/steam-sync/userConfigurations.json", srm_path) with open(srm_path,"r") as f: diff --git a/functions/steam-sync/steam-sync.py b/functions/steam-sync/steam-sync.py index e7fd8a88..1e5b45e8 100644 --- a/functions/steam-sync/steam-sync.py +++ b/functions/steam-sync/steam-sync.py @@ -391,7 +391,7 @@ def start_config(): srm_path=os.path.expanduser("~/.var/app/net.retrodeck.retrodeck/config/steam-rom-manager/userData/userConfigurations.json") if not os.path.isfile(srm_path): - print("Steam Rom Manager configuration not initialized! Initializing now.") + print("Steam ROM Manager configuration not initialized! Initializing now.") resetfun(rdhome) if __name__=="__main__": diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 02f0515b..a8fb4ec6 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -31,7 +31,7 @@ finish-args: - --env=SDL_VIDEO_WAYLAND_WMCLASS=net.retrodeck.retrodeck # XEMU - Fixes issues with openSUSE systems, QEMU_AUDIO_DRV is defined as "pa" causing xemu to not launch - --unset-env=QEMU_AUDIO_DRV - # Steam Rom Manager + # Steam ROM Manager - --filesystem=xdg-data/Steam:rw #Steam (flatpak) - --filesystem=~/.steam:rw # Steam (Non-flatpak) - --filesystem=~/.var/app/com.valvesoftware.Steam:rw # Steam (Flatpak) diff --git a/tools/configurator.sh b/tools/configurator.sh index 6656aa1c..a4775360 100755 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -1152,13 +1152,13 @@ configurator_reset_dialog() { --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" --width=1200 --height=720 \ --text="Which component do you want to reset to default settings?" \ --column="Component" --column="Action" \ - "Steam Rom Manager" "Reset SRM that manages the sync and scraping toward Steam library" \ + "Steam ROM Manager" "Reset SRM that manages the sync and scraping toward Steam library" \ "ES-DE" "Reset the ES-DE frontend" \ ) # TODO: "GyroDSU" "Reset the gyroscope manager GyroDSU" case $component_to_reset in - "Steam Rom Manager" | "ES-DE" ) # TODO: GyroDSU + "Steam ROM Manager" | "ES-DE" ) # TODO: GyroDSU if [[ $(configurator_reset_confirmation_dialog "$component_to_reset" "Are you sure you want to reset $component_to_reset to default settings?\n\nThis process cannot be undone.") == "true" ]]; then prepare_component "reset" "$component_to_reset" "configurator" configurator_process_complete_dialog "resetting $component_to_reset" @@ -1268,7 +1268,7 @@ configurator_add_steam() { zenity --question \ --no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ --title "RetroDECK Configurator - RetroDECK Steam Syncronization" \ - --text="Steam syncronization is currently disabled. Do you want to enable it?\n\nAll the games marked as favorites will be syncronized with Steam Rom Manager.\nRemember to restart Steam each time to see the changes.\n" + --text="Steam syncronization is currently disabled. Do you want to enable it?\n\nAll the games marked as favorites will be syncronized with Steam ROM Manager.\nRemember to restart Steam each time to see the changes.\n" if [ $? == 0 ] then