Skip to content

Commit 361f4cf

Browse files
committed
feat(dialogs): de-emojization
1 parent 9d88158 commit 361f4cf

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

gzdoom/assets/gzdoom.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ for a in "$@"; do
123123
log e "DOOM Invalid filename: \"$a\" contains a single quote.\nPlease rename the file in a proper way before continuing."
124124
rd_zenity --error --no-wrap \
125125
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
126-
--title "RetroDECK: DOOM - 🛑 Warning: Invalid Filename 🛑" \
126+
--title "RetroDECK: DOOM - Warning: Invalid Filename" \
127127
--text="<span foreground='$purple'><b>Invalid filename\n\n</b></span>\"$1\" contains a single quote.\nPlease rename the file properly before continuing."
128128
exit 1
129129
fi
@@ -187,9 +187,9 @@ elif [[ -n "$doom_file" || "${target_arg##*.}" == "doom" ]]; then
187187
if [[ ! -e "$doom_file" ]]; then
188188
log e "doom file not found in \"$doom_file\""
189189
rd_zenity --error --no-wrap \
190-
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
191-
--title "RetroDECK: DOOM - 🛑 Warning: File not found 🛑" \
192-
--text="File \"$doom_file\" not found. Quitting."
190+
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
191+
--title "RetroDECK: DOOM - Warning: File not found" \
192+
--text="File \"$doom_file\" not found. Quitting."
193193
exit 1
194194
fi
195195

@@ -215,7 +215,7 @@ elif [[ -n "$doom_file" || "${target_arg##*.}" == "doom" ]]; then
215215
log e "Invalid filename: A file contained in \"$doom_file\" contains a single quote"
216216
rd_zenity --error --no-wrap \
217217
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
218-
--title "RetroDECK: DOOM - 🛑 Warning: .doom file error 🛑" \
218+
--title "RetroDECK: DOOM - Warning: .doom file error" \
219219
--text="<span foreground='$purple'><b>Invalid filename\n\n</b></span>\"$1\" contains a single quote.\nPlease rename the file properly in the .doom file before continuing."
220220
exit 1
221221
fi
@@ -228,7 +228,7 @@ elif [[ -n "$doom_file" || "${target_arg##*.}" == "doom" ]]; then
228228
log "[ERROR] File not found in \"$line\""
229229
rd_zenity --error --no-wrap \
230230
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
231-
--title "RetroDECK: DOOM - 🛑 Warning: Not found 🛑" \
231+
--title "RetroDECK: DOOM - Warning: Not found" \
232232
--text="File \"$line\" not found. Quitting."
233233
exit 1
234234
fi

rpcs3/component_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ update_rpcs3_firmware() {
2727
--width=400 --height=200 \
2828
--text="Downloading and installing RPCS3 Firmware, please be patient.\n\n<span foreground='$purple' size="larger"><b>NOTICE - If the process is taking too long:</b></span>\n\nSome windows may be running in the background that require your attention, such as popups from emulators or the upgrade itself that needs user input to continue.\n\n<span foreground='$purple'><b>Please finish these processes and close the windows to continue.</b></span>>"
2929
else
30-
configurator_generic_dialog "RetroDECK Configurator - 🛑 Warning: Install RPCS3 Firmware - No Internet 🛑" "🛑 Warning 🛑 You do not appear to currently have Internet access, which is required by this tool.\n\nPlease try again when network access has been restored."
30+
configurator_generic_dialog "RetroDECK Configurator - Warning: Install RPCS3 Firmware - No Internet" "Warning: You do not appear to currently have Internet access, which is required by this tool.\n\nPlease try again when network access has been restored."
3131
fi
3232
configurator_tools_dialog
3333
}

steam-rom-manager/component_functions.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ configurator_add_retrodeck_to_steam_dialog() {
1818
rd_srm add >> "$srm_log" 2>&1
1919
) |
2020
rd_zenity --progress \
21-
--title="RetroDECK Configurator - 🚂 Add RetroDECK to Steam 🚂" \
21+
--title="RetroDECK Configurator - Add RetroDECK to Steam" \
2222
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
2323
--text="Adding RetroDECK to Steam...\n\n<span foreground='$purple'>Please wait until the operation is finished and you need to restart Steam afterwards.</span>" \
2424
--pulsate --width=500 --height=150 --auto-close --no-cancel
2525

