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

more space for Iteminfo #6871

Merged
merged 3 commits into from
Mar 28, 2014
Merged

Conversation

goron111
Copy link
Contributor

Redone #6212, while leaving space for other UI elements (#6274)
FIXES #6701, #6700

@@ -462,8 +462,8 @@ void item::load_info(std::string data)
if (is_food()) {
it_comest* food = dynamic_cast<it_comest*>(type);

dump->push_back(iteminfo("FOOD", _("Nutrition: "), "", food->nutr));
dump->push_back(iteminfo("FOOD", _("Quench: "), "", food->quench));
dump->push_back(iteminfo("FOOD", _("Nutrition: "), "", food->nutr, true, "", false, true));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you need to pad between elements (which seems like a good idea), I think that's what argument 6 is for. I don't like the idea of inserting padding into the translated strings, and it has caused problems before.
Sorry it took so long to give feedback on this, things have been very busy.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

argument 6 is stored in sPlus and used as additional string betewen the translated string and the value. As far I found this parameter is only used for ammo informations

@goron111
Copy link
Contributor Author

Adding Comment to correct PR update time

@kevingranade I removed the padding from the translated strings

@kevingranade kevingranade merged commit 5d880b2 into CleverRaven:master Mar 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Examination of items, display error.
2 participants