You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
using System.Xml.Linq;
|
|
|
|
namespace Gos.Core
|
|
{
|
|
public static class Constants
|
|
{
|
|
public const string TeiNamespace = "http://www.tei-c.org/ns/1.0";
|
|
public const string XmlNamespace = "http://www.w3.org/XML/1998/namespace";
|
|
public const string IncludeNamespace = "http://www.w3.org/2001/XInclude";
|
|
public static readonly XNamespace TeiNs;
|
|
public static readonly XNamespace XmlNs;
|
|
public static readonly XNamespace IncludeNs;
|
|
|
|
static Constants()
|
|
{
|
|
TeiNs = XNamespace.Get(TeiNamespace);
|
|
XmlNs = XNamespace.Get(XmlNamespace);
|
|
IncludeNs = XNamespace.Get(IncludeNamespace);
|
|
}
|
|
|
|
public static class InterfaceLanguages
|
|
{
|
|
public static string English = "en";
|
|
public static string EnglishName = "English";
|
|
public static string Slovene = "sl";
|
|
public static string SloveneName = "Slovenščina";
|
|
}
|
|
|
|
public static class Formats
|
|
{
|
|
public static string CountsFormat = "#,##0";
|
|
}
|
|
|
|
public static class Search
|
|
{
|
|
public static int DefaultPageSize = 20;
|
|
}
|
|
}
|
|
} |