2626
if [[ $(get_setting_value "$rd_conf" "steam_sync" retrodeck "options") =~ (flatpak) ]]; then # If Flatpak Steam, warn about permission
27-
configurator_generic_dialog "RetroDeck Configurator - ⚠️ Steam Flatpak Warning ⚠️" "You are using the <span foreground='purple'><b>Flatpak Version of Steam</b></span>.\n\n\To allow RetroDECK to launch, Steam must be granted the following permission:\n<span foreground='purple'><b>org.freedesktop.Flatpak</b></span>\n\n\Please read the RetroDECK wiki for instructions."
27+
configurator_generic_dialog "RetroDeck Configurator - Steam Flatpak Warning" "You are using the <span foreground='purple'><b>Flatpak Version of Steam</b></span>.\n\n\To allow RetroDECK to launch, Steam must be granted the following permission:\n<span foreground='purple'><b>org.freedesktop.Flatpak</b></span>\n\n\Please read the RetroDECK wiki for instructions."
2828
fi
2929
configurator_steam_tools_dialog
3030
}
@@ -33,8 +33,8 @@ configurator_automatic_steam_sync_dialog() {
3333
if [[ $(get_setting_value "$rd_conf" "steam_sync" retrodeck "options") =~ (true|native|flatpak) ]]; then
3434
zenity --question \
3535
--no-wrap --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
36-
--title "RetroDECK Configurator - 🚂 Steam Syncronization 🚂" \
37-
--text="Steam syncronization is <span foreground='$purple'><b>Currently: Enabled</b></span>.\nDisabling Steam Sync will remove all of your 🌟 <span foreground='$purple'><b>Favorited</b></span> 🌟 games from Steam at the next Steam startup.\n\nDo you want to continue?\n\nTo re-add them, just reenable Steam Sync then and restart Steam."
36+
--title "RetroDECK Configurator - Steam Syncronization" \
37+
--text="Steam syncronization is <span foreground='$purple'><b>Currently: Enabled</b></span>.\nDisabling Steam Sync will remove all of your <span foreground='$purple'><b>Favorited</b></span> games from Steam at the next Steam startup.\n\nDo you want to continue?\n\nTo re-add them, just reenable Steam Sync then and restart Steam."
3838

3939
if [ $? == 0 ] # User clicked "Yes"
4040
then
@@ -61,12 +61,12 @@ configurator_enable_steam_sync() {
6161
steam_sync
6262
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --ok-label="OK" \
6363
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
64-
--title "RetroDECK Configurator - 🚂 Steam Syncronization 🚂" \
64+
--title "RetroDECK Configurator - Steam Syncronization" \
6565
--text="Steam synchronization is <span foreground='$purple'><b>Enabled</b></span>."
6666
else
6767
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --ok-label="OK" \
6868
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
69-
--title "RetroDECK Configurator - 🚂 Steam Syncronization 🚂" \
69+
--title "RetroDECK Configurator - Steam Syncronization" \
7070
--text="Steam synchronization could not be enabled, because your Steam install type could not be determined."
7171
fi
7272
}
@@ -89,27 +89,27 @@ configurator_disable_steam_sync() {
8989
fi
9090
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap --ok-label="OK" \
9191
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
92-
--title "RetroDECK Configurator - 🚂 Steam Syncronization: Manual 🚂" \
93-
--text="Steam synchronization is <span foreground='$purple'><b>Disabled</b></span> and 🌟 <span foreground='$purple'><b>Favorited</b></span> 🌟 games have been removed from Steam.\nPlease restart Steam to apply the changes."
92+
--title "RetroDECK Configurator - Steam Syncronization: Manual" \
93+
--text="Steam synchronization is <span foreground='$purple'><b>Disabled</b></span> and <span foreground='$purple'><b>Favorited</b></span> games have been removed from Steam.\nPlease restart Steam to apply the changes."
9494
}
9595

9696
configurator_manual_steam_sync_dialog() {
97-
configurator_generic_dialog "RetroDeck Configurator - 🚂 Steam Syncronization: Manual 🚂" "RetroDECK will now look for any 🌟 <span foreground='$purple'><b>Favorited</b></span> 🌟 games and sync them to your Steam library as individual entries if needed.\n\nIf Steam Sync has been run before and no favorites have been added or removed, you will be returned to the Steam Tools menu.\nIf changes are needed, you will see a progress dialog during the process."
97+
configurator_generic_dialog "RetroDeck Configurator - Steam Syncronization: Manual" "RetroDECK will now look for any <span foreground='$purple'><b>Favorited</b></span> games and sync them to your Steam library as individual entries if needed.\n\nIf Steam Sync has been run before and no favorites have been added or removed, you will be returned to the Steam Tools menu.\nIf changes are needed, you will see a progress dialog during the process."
9898
export CONFIGURATOR_GUI="zenity"
9999
steam_sync
100100
configurator_steam_tools_dialog
101101
}
102102

103103
configurator_purge_steam_sync_dialog() {
104-
if [[ $(configurator_generic_question_dialog "RetroDECK Configurator - 🚂 Steam Syncronization: Removal 🚂" "🛑 Warning 🛑\n\nAre you sure you want to remove all Steam changes, including all ES-DE 🌟 <span foreground='$purple'><b>Favorited</b></span> 🌟 games from Steam?" ) == "true" ]]; then
104+
if [[ $(configurator_generic_question_dialog "RetroDECK Configurator - Steam Syncronization: Removal" "Warning: Are you sure you want to remove all Steam changes, including all ES-DE <span foreground='$purple'><b>Favorited</b></span> games from Steam?" ) == "true" ]]; then
105105
(
106106
rd_srm nuke
107107
rm -f "$retrodeck_favorites_file"
108108
) |
109109
rd_zenity --progress \
110-
--title="RetroDECK Configurator - 🛑 Steam Syncronization: Removing all RetroDECK data 🛑" \
110+
--title="RetroDECK Configurator - Steam Syncronization: Removing all RetroDECK data" \
111111
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
112-
--text="<span foreground='$purple'><b>Removing all RetroDECK-related data from Steam</b></span>\n\n\The more data you have synchronized, the longer this process may take.\n\n\⏳Please wait..." \
112+
--text="<span foreground='$purple'><b>Removing all RetroDECK-related data from Steam</b></span>\n\n\The more data you have synchronized, the longer this process may take.\n\nPlease wait..." \
113113
--pulsate --width=500 --height=150 --auto-close --no-cancel
114114
fi
115115
configurator_steam_tools_dialog
@@ -359,7 +359,7 @@ steam_sync_add() {
359359
rd_srm add >> "$srm_log" 2>&1
360360
) |
361361
rd_zenity --progress \
362-
--title="RetroDECK Configurator - Syncronizing with Steam" \
362+
--title="RetroDECK Configurator - Syncronizing with Steam" \
363363
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
364364
--text="<span foreground='$purple'><b>Adding new favorited games to Steam</b></span>\n\n\<b>NOTE:</b> This may take a while depending on your library size.\n\Feel free to leave it running in the background and use another app." \
365365
--pulsate --width=500 --height=150 --auto-close --no-cancel
@@ -378,7 +378,7 @@ steam_sync_remove() {
378378
rd_srm remove >> "$srm_log" 2>&1
379379
) |
380380
rd_zenity --progress \
381-
--title="RetroDECK Configurator - Syncronizing with Steam" \
381+
--title="RetroDECK Configurator - Syncronizing with Steam" \
382382
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
383383
--text="<span foreground='$purple'><b>Removing unfavorited games from Steam</b></span>\n\n\<b>NOTE:</b> This may take a while depending on your library size.\n\Feel free to leave it running in the background and use another app." \
384384
--pulsate --width=500 --height=150 --auto-close --no-cancel

vita3k/component_functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ vita3k_shaders_path="$XDG_CACHE_HOME/Vita3K/shaders"
1212

1313
update_vita3k_firmware() {
1414
if [[ $(check_network_connectivity) == "true" ]]; then
15-
configurator_generic_dialog "RetroDECK Configurator - Install: Vita3K firmware" "This tool will download the <span foreground='$purple'><b>firmware required by Vita3K</b></span>.\n\n ⏳ The process may take several minutes"
15+
configurator_generic_dialog "RetroDECK Configurator - Install: Vita3K firmware" "This tool will download the <span foreground='$purple'><b>firmware required by Vita3K</b></span>.\n\nThe process may take several minutes"
1616
(
1717
download_file "$vita3k_vu_firmware_url" "/tmp/PSVUPDAT.PUP" "Vita3K Firmware file: PSVUPDAT.PUP"
1818
download_file "$vita3k_2u_firmware_url" "/tmp/PSP2UPDAT.PUP" "Vita3K Firmware file: PSP2UPDAT.PUP"
@@ -26,7 +26,7 @@ update_vita3k_firmware() {
2626
--no-cancel \
2727
--auto-close
2828
else
29-
configurator_generic_dialog "RetroDECK Configurator - 🛑 Warning: Install Vita3K Firmware - No Internet 🛑" "🛑 Warning 🛑 You do not appear to currently have Internet access, which is required by this tool.\n\nPlease try again when network access has been restored."
29+
configurator_generic_dialog "RetroDECK Configurator - Warning: Install Vita3K Firmware - No Internet" "Warning: You do not appear to currently have Internet access, which is required by this tool.\n\nPlease try again when network access has been restored."
3030
fi
3131
configurator_tools_dialog
3232
}

0 commit comments

Comments
 (0)