Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar. The position of widgets should not change when changing the language #73506

Open
IdleSol opened this issue May 4, 2024 · 1 comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility stale Closed for lack of activity, but still valid.

Comments

@IdleSol
Copy link

IdleSol commented May 4, 2024

Describe the bug

I often have to change the game language from Russian to English and back again. Mainly to write bug reports.

If after changing the language, I save the game and exit to the main menu, and then load from the save. Then the position of widgets on the sidebar changes.

  1. The world is created when using English in the settings. This is what the sidebar looks like, customized by me:

test 1

I change the language to Russian, save the game and exit to the main menu, then load from save. This is what it should be and what I get:
test 1 test 2

  1. Reverse situation. I customize the panel, in the game with Russian language. I change it to English, save and load:

test 3 test 4

  1. This is also different from the default widget position. To test it, I removed the panel_options.json file

test 5

Attach save file

n/a

Steps to reproduce

  1. Create a world
  2. Change the order of the sidebar widgets
  3. Change the language to another language
  4. Save the game and exit to the main menu
  5. Load the game
  6. Compare the order of the widgets

Expected behavior

I would like the widgets to stay where they are.

Screenshots

No response

Versions and configuration

cdda-windows-tiles-x64-2024-05-03-1808

Additional context

I would like to ask those who understand something about this to check the resources consumed by the sidebar. When using English and when using Russian.

English panel_options.json

...
    "panels": [ 
      { "name": "Hit Points", "toggle": true }, 
      { "name": "Hit Points (num)", "toggle": false }, 
      { "name": "Stats", "toggle": true }, 
      { "name": "Movement", "toggle": true }, 
...

Russian panel_options.json

...
    "panels": [ 
      { "name": "Очки здоровья", "toggle": true }, 
      { "name": "Очки здоровья (цифр)", "toggle": false }, 
      { "name": "Хар-ки", "toggle": true }, 
      { "name": "Движение", "toggle": true }, 
...

Does this mean that when using Russian, there are additional operations to translate the name from Russian to English?

@IdleSol IdleSol added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label May 4, 2024
Copy link
Contributor

github-actions bot commented Jun 3, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

@github-actions github-actions bot added the stale Closed for lack of activity, but still valid. label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility stale Closed for lack of activity, but still valid.
Projects
None yet
Development

No branches or pull requests

1 participant