Browse Source

fix: use string resource

pull/162/head
Producdevity 7 months ago
parent
commit
f04565037f
  1. 2
      src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
  2. 1
      src/android/app/src/main/res/values/strings.xml

2
src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt

@ -304,7 +304,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
val launchWithDefault = askUserToLaunchWithDefaultSettings( val launchWithDefault = askUserToLaunchWithDefaultSettings(
foundGame.title, foundGame.title,
"This could be due to:\n• User cancelled configuration overwrite\n• Driver installation failed\n• Missing required drivers"
getString(R.string.custom_settings_failure_reasons)
) )
if (launchWithDefault) { if (launchWithDefault) {

1
src/android/app/src/main/res/values/strings.xml

@ -777,6 +777,7 @@
<string name="custom_settings_failed_message">Failed to apply custom settings for %1$s: %2$s</string> <string name="custom_settings_failed_message">Failed to apply custom settings for %1$s: %2$s</string>
<string name="launch_with_default_settings">Launch with Default Settings</string> <string name="launch_with_default_settings">Launch with Default Settings</string>
<string name="launch_cancelled">Launch cancelled</string> <string name="launch_cancelled">Launch cancelled</string>
<string name="custom_settings_failure_reasons">Unable to apply the requested settings. This may be due to missing GPU drivers or configuration issues.</string>
<string name="custom_settings_applied">Custom settings applied</string> <string name="custom_settings_applied">Custom settings applied</string>
<string name="launching_game">Launching %1$s...</string> <string name="launching_game">Launching %1$s...</string>
<string name="failed_to_initialize_game">Failed to initialize game</string> <string name="failed_to_initialize_game">Failed to initialize game</string>

Loading…
Cancel
Save