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

Fixed weird line shifting for long (translated) strings #25168

Merged
merged 1 commit into from
Aug 27, 2018
Merged

Fixed weird line shifting for long (translated) strings #25168

merged 1 commit into from
Aug 27, 2018

Conversation

Night-Pryanik
Copy link
Contributor

@Night-Pryanik Night-Pryanik commented Aug 27, 2018

Summary

SUMMARY: Interface "Fixed weird line shifting for long (translated) strings"

Purpose of change

Should fix the last issue in #22102.

Describe the solution

Long translated strings in Protection section (Bash, Cut, Acid, Fire) are auto-wrapped already, so I removed the explicit insertion of new line after the Acid.

Describe alternatives you've considered

We could leave the explicit insertion of new line after the Acid, and remove the space before it instead. But clothing and armor that have low protection values make it possible to fit all four of them in one line, that's why I didn't choose this way (it will always place the Acid on the second line no matter if protection values fit in one line).

@Night-Pryanik Night-Pryanik added Info / User Interface Game - player communication, menus, etc. [C++] Changes (can be) made in C++. Previously named `Code` labels Aug 27, 2018
@ZhilkinSerg ZhilkinSerg self-assigned this Aug 27, 2018
@ZhilkinSerg ZhilkinSerg merged commit d5d602a into CleverRaven:master Aug 27, 2018
@ZhilkinSerg ZhilkinSerg removed their assignment Aug 27, 2018
@Night-Pryanik Night-Pryanik deleted the line-shifting-fix branch August 27, 2018 14:14
@kevingranade kevingranade mentioned this pull request Apr 12, 2019
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants