Commit graph

1603 commits

Author SHA1 Message Date
Wedge009
46739fcfaa Add translation notes.
[ci skip]
2019-09-30 04:07:05 +10:00
Charles Dang
5aaf179728 GUI2/Unit Preview Pane: tweaked attack display spacing
[ci skip]
2019-09-28 14:40:59 +11:00
josteph
942302f6e3 fixup! unit_recall: Add tooltip 2019-09-26 16:14:45 +00:00
josteph
26a710d6fb unit_recall: Move the image path back to the cfg file 2019-09-26 16:07:44 +00:00
josteph
581899b77e unit_recall: Add tooltip 2019-09-26 16:07:44 +00:00
josteph
a7fc184ccd unit_recall: Show unrecallable units grayed out.
Part of issue #1282.
2019-09-26 16:07:44 +00:00
josteph
f874a60034 fixup! statistics_dialog: Tweak the tooltip per @nemaara 2019-09-16 21:55:31 +00:00
josteph
d3db9237ac statistics_dialog: Tweak the tooltip per @nemaara 2019-09-16 21:29:14 +00:00
josteph
36c0016494 statistics_dialog: Add information to the p-value tooltip
Add less-simplified information, keep all the existing information,
and explain the colors.

See https://github.com/wesnoth/wesnoth/issues/1378#issuecomment-531564119
2019-09-16 04:19:44 +00:00
pentarctagon
2eccbab970 Add UI button to stop a game.
This adds a button along side the kick/kickban/ban buttons to stop the game the selected user is in.

Fixes #3635
2019-09-14 11:10:05 -05:00
ville
169cff9ec7 Adds a preference item for a sound being played and desktop notifications in the lobby when a new game is created.
Remove unnecessary blank lines and debugging comments

- Adds a preferences entry in the multiplayer/alerts menu so sounds and desktop notifications can be toggled.

Reformat a few points for consistency

Have desktop notification show name and scenario of new game

Have desktop notification show name and scenario of new game

Update desktop notifications to use VGETTEXT for translations

(cherry picked from commit af71dbf1b1)
(cherry picked from commit a2d9943286)
2019-08-27 13:41:01 +10:00
Maximilian Fricke
eb5d5421ee Display settings: Adjust "Limit FPS" tooltip
Tooltip now mentions that the game must be restarted for the setting to
take effect. Also removed "to 100%" and "at high resolutions" as these
statements are not accurate.
2019-08-17 13:12:05 -05:00
josteph
bc90feedee statistics_dialog: Move a static tooltip from C++ to WML 2019-08-10 17:20:41 +00:00
josteph
14daf1c4f3 statistics_dialog: Clarify tooltip 2019-08-10 16:40:00 +00:00
josteph
6220f7106e statistics_dialog: Show the actual (empirical) CTH. 2019-07-09 16:51:05 +00:00
josteph
84c6467c56 statistics_dialog: Rename column id and struct member after last commit 2019-07-09 16:45:13 +00:00
josteph
a3efd28010 statistics_dialog: Change the hits table format to "+2% (1703.2 + 42) | 93.6"
This is a mix of "Option B" and "Option C" from
https://forums.wesnoth.org/viewtopic.php?f=12&t=49785&p=643513#p643495
2019-07-09 16:42:05 +00:00
josteph
7b78a8c019 statistics_dialog: Change the hits table format to "1703.2 + 42 | 93.6"
This is "Option B" from
https://forums.wesnoth.org/viewtopic.php?f=12&t=49785&p=643513#p643495
2019-07-09 16:33:48 +00:00
josteph
9e0000a021 statistics_dialog: Show a single value for the quantile. 2019-06-14 13:23:48 +00:00
josteph
a4da90f921 statistics_dialog: Hide the "This Turn" header when no data is shown in that column 2019-06-13 10:54:52 +00:00
josteph
68f8e5fb16 fixup! statistics_dialog: Attempt to fix missing left padding before the first column
Fixes validation errors: "Invalid value '-5' in key 'border_size=' in tag [column]"
2019-06-11 08:36:15 +00:00
josteph
111cb0f188 statistics_dialog: Use uppercase for macro arguments.
https://github.com/wesnoth/wesnoth/pull/4070#discussion_r290086918
2019-06-05 10:31:10 +00:00
josteph
e64c7ed591 statistics_dialog: Attempt to fix missing left padding before the first column
Currently warns: "error validation: Invalid value '-5' in key 'border_size=' in tag [column]"

... but it looks correct.
2019-06-05 10:31:10 +00:00
josteph
e2638c9d84 statistics_dialog: Don't show probability of the actual result
To simplify the stats dialog, show two percentages, instead of three
percentages that add up to 100%.

https://github.com/wesnoth/wesnoth/pull/4070#discussion_r285874571
2019-06-05 10:31:10 +00:00
josteph
a932ebee58 statistics_dialog: Change the percentages in the "Hits" table
Make the contents of the table cell the same regardless of whether
actual<expected or actual>expected.  For example, 2 hits out of
4 strikes at 70% now shows "8.4%, 26.5%, 65.1%", which are the
probabilities of hitting less than twice, exactly twice, and more than
twice, respectively.

