using System.Collections.Immutable; namespace BlueWest.Views.Utils { internal static class Routes { public const string DefaultCultureName = "en-gb"; #region Layout Keys internal const string FooterMenuId = "m1"; internal const string HeaderMenuId = "m2"; internal const string LanguageViewStorage = "i80"; #endregion Layout Keys #region Route Keys internal const string DataKeyName = "data"; internal const string RootKeyName = "root"; internal const string RootLocation = "/"; internal const string SystemKeyName = "system"; internal const string RolesKeyName = "roles"; internal const string CompaniesKeyName = "companies"; internal const string CountriesKeyName = "countries"; internal const string CurrenciesKeyName = "currencies"; internal const string IndustriesKeyName = "industries"; internal const string DataUsersKeyName = "users"; internal const string BanksKeyName = "banks"; internal const string JobsKeyName = "jobs"; internal const string SettingsKeyName = "settings"; internal const string LogsKeyName = "logs"; internal const string ApplicationUsersKeyName = "app_users"; #endregion Route Keys // Translation Database Keys #region Routes Data // Routes internal const string RolesLocation = $"{SystemRouteLocation}/roles"; internal const string ApplicationUsersLocation = $"{SystemRouteLocation}/users"; internal const string LogsLocation = $"{SystemRouteLocation}/logs"; internal const string SettingsRouteLocation = $"{SystemRouteLocation}/settings"; internal const string DataLocation = $"/data"; // Banks // Data users internal const string DataUsersLocation = "/data/users"; internal const string JobsRouteLocation = "/jobs"; internal const string SystemRouteLocation = $"/system"; internal const string BanksLocation = $"{DataLocation}/banks"; internal const string CountriesLocation = $"{DataLocation}/countries"; internal const string CurrenciesLocation = $"{DataLocation}/currencies"; internal const string CompaniesLocation = $"{DataLocation}/companies"; internal const string IndustriesLocation = $"{DataLocation}/industries"; #endregion Routes Data internal static Dictionary> Translation = new Dictionary> { { RootKeyName, new Dictionary() { {"pt", "Inicio"}, {"eng", "Home"}, {"en-gb", "Home"} } }, { SystemKeyName, new Dictionary() { {"pt", "Sistema"}, {"eng", "System"}, {"en-gb", "System"}, } }, { DataKeyName, new Dictionary() { {"pt", "Dados"}, {"eng", "Data"}, {"en-gb", "Data"} } }, { RolesKeyName, new Dictionary() { {"pt", "Tipos de Utilizador"}, {"en-gb", "Roles"}, {"eng", "Roles"} } }, { ApplicationUsersKeyName, new Dictionary() { {"pt", "Utilizadores da Aplicação"}, {"en-gb", "Users"}, {"eng", "Users"} } }, { LogsKeyName, new Dictionary() { {"pt", "Logs"}, {"en-gb", "logs"}, {"eng", "logs"} } }, { SettingsKeyName, new Dictionary() { {"pt", "Personalização"}, {"eng", "Settings"}, {"en-gb", "Settings"}, } }, { CompaniesKeyName, new Dictionary() { {"pt", "Empresas"}, {"eng", "Companies"}, {"en-gb", "Companies"}, } }, { IndustriesKeyName, new Dictionary() { {"pt", "Indústrias"}, {"en-gb", "Industries"}, {"eng", "Industries"}, } }, { CurrenciesKeyName, new Dictionary() { {"pt", "Moedas"}, {"en-gb", "Currencies"}, {"eng", "Currencies"}, } }, { CountriesKeyName, new Dictionary() { {"pt", "Países"}, {"eng", "Countries"}, {"en-gb", "Countries"} } }, { BanksKeyName, new Dictionary() { {"pt", "Bancos"}, {"eng", "Banks"}, {"en-gb", "Banks"}, } }, { DataUsersKeyName, new Dictionary() { {"pt", "Utilizadores"}, {"eng", "Users"}, {"en-gb", "Users"}, } }, { JobsKeyName, new Dictionary() { {"pt", "Anúncios de trabalho"}, {"eng", "Jobs"}, {"en-gb", "Jobs"}, } }, }; } }