// SPDX-FileCopyrightText: 2026 Progmasoft // SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1 namespace Progmasoft.Tala.Website.Api; /// /// The public state of the website itself. It does not mirror a package catalog, an account service or any other /// application. /// /// The name of the language the site is about. /// How far the language has come: development until a stable release. /// The locale a visitor gets when the browser prefers none of the supported ones. /// The locales the pages are published in. /// Whether the forum takes accounts and posts; it does not yet. public sealed record SiteInformation( string Name, string Phase, string DefaultLocale, IReadOnlyList SupportedLocales, bool ForumOpen) { /// The state the site reports today. public static SiteInformation Current { get; } = new( Name: "Tala", Phase: "development", DefaultLocale: "en-US", SupportedLocales: ["en-US", "de-DE", "ru-RU", "he-IL"], ForumOpen: false); }