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

Iris Morelle noreply at github.com
Sat Sep 25 01:58:36 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a4054b0af61f3abb34a76b362028bd6f4c3824ab
      https://github.com/wesnoth/wesnoth/commit/a4054b0af61f3abb34a76b362028bd6f4c3824ab
  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: 6303d72806d1e5231a069f4de266c6f39517c4e0
      https://github.com/wesnoth/wesnoth/commit/6303d72806d1e5231a069f4de266c6f39517c4e0
  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: 3fb9df3b8d9b0cd272e88df7592c951a04233375
      https://github.com/wesnoth/wesnoth/commit/3fb9df3b8d9b0cd272e88df7592c951a04233375
  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: 30d8b2ccff9e664caff829e4c503ce9db4744b04
      https://github.com/wesnoth/wesnoth/commit/30d8b2ccff9e664caff829e4c503ce9db4744b04
  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.


  Commit: 85c434326bae83356322e8de1d51414756de63ee
      https://github.com/wesnoth/wesnoth/commit/85c434326bae83356322e8de1d51414756de63ee
  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
    M data/gui/window/title_screen.cfg
    M data/languages/en at shaw.cfg
    M data/languages/en_GB.cfg
    M data/languages/en_US.cfg
    M src/gui/dialogs/title_screen.cpp

  Log Message:
  -----------
  Merge branch 'feature/cuter-language-button'

Closes #6114.


Compare: https://github.com/wesnoth/wesnoth/compare/bd12eeb504cb...85c434326bae



More information about the Commits mailing list