From 17840dafaf02eb187b5951dc6b4655ea3aa8fa2b Mon Sep 17 00:00:00 2001 From: nemaara Date: Mon, 30 Mar 2020 01:30:45 -0400 Subject: [PATCH] Add calendar to wesnoth encyclopedia --- data/core/encyclopedia/_main.cfg | 6 ++++-- data/core/encyclopedia/calendar.cfg | 30 +++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 data/core/encyclopedia/calendar.cfg diff --git a/data/core/encyclopedia/_main.cfg b/data/core/encyclopedia/_main.cfg index 51e4ebd980a..ef712faf869 100644 --- a/data/core/encyclopedia/_main.cfg +++ b/data/core/encyclopedia/_main.cfg @@ -3,7 +3,7 @@ [section] id=encyclopedia title= _ "Encyclopedia" - sections=geography + sections=calendar,geography topics=..encyclopedia [/section] @@ -11,7 +11,9 @@ id=..encyclopedia title= _ "Encyclopedia" #generator="contents:encyclopedia" - text= _ "dst='..geography' text='Geography'" + text= _ "dst='..calendar' text='Calendar' +dst='..geography' text='Geography'" [/topic] +{./calendar.cfg} {./geography.cfg} diff --git a/data/core/encyclopedia/calendar.cfg b/data/core/encyclopedia/calendar.cfg new file mode 100644 index 00000000000..29abfb9df83 --- /dev/null +++ b/data/core/encyclopedia/calendar.cfg @@ -0,0 +1,30 @@ +#textdomain wesnoth-help + +[section] + id=calendar + title= _ "Calendar" + topics=..calendar + sort_topics=yes +[/section] + +[topic] + id=..calendar + title= _ "Calendar" + text= _ "Each year in the Wesnoth calendar is composed of 12 months. These are, in order: + +Whitefire +Bleeding Moon +Scatterseed +Deeproot +Scryer’s Bloom +Thorntress +Summit Star +Kindlefire +Stillseed +Reaper’s Moon +Verglas Bloom +Blackfire + +" + generator="contents:calendar" +[/topic]