[Commits] [wesnoth/wesnoth-old] 4a4436: theme ui: Implement [theme] id= attribute, default...

GitHub noreply at github.com
Wed Feb 19 11:57:14 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth-old
  Commit: 4a44369d8ab01feb69bee0875d659fe7bd086970
      https://github.com/wesnoth/wesnoth-old/commit/4a44369d8ab01feb69bee0875d659fe7bd086970
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M changelog
    M src/controller_base.cpp
    M src/game_preferences_display.cpp
    M src/gui/dialogs/theme_list.cpp
    M src/theme.cpp
    M src/theme.hpp

  Log Message:
  -----------
  theme ui: Implement [theme] id= attribute, defaults to name=

[theme] id specifies the internal theme id used by the engine to match
the theme definition against the recorded user settings. Existing themes
are still handled by using the name attribute if it's present when the
id is not, and a deprecation warning is issued in that case.

The name attribute is expected to be translatable for UI usage, whereas
the id attribute is not. (See also: [unit], [unit_type], etc.)


  Commit: 91cbc9aff14c6290071e6d317024cd4ebf24917d
      https://github.com/wesnoth/wesnoth-old/commit/91cbc9aff14c6290071e6d317024cd4ebf24917d
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M data/themes/default.cfg
    M data/themes/editor.cfg
    M data/themes/null.cfg
    M data/themes/pandora.cfg
    M data/themes/unit_box.cfg
    M data/themes/widescreen.cfg

  Log Message:
  -----------
  theme ui: Convert mainline themes to use id= and translatable name= values

The 'null' theme is a hidden theme, so it doesn't get a UI name of its
own.


Compare: https://github.com/wesnoth/wesnoth-old/compare/0752af913729...91cbc9aff14c


More information about the Commits mailing list