cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
6.6k stars 506 forks source link

Cemu threw an exception when trying to delete an account #1220

Open lijunyu-cn opened 1 month ago

lijunyu-cn commented 1 month ago

Current Behavior

When trying to delete an account, Cemu threw an exception, and I found that the code caused the exception is

https://github.com/cemu-project/Cemu/blob/aadd2f4a1af788d208a38a2d23161a4de517083a/src/gui/GeneralSettings2.cpp#L1273

For linguistic reasons, when translating certain languages such as Chinese, Japanese, and Korean, the order of arguments may be adjusted, resulting in mismatched parameter types and causing exceptions when displaying prompt information. It is easy to solve this problem by using arg_id, but all relevant content in the Cemu-Language project needs to be updated simultaneously.

Expected Behavior

No exception raised.

Steps to Reproduce

Change cemu language to Chinese, Japanese or Korean, trying delete an account.

System Info (Optional)

No response

Emulation Settings (Optional)

No response

Logs (Optional)

No response