android: Renamed quicksave_saving and quickload_loading strings to simply saving and loading
Some checks are pending
citra-build / source (push) Waiting to run
citra-build / linux (appimage) (push) Waiting to run
citra-build / linux (fresh) (push) Waiting to run
citra-build / macos (arm64) (push) Waiting to run
citra-build / macos (x86_64) (push) Waiting to run
citra-build / macos-universal (push) Blocked by required conditions
citra-build / windows (msvc) (push) Waiting to run
citra-build / windows (msys2) (push) Waiting to run
citra-build / android (push) Waiting to run
citra-build / ios (push) Waiting to run
citra-format / clang-format (push) Waiting to run
citra-transifex / transifex (push) Waiting to run

This better reflects their use, as they are no longer used exclusively for quicksaves.
This commit is contained in:
OpenSauce04 2025-04-16 21:52:18 +01:00 committed by OpenSauce
parent 8fbfb94bec
commit fd3e4068b6
3 changed files with 5 additions and 6 deletions

View file

@ -29,13 +29,13 @@ class HotkeyUtility(
Hotkey.QUICKSAVE.button -> {
NativeLibrary.saveState(NativeLibrary.QUICKSAVE_SLOT)
Toast.makeText(context,
context.getString(R.string.quicksave_saving),
context.getString(R.string.saving),
Toast.LENGTH_SHORT).show()
}
Hotkey.QUICKLOAD.button -> {
val wasLoaded = NativeLibrary.loadStateIfAvailable(NativeLibrary.QUICKSAVE_SLOT)
val stringRes = if(wasLoaded) {
R.string.quickload_loading
R.string.loading
} else {
R.string.quickload_not_found
}

View file

@ -558,13 +558,13 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback, Choreographer.Fram
if(isSaving) {
NativeLibrary.saveState(slot)
Toast.makeText(context,
getString(R.string.quicksave_saving),
getString(R.string.saving),
Toast.LENGTH_SHORT).show()
} else {
NativeLibrary.loadState(slot)
binding.drawerLayout.close()
Toast.makeText(context,
getString(R.string.quickload_loading),
getString(R.string.loading),
Toast.LENGTH_SHORT).show()
}
true

View file

@ -317,6 +317,7 @@
<string name="ini_saved">Saved settings</string>
<string name="gameid_saved">Saved settings for %1$s</string>
<string name="error_saving">Error saving %1$s.ini: %2$s</string>
<string name="saving">Saving…</string>
<string name="loading">Loading…</string>
<string name="next">Next</string>
<string name="back">Back</string>
@ -807,8 +808,6 @@
<string name="emulation_quicksave">Quicksave</string>
<string name="emulation_quickload">Quickload</string>
<string name="emulation_occupied_quicksave_slot">Quicksave - %1$tF %1$tR</string>
<string name="quicksave_saving">Saving…</string>
<string name="quickload_loading">Loading…</string>
<string name="quickload_not_found">No Quicksave available.</string>
<string name="miscellaneous">Miscellaneous</string>
<string name="use_artic_base_controller">Use Artic Controller when connected to Artic Base Server</string>