statistics_dialog: Clarify tooltip

This commit is contained in:
josteph 2019-08-10 16:40:00 +00:00
parent 0b0569457d
commit 14daf1c4f3
2 changed files with 4 additions and 4 deletions

View file

@ -548,8 +548,8 @@
{_GUI_DAMAGE_STATS_LIST
(_ "Damage") damage_this_turn_header stats_list_damage damage_type damage_overall damage_this_turn
(_"stats dialog^Difference of actual outcome to expected outcome, as a percentage.
The first number in parentheses is the expected number of hitpoints.
The sum (or difference) of the two numbers in parentheses is the actual number of hitpoints.")
The first number in parentheses is the expected number of hitpoints inflicted/taken.
The sum (or difference) of the two numbers in parentheses is the actual number of hitpoints inflicted/taken.")
(_"stats dialog^Ratio of actual to expected")}
[/column]

View file

@ -325,8 +325,8 @@ void statistics_dialog::add_hits_row(
element = tally(by_cth, more_is_better);
item["tooltip"] = _(
"stats dialog^Difference of actual outcome to expected outcome, as a percentage.\n"
"The first number in parentheses is the expected number of hits.\n"
"The sum (or difference) of the two numbers in parentheses is the actual number of hits.")
"The first number in parentheses is the expected number of hits inflicted/taken.\n"
"The sum (or difference) of the two numbers in parentheses is the actual number of hits inflicted/taken.")
+ element.tooltip;
item["label"] = element.hitrate_str;
data.emplace("hits_overall", item);