GuestLog - Localization - Initial Implementation

This commit is contained in:
2026-06-24 12:54:20 +02:00
parent d93ba3d9ee
commit e7e9fb1d12
17 changed files with 786 additions and 78 deletions
+4 -21
View File
@@ -7,27 +7,10 @@ public static class GuestConsts
public const string Page_GuestDocs_New = "/guest-documents/new";
public static HashSet<string> DocumentTypeList { get; private set; } = [
"DNI",
"NIE",
"Passport",
"ID Card",
"Other",
];
public static Dictionary<string, string> CountryList { get; private set; } = new([
new KeyValuePair<string, string>("ESP", "Spain"),
new KeyValuePair<string, string>("ITA", "Italy"),
new KeyValuePair<string, string>("USA", "United States")
]);
public static Dictionary<string, string> GenderList { get; private set; } = new([
new KeyValuePair<string, string>("M", "Male"),
new KeyValuePair<string, string>("F", "Female"),
new KeyValuePair<string, string>("O", "Other")
]);
public const string regexPattern_phoneNum = @"\+?\d{1,4}?[-.\s]?\(?\d{1,3}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,9}";
public const string DataList_DocumentTypes = "DocumentTypes";
public const string DataList_GenderOptions = "GenderOptions";
public const string DataList_CountryCodes = "CountryCodes";
}