[wesnoth-commits] [wesnoth/wesnoth] df9f12: gui2/button: Add definitions for special title scr...

Iris Morelle noreply at github.com
Sat Sep 25 02:17:15 UTC 2021


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: df9f12568e4dfee959b4f153b3c73bc6aac3aefd
      https://github.com/wesnoth/wesnoth/commit/df9f12568e4dfee959b4f153b3c73bc6aac3aefd
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    A data/gui/widget/button_title_screen_small.cfg

  Log Message:
  -----------
  gui2/button: Add definitions for special title screen buttons

These buttons have an icon like normal action buttons do, but they also
keep their text label and use a smaller font. Currently only one
instance is provided, for the Language button.


  Commit: da7d8c6aede0c1a63a3942cc2880262ddcc1113b
      https://github.com/wesnoth/wesnoth/commit/da7d8c6aede0c1a63a3942cc2880262ddcc1113b
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M data/gui/window/title_screen.cfg
    M src/gui/dialogs/title_screen.cpp

  Log Message:
  -----------
  gui2/title_screen: Give the Language button its label back

This makes the Language button use one of the new title screen button
definitions so it has an actual label in addition to its icon. However,
it also makes the label dynamic to reflect the current language choice.

More specifically, it reflects the current locale's language name, which
turns out requires a surprising amount of effort on our part to obtain.


  Commit: 5f5b2c1b1b3e1fcda46240288215f69ab0d20c56
      https://github.com/wesnoth/wesnoth/commit/5f5b2c1b1b3e1fcda46240288215f69ab0d20c56
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M data/gui/window/title_screen.cfg

  Log Message:
  -----------
  gui2/title_screen: Increase bottom row margins from 0px to 10px

This hopefully makes it seem a little tidier than having all of the
bottom row buttons and labels hugging the edges of the game screen.


  Commit: d5ebd982f4470c7a237f87ad919f2cc5414555a8
      https://github.com/wesnoth/wesnoth/commit/d5ebd982f4470c7a237f87ad919f2cc5414555a8
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M data/languages/en at shaw.cfg
    M data/languages/en_GB.cfg
    M data/languages/en_US.cfg

  Log Message:
  -----------
  Use parentheses in English language variation names

For consistency. Also because square brackets are ugly and not standard
punctuation in English.

This is not a string freeze-breaking change. Ironic, I know.


Compare: https://github.com/wesnoth/wesnoth/compare/ff3e7c33395d...d5ebd982f447



More information about the Commits mailing list