Switch to plurals for navbar labels

This commit is contained in:
Edward Betts 2024-06-15 20:57:59 +01:00
parent 882fa52ae5
commit ce07ae65b1

View file

@ -2,16 +2,16 @@
{% set pages = [
{"endpoint": "index", "label": "Home" },
{"endpoint": "trip_future_list", "label": "Future trip" },
{"endpoint": "trip_past_list", "label": "Past trip" },
{"endpoint": "conference_list", "label": "Conference" },
{"endpoint": "past_conference_list", "label": "Past conference" },
{"endpoint": "trip_future_list", "label": "Future trips" },
{"endpoint": "trip_past_list", "label": "Past trips" },
{"endpoint": "conference_list", "label": "Conferences" },
{"endpoint": "past_conference_list", "label": "Past conferences" },
{"endpoint": "travel_list", "label": "Travel" },
{"endpoint": "accommodation_list", "label": "Accommodation" },
{"endpoint": "gaps_page", "label": "Gap" },
{"endpoint": "weekends", "label": "Weekend" },
{"endpoint": "launch_list", "label": "Space launch" },
{"endpoint": "holiday_list", "label": "Holiday" },
{"endpoint": "gaps_page", "label": "Gaps" },
{"endpoint": "weekends", "label": "Weekends" },
{"endpoint": "launch_list", "label": "Space launches" },
{"endpoint": "holiday_list", "label": "Holidays" },
] + ([{"endpoint": "birthday_list", "label": "Birthdays" }]
if g.user.is_authenticated else [])
%}