Color has been temporarily removed, will be restored in the next commit.
2019-06-05 10:31:09 +00:00
josteph
d451238b25 statistics_dialog: Fix wrong uses of linked_group
Remove extraneous columns, add grids in the bottom two tables where it's
needed for two columns to match the width of one column of the first
table.
2019-06-05 10:31:09 +00:00
josteph
ff5df5141e statistics: Coding style changes suggested by @jyrkive. 2019-06-05 10:31:09 +00:00
josteph
0e3877e3b1 Stats dialog: Add tooltips to the damage and hits tables. 2019-06-05 10:31:09 +00:00
josteph
f5d68f9d41 Stats dialog: Split the "1/2 3%" column into two separate columns, one for "1/2" and one for "3%".
The percentages align vertically now, but the intercolumn spacing is
still somewhat hacky.
2019-06-05 10:31:09 +00:00
josteph
d5874ea81c Hit stats: Show the probability of being at least this far from the mean. 2019-06-05 10:31:09 +00:00
josteph
ed22925dd1 Hit stats: Show number of hits/misses inflicted overall in statistics dialog. 2019-06-05 10:31:08 +00:00
josteph
b9b61409d2 mp_staging: Fix terminology in tooltip
Fixes #2842
2019-05-07 16:38:30 +00:00
josteph
2fc9804df0 unit_preview_pane: Move the icons to before the damage and strikes, as in the sidebar. 2019-03-08 17:19:00 +00:00
josteph
c720e6686e unit_preview_pane: Add attack icons 2019-03-08 17:12:04 +00:00
Andrius Štikonas
6152883645 Fix some spelling issues
Fix a typo in micro_ai simple_attack demo: you -> your.
Fix inconsistent spaces
Fix misspelled wesnoth in systemd unit file
2019-03-06 11:42:17 -05:00
Charles Dang
503230db20 Campaign Dialog: make filter box fill available horizontal space
[ci skip]
2019-01-27 23:44:24 +11:00
Vlad Drozdov
397b8e1f3b Campaign selection: Add search functionality 2019-01-27 23:44:19 +11:00
Charles Dang
05ab79fae3 GUI2: fixed typo in macro name (pointed out in #3847)
[ci skip]
2019-01-18 10:56:04 +11:00
Reuben Rakete
05db975788 Change hotkey filter to use multi word search 2019-01-06 18:04:08 +00:00
Reuben Rakete
af4701c3e4 Update hotkey filter to work with multi menu toggles 2019-01-06 18:04:08 +00:00
Reuben Rakete
18cc72e167 Add filter box to hotkey preferences 2019-01-06 18:04:08 +00:00
Edward Chernenko
0112a82a35 Fix typo in menu_button: active icon was used instead of pressed icon
Icon [short_arrow_left_25-pressed.png] exists, but is not used anywhere.
Widgets in [menu_button_default.cfg] and [multimenu_button_default.cfg]
were using [short_arrow_left_25-active.png] for the "pressed" state.
2019-01-02 19:10:35 +02:00
jostephd
21c20b951d
Help: Document campaign 'level' and 'difficulty'. (#3781) 2018-12-29 17:11:57 +00:00
jostephd
6a96b788ac
Recruit Unit: Add search functionality (#3787) 2018-12-23 16:42:37 +00:00
Celtic Minstrel
639787e1c9 Merge pull request #2562 from wesnoth/schema 2018-11-11 13:52:19 -05:00
Iris Morelle
f62758ee2d gui2/unit_recall: Change Recall button back to its correct label
Closes #3361.

(cherry picked from commit 1e449a193a)
2018-10-28 02:53:08 +00:00
Iris Morelle
119d5f3412 gui2/unit_recall: Fix i18n issues
The original commit adding the Rename Unit button marked two strings in
the C++ source for extraction without making them translatable.

Additionally, a string in the markup violates the string freeze. This
can be papered over by reusing the existing "Rename Unit" string. For
1.14.5 we'll use just "Rename" again.

(cherry picked from commit 306ebb9a87)
2018-10-28 02:53:07 +00:00
Charles Dang
3c3ef6ced6 Statistics Dialog: merge unit name and count labels
Makes it easier for translators to do something specific with this label if needs
be. I remember the reason the count (NUMx) label was moved prior to the name had
to do with language conventions too, so this should alleviate any other such issues.

Also made the name label default size instead of small.

(cherry picked from commit e9f7952408)
2018-10-28 02:53:06 +00:00
Charles Dang
95b4d4e0d7 Repair 66ab35f in the upwards direction
[ci skip]

(cherry picked from commit d724b1a71d)
2018-10-28 02:53:01 +00:00
Celtic Minstrel
ec849c97da Swap count and name columns in statistics (fixes #2893)
(cherry picked from commit 42ee12621b)
2018-10-28 02:52:58 +00:00