s25client icon indicating copy to clipboard operation
s25client copied to clipboard

Console infinite loop with specific languages in campaign menu.

Open LeoMat5 opened this issue 1 year ago • 0 comments

Version: 0.9.5 for Windows What did you do/shall be done to reproduce the bug? Change language to non German or English. In my case it was Finnish. After the language is selected:

  1. Go to Singleplayer (in Finnish it's "yksinpeli").
  2. Select "Campaigns", it's in English for some reason. In Finnish it would be "kampanjoita".
  3. Press either "Roman campaign" or "Original world campaign".
  4. Open the console.

What is expected: One error message about the error.

What actually happens: It spams "Did not found translation for language 'fi_FI.UTF-8' in LUA file. Available translations: de, en" infinite times.

That line of code is located in: https://github.com/Return-To-The-Roots/s25client/blob/master/libs/libGamedata/lua/LuaInterfaceBase.cpp The error message that is being spammed is in the line 125.

LeoMat5 avatar Oct 13 '24 17:10 LeoMat5