Skip to content

Commit

Permalink
statistics_dialog: Clarify tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
jostephd committed Aug 10, 2019
1 parent 0b05694 commit 14daf1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/gui/window/statistics_dialog.cfg
Expand Up @@ -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]

Expand Down
4 changes: 2 additions & 2 deletions src/gui/dialogs/statistics_dialog.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 14daf1c

Please sign in to comment.