Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add i18n scaffolding to AliasVault.Client project (#820)
Leendert de Borst4bba4c5911ff
diff --git a/apps/server/AliasVault.Client/AliasVault.Client.csproj b/apps/server/AliasVault.Client/AliasVault.Client.csprojindex 513987afa..18ffe833f 100644--- a/apps/server/AliasVault.Client/AliasVault.Client.csproj+++ b/apps/server/AliasVault.Client/AliasVault.Client.csproj@@ -8,6 +8,7 @@<BuildVersion>$([System.DateTime]::UtcNow.ToString("yyyy-MM-dd HH:mm:ss"))</BuildVersion><WasmBuildNative>true</WasmBuildNative><LangVersion>13</LangVersion>+ <BlazorWebAssemblyLoadAllGlobalizationData>true</BlazorWebAssemblyLoadAllGlobalizationData></PropertyGroup><PropertyGroup Condition="'$(Configuration)' == 'Debug'">@@ -54,6 +55,8 @@<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" Version="9.0.4" /><PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.4" PrivateAssets="all" /><PackageReference Include="Microsoft.Extensions.Http" Version="9.0.4" />+ <PackageReference Include="Microsoft.Extensions.Localization" Version="9.0.4" />+ <PackageReference Include="Microsoft.Extensions.Localization.Abstractions" Version="9.0.4" /><PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556"><PrivateAssets>all</PrivateAssets><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>diff --git a/apps/server/AliasVault.Client/Auth/Pages/Login.razor b/apps/server/AliasVault.Client/Auth/Pages/Login.razorindex fdd05bedc..08a34b5aa 100644--- a/apps/server/AliasVault.Client/Auth/Pages/Login.razor+++ b/apps/server/AliasVault.Client/Auth/Pages/Login.razor@@ -2,6 +2,8 @@@inherits AliasVault.Client.Auth.Pages.Base.LoginBase@layout Auth.Layout.MainLayout@inject Config Config+@inject IStringLocalizer<Login> Localizer+@inject IStringLocalizer<SharedResources> SharedLocalizer@attribute [AllowAnonymous]@using System.Text.Json@using AliasVault.Shared.Models.WebApi.Auth@@ -9,21 +11,23 @@@using AliasVault.Client.Utilities@using AliasVault.Cryptography.Client@using SecureRemotePassword+@using AliasVault.Client.Resources+@using Microsoft.Extensions.Localization@if (_showTwoFactorAuthStep){<h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">- Two-factor authentication+ @Localizer["TwoFactorAuthenticationTitle"]</h2><ServerValidationErrors @ref="_serverValidationErrors" />- <p class="text-gray-700 dark:text-gray-300 mb-6">Your login is protected with an authenticator app. Enter your authenticator code below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-6">@Localizer["TwoFactorAuthenticationDescription"]</p><div class="w-full"><EditForm Model="_loginModel2Fa" FormName="login-with-2fa" OnValidSubmit="Handle2Fa" method="post" class="space-y-6"><DataAnnotationsValidator/><div>- <label for="two-factor-code" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Authenticator code</label>+ <label for="two-factor-code" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["AuthenticatorCodeLabel"]</label><InputNumber @bind-Value="_loginModel2Fa.TwoFactorCode"id="two-factor-code"@oninput="OnTwoFactorCodeInput"@@ -36,49 +40,48 @@<InputCheckbox @bind-Value="_loginModel2Fa.RememberMachine" id="remember-machine" class="w-4 h-4 border border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-primary-600 dark:ring-offset-gray-800"/></div><div class="ml-3 text-sm">- <label for="remember-machine" class="font-medium text-gray-900 dark:text-white">Remember this machine</label>+ <label for="remember-machine" class="font-medium text-gray-900 dark:text-white">@Localizer["RememberMachineLabel"]</label></div></div>- <button type="submit" class="w-full text-white bg-primary-600 hover:bg-primary-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">Log in</button>+ <button type="submit" class="w-full text-white bg-primary-600 hover:bg-primary-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">@Localizer["LoginButton"]</button></EditForm></div><p class="mt-6 text-sm text-gray-700 dark:text-gray-300">- Don't have access to your authenticator device? You can- <button @onclick="LoginWithRecoveryCode" class="text-primary-600 hover:underline dark:text-primary-500">log in with a recovery code</button>.+ @Localizer["DontHaveAuthenticatorText"]+ <button @onclick="LoginWithRecoveryCode" class="text-primary-600 hover:underline dark:text-primary-500">@Localizer["LoginWithRecoveryCodeLink"]</button>.</p>}else if (_showLoginWithRecoveryCodeStep){<h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">- Recovery code verification+ @Localizer["RecoveryCodeVerificationTitle"]</h2><ServerValidationErrors @ref="_serverValidationErrors" /><p class="text-gray-700 dark:text-gray-300 mb-6">- You have requested to log in with a recovery code. A recovery code is a one-time code that can be used to log in to your account.- Note that if you don't manually disable 2FA after login, you will be asked for an authenticator code again at the next login.+ @Localizer["RecoveryCodeDescription"]</p><div class="w-full"><EditForm Model="_loginModelRecoveryCode" FormName="login-with-recovery-code" OnValidSubmit="HandleRecoveryCode" method="post" class="space-y-6"><DataAnnotationsValidator/><div>- <label for="two-factor-code" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Recovery Code</label>+ <label for="two-factor-code" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["RecoveryCodeLabel"]</label><InputText @bind-Value="_loginModelRecoveryCode.RecoveryCode" id="recovery-code" class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" autocomplete="off"/><ValidationMessage For="() => _loginModelRecoveryCode.RecoveryCode" class="text-red-600 dark:text-red-400 text-sm mt-1"/></div>- <button type="submit" class="w-full text-white bg-primary-600 hover:bg-primary-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">Log in</button>+ <button type="submit" class="w-full text-white bg-primary-600 hover:bg-primary-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">@Localizer["LoginButton"]</button></EditForm></div><p class="mt-6 text-sm text-gray-700 dark:text-gray-300">- Regained access to your authenticator device? You can- <button @onclick="LoginWithAuthenticator" class="text-primary-600 hover:underline dark:text-primary-500">log in with authenticator code</button> instead.+ @Localizer["RegainedAccessText"]+ <button @onclick="LoginWithAuthenticator" class="text-primary-600 hover:underline dark:text-primary-500">@Localizer["LoginWithAuthenticatorLink"]</button> instead.</p>}else{<h2 class="text-2xl font-bold text-gray-900 dark:text-white">- Log in to AliasVault+ @Localizer["PageTitle"]</h2><FullScreenLoadingIndicator @ref="_loadingIndicator"/>@@ -87,13 +90,13 @@ else<ServerValidationErrors @ref="_serverValidationErrors"/><DataAnnotationsValidator/><div>- <label asp-for="Input.Email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your username or email</label>- <InputTextField id="email" @bind-Value="_loginModel.Username" type="text" placeholder="name / [email protected]" autocapitalize="off" autocorrect="off"/>+ <label asp-for="Input.Email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["UsernameOrEmailLabel"]</label>+ <InputTextField id="email" @bind-Value="_loginModel.Username" type="text" placeholder="@Localizer["UsernamePlaceholder"]" autocapitalize="off" autocorrect="off"/><ValidationMessage For="() => _loginModel.Username"/></div><div>- <label asp-for="Input.Password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your password</label>- <InputTextField id="password" @bind-Value="_loginModel.Password" type="password" placeholder="••••••••"/>+ <label asp-for="Input.Password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["PasswordLabel"]</label>+ <InputTextField id="password" @bind-Value="_loginModel.Password" type="password" placeholder="@Localizer["PasswordPlaceholder"]"/><ValidationMessage For="() => _loginModel.Password"/></div>@@ -102,16 +105,16 @@ else<InputCheckbox @bind-Value="_loginModel.RememberMe" id="remember" class="w-4 h-4 border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 dark:focus:ring-primary-600 dark:ring-offset-gray-800 dark:bg-gray-700 dark:border-gray-600" /></div><div class="ml-3 text-sm">- <label for="remember" class="font-medium text-gray-900 dark:text-white">Remember me</label>+ <label for="remember" class="font-medium text-gray-900 dark:text-white">@Localizer["RememberMeLabel"]</label></div>- <a href="/user/forgot-password" class="ml-auto text-sm text-primary-700 hover:underline dark:text-primary-500">Lost Password?</a>+ <a href="/user/forgot-password" class="ml-auto text-sm text-primary-700 hover:underline dark:text-primary-500">@Localizer["LostPasswordLink"]</a></div>- <button type="submit" class="w-full px-5 py-3 text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">Login to your account</button>+ <button type="submit" class="w-full px-5 py-3 text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">@Localizer["LoginToAccountButton"]</button>@if (Config.PublicRegistrationEnabled){<div class="text-sm font-medium text-gray-500 dark:text-gray-400">- No account yet? <a href="/user/setup" class="text-primary-700 hover:underline dark:text-primary-500">Create new vault</a>+ @Localizer["NoAccountYetText"] <a href="/user/setup" class="text-primary-700 hover:underline dark:text-primary-500">@Localizer["CreateNewVaultLink"]</a></div>}</EditForm>@@ -173,7 +176,7 @@ else/// </summary>private async Task HandleLogin(){- _loadingIndicator.Show("Logging in...");+ _loadingIndicator.Show(Localizer["LoggingInMessage"]);_serverValidationErrors.Clear();try@@ -194,7 +197,7 @@ elsecatch{// If in release mode show a generic error.- _serverValidationErrors.AddError("An error occurred while processing the login request. Try again (later).");+ _serverValidationErrors.AddError(Localizer["LoginErrorMessage"]);}#endiffinally@@ -228,7 +231,7 @@ else{return[- "An error occurred while processing the login request.",+ Localizer["LoginRequestErrorMessage"],];}@@ -259,7 +262,7 @@ else{return[- "An error occurred while processing the login request.",+ Localizer["LoginRequestErrorMessage"],];}@@ -279,7 +282,7 @@ else/// </summary>private async Task HandleRecoveryCode(){- _loadingIndicator.Show("Verifying recovery code...");+ _loadingIndicator.Show(Localizer["VerifyingRecoveryCodeMessage"]);_serverValidationErrors.Clear();try@@ -303,7 +306,7 @@ elsevar validateLoginResponse = JsonSerializer.Deserialize<ValidateLoginResponse>(responseContent);if (validateLoginResponse == null){- _serverValidationErrors.AddError("An error occurred while processing the login request.");+ _serverValidationErrors.AddError(Localizer["LoginRequestErrorMessage"]);return;}@@ -323,7 +326,7 @@ elsecatch{// If in release mode show a generic error.- _serverValidationErrors.AddError("An error occurred while processing the login request. Try again (later).");+ _serverValidationErrors.AddError(Localizer["LoginErrorMessage"]);}#endiffinally@@ -337,7 +340,7 @@ else/// </summary>private async Task Handle2Fa(){- _loadingIndicator.Show("Verifying 2FA code...");+ _loadingIndicator.Show(Localizer["VerifyingTwoFactorCodeMessage"]);_serverValidationErrors.Clear();try@@ -361,7 +364,7 @@ elsevar validateLoginResponse = JsonSerializer.Deserialize<ValidateLoginResponse>(responseContent);if (validateLoginResponse == null){- _serverValidationErrors.AddError("An error occurred while processing the login request.");+ _serverValidationErrors.AddError(Localizer["LoginRequestErrorMessage"]);return;}@@ -381,7 +384,7 @@ elsecatch{// If in release mode show a generic error.- _serverValidationErrors.AddError("An error occurred while processing the login request. Try again (later).");+ _serverValidationErrors.AddError(Localizer["LoginErrorMessage"]);}#endiffinallydiff --git a/apps/server/AliasVault.Client/Auth/Pages/Register.razor b/apps/server/AliasVault.Client/Auth/Pages/Register.razorindex d8b6d9518..9809b5a6f 100644--- a/apps/server/AliasVault.Client/Auth/Pages/Register.razor+++ b/apps/server/AliasVault.Client/Auth/Pages/Register.razor@@ -2,11 +2,15 @@@inherits AliasVault.Client.Auth.Pages.Base.LoginBase@attribute [AllowAnonymous]@layout Auth.Layout.MainLayout+@inject IStringLocalizer<Register> Localizer+@inject IStringLocalizer<SharedResources> SharedLocalizer@using AliasVault.Shared.Models.WebApi.Auth@using AliasVault.Client.Auth.Components+@using AliasVault.Client.Resources+@using Microsoft.Extensions.Localization<h2 class="text-2xl font-bold text-gray-900 dark:text-white">- Create a new AliasVault account+ @Localizer["PageTitle"]</h2><FullScreenLoadingIndicator @ref="_loadingIndicator" />@@ -15,18 +19,18 @@<EditForm Model="_registerModel" OnValidSubmit="HandleRegister" class="mt-8 space-y-6"><DataAnnotationsValidator/><div>- <label asp-for="Input.Email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your username or email</label>- <InputTextField id="email" @bind-Value="_registerModel.Username" type="text" placeholder="name / [email protected]" />+ <label asp-for="Input.Email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["UsernameOrEmailLabel"]</label>+ <InputTextField id="email" @bind-Value="_registerModel.Username" type="text" placeholder="@Localizer["UsernamePlaceholder"]" /><ValidationMessage For="() => _registerModel.Username"/></div><div>- <label asp-for="Input.Password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your password</label>- <InputTextField id="password" @bind-Value="_registerModel.Password" type="password" placeholder="••••••••" />+ <label asp-for="Input.Password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["PasswordLabel"]</label>+ <InputTextField id="password" @bind-Value="_registerModel.Password" type="password" placeholder="@Localizer["PasswordPlaceholder"]" /><ValidationMessage For="() => _registerModel.Password"/></div><div>- <label asp-for="Input.Password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Confirm password</label>- <InputTextField id="password2" @bind-Value="_registerModel.PasswordConfirm" type="password" placeholder="••••••••" />+ <label asp-for="Input.Password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["ConfirmPasswordLabel"]</label>+ <InputTextField id="password2" @bind-Value="_registerModel.PasswordConfirm" type="password" placeholder="@Localizer["PasswordPlaceholder"]" /><ValidationMessage For="() => _registerModel.PasswordConfirm"/></div>@@ -35,14 +39,14 @@<InputCheckbox id="terms" @bind-Value="_registerModel.AcceptTerms" class="w-4 h-4 border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 dark:focus:ring-primary-600 dark:ring-offset-gray-800 dark:bg-gray-700 dark:border-gray-600" /></div><div class="ml-3 text-sm">- <label for="terms" class="font-medium text-gray-900 dark:text-white">I accept the <a href="https://github.com/lanedirt/AliasVault/blob/main/LICENSE.md" target="_blank" class="text-primary-700 hover:underline dark:text-primary-500">Terms and Conditions</a></label>+ <label for="terms" class="font-medium text-gray-900 dark:text-white">@Localizer["AcceptTermsLabel"] <a href="https://github.com/lanedirt/AliasVault/blob/main/LICENSE.md" target="_blank" class="text-primary-700 hover:underline dark:text-primary-500">@Localizer["TermsAndConditionsLink"]</a></label><ValidationMessage For="() => _registerModel.AcceptTerms"/></div></div>- <button type="submit" class="w-full px-5 py-3 text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">Create account</button>+ <button type="submit" class="w-full px-5 py-3 text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">@Localizer["CreateAccountButton"]</button><div class="text-sm font-medium text-gray-500 dark:text-gray-400">- Already registered? <a href="/user/login" class="text-primary-700 hover:underline dark:text-primary-500">Login here</a>+ @Localizer["AlreadyRegisteredText"] <a href="/user/login" class="text-primary-700 hover:underline dark:text-primary-500">@Localizer["LoginHereLink"]</a></div></EditForm>@@ -53,7 +57,7 @@private async Task HandleRegister(){- _loadingIndicator.Show("Creating account...");+ _loadingIndicator.Show(Localizer["CreatingAccountMessage"]);_serverValidationErrors.Clear();var (success, errorMessage) = await UserRegistrationService.RegisterUserAsync(_registerModel.Username, _registerModel.Password);@@ -64,7 +68,7 @@}else{- _serverValidationErrors.AddError(errorMessage ?? "An error occurred during registration.");+ _serverValidationErrors.AddError(errorMessage ?? Localizer["RegistrationErrorMessage"]);StateHasChanged();}diff --git a/apps/server/AliasVault.Client/Main/Pages/Credentials/Home.razor b/apps/server/AliasVault.Client/Main/Pages/Credentials/Home.razorindex 3112ab397..1171b33dc 100644--- a/apps/server/AliasVault.Client/Main/Pages/Credentials/Home.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Credentials/Home.razor@@ -1,14 +1,18 @@@page "/credentials"@inherits MainBase@inject CredentialService CredentialService+@inject IStringLocalizer<Home> Localizer+@inject IStringLocalizer<SharedResources> SharedLocalizer@using AliasVault.RazorComponents.Tables+@using AliasVault.Client.Resources+@using Microsoft.Extensions.Localization<LayoutPageTitle>Home</LayoutPageTitle><PageHeaderBreadcrumbItems="@BreadcrumbItems"- Title="Credentials"- Description="Find all of your credentials below.">+ Title="@Localizer["PageTitle"]"+ Description="@Localizer["PageDescription"]"><CustomActions><div class="relative"><button @onclick="ToggleSettingsDropdown" id="settingsButton" class="p-2 text-gray-500 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-700">@@ -23,17 +27,17 @@<div id="settingsDropdown" class="absolute right-0 z-10 mt-2 min-w-[220px] origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-700"><div class="p-4"><div class="mb-4">- <label class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">View Mode</label>+ <label class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["ViewModeLabel"]</label><select @bind="ViewMode" @bind:after="CloseSettingsPopup" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">- <option value="grid">Grid View</option>- <option value="table">Table View</option>+ <option value="grid">@Localizer["GridViewOption"]</option>+ <option value="table">@Localizer["TableViewOption"]</option></select></div><div class="mb-4">- <label class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Sort Order</label>+ <label class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["SortOrderLabel"]</label><select @bind="SortOrder" @bind:after="CloseSettingsPopup" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">- <option value="asc">Oldest First</option>- <option value="desc">Newest First</option>+ <option value="asc">@Localizer["OldestFirstOption"]</option>+ <option value="desc">@Localizer["NewestFirstOption"]</option></select></div></div>@@ -41,7 +45,7 @@</ClickOutsideHandler>}</div>- <RefreshButton OnClick="LoadCredentialsAsync" ButtonText="Refresh" />+ <RefreshButton OnClick="LoadCredentialsAsync" ButtonText="@SharedLocalizer["Refresh"]" /></CustomActions></PageHeader>@@ -64,23 +68,23 @@ else{<div class="credential-card col-span-full p-4 space-y-2 bg-amber-50 border border-primary-500 rounded-lg shadow-sm dark:border-primary-700 dark:bg-gray-800"><div class="px-4 py-6 text-gray-700 dark:text-gray-200 rounded text-center flex flex-col items-center">- <p class="mb-2 text-lg font-semibold text-primary-700 dark:text-primary-400">No credentials yet</p>+ <p class="mb-2 text-lg font-semibold text-primary-700 dark:text-primary-400">@Localizer["NoCredentialsTitle"]</p><div class="max-w-md mx-auto"><div class="mb-6">- <p class="text-sm mb-2">Create your first credential using the <span class="hidden md:inline">"+ New Alias"</span><span class="md:hidden">"+"</span> button in the top right corner.</p>+ <p class="text-sm mb-2">@Localizer["CreateFirstCredentialText"] <span class="hidden md:inline">@Localizer["NewAliasButtonText"]</span><span class="md:hidden">@Localizer["NewAliasButtonTextMobile"]</span> @Localizer["ButtonLocationText"]</p></div><div class="flex items-center my-6"><div class="flex-1 h-px bg-gray-300 dark:bg-gray-600"></div>- <span class="px-4 text-sm text-gray-500 dark:text-gray-400">or</span>+ <span class="px-4 text-sm text-gray-500 dark:text-gray-400">@Localizer["OrText"]</span><div class="flex-1 h-px bg-gray-300 dark:bg-gray-600"></div></div><div>- <p class="text-sm mb-2">If you previously used a different password manager, you can import your credentials from it.</p>+ <p class="text-sm mb-2">@Localizer["ImportCredentialsText"]</p><a href="/settings/import-export" class="inline-block text-sm px-4 py-2 bg-primary-600 text-white rounded-lg hover:bg-primary-700 transition-colors dark:bg-primary-700 dark:hover:bg-primary-600">- Import from KeePass, Bitwarden, Chrome, Firefox...+ @Localizer["ImportButtonText"]</a></div></div>@@ -173,7 +177,7 @@ elseif (credentialListEntries is null){// Error loading aliases.- GlobalNotificationService.AddErrorMessage("Failed to load credentials.", true);+ GlobalNotificationService.AddErrorMessage(Localizer["FailedToLoadCredentialsMessage"], true);return;}diff --git a/apps/server/AliasVault.Client/Program.cs b/apps/server/AliasVault.Client/Program.csindex 662a8ca57..ff0f4a1ee 100644--- a/apps/server/AliasVault.Client/Program.cs+++ b/apps/server/AliasVault.Client/Program.cs@@ -5,6 +5,7 @@// </copyright>//-----------------------------------------------------------------------+using System.Globalization;using AliasVault.Client;using AliasVault.Client.Main.Services;using AliasVault.Client.Providers;@@ -14,6 +15,7 @@ using Blazored.LocalStorage;using Microsoft.AspNetCore.Components.Authorization;using Microsoft.AspNetCore.Components.Web;using Microsoft.AspNetCore.Components.WebAssembly.Hosting;+using Microsoft.Extensions.Localization;var builder = WebAssemblyHostBuilder.CreateDefault(args);builder.Configuration.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true);@@ -29,6 +31,14 @@ if (config.PrivateEmailDomains == null || config.PrivateEmailDomains.Count == 0)builder.Services.AddSingleton(config);+// Add localization services+builder.Services.AddLocalization(options => options.ResourcesPath = "Resources");++// Set default culture to English+var defaultCulture = new CultureInfo("en");+CultureInfo.DefaultThreadCurrentCulture = defaultCulture;+CultureInfo.DefaultThreadCurrentUICulture = defaultCulture;+builder.Services.AddLogging(logging =>{if (builder.HostEnvironment.IsDevelopment())diff --git a/apps/server/AliasVault.Client/Resources/Components/Auth/Login.en.resx b/apps/server/AliasVault.Client/Resources/Components/Auth/Login.en.resxnew file mode 100644index 000000000..23d5e7d16--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Auth/Login.en.resx@@ -0,0 +1,185 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>++ <!-- Page titles -->+ <data name="PageTitle" xml:space="preserve">+ <value>Log in to AliasVault</value>+ <comment>Main login page title</comment>+ </data>+ <data name="TwoFactorAuthenticationTitle" xml:space="preserve">+ <value>Two-factor authentication</value>+ <comment>Title for 2FA step</comment>+ </data>+ <data name="RecoveryCodeVerificationTitle" xml:space="preserve">+ <value>Recovery code verification</value>+ <comment>Title for recovery code step</comment>+ </data>++ <!-- Form labels -->+ <data name="UsernameOrEmailLabel" xml:space="preserve">+ <value>Your username or email</value>+ <comment>Label for username/email input field</comment>+ </data>+ <data name="PasswordLabel" xml:space="preserve">+ <value>Your password</value>+ <comment>Label for password input field</comment>+ </data>+ <data name="AuthenticatorCodeLabel" xml:space="preserve">+ <value>Authenticator code</value>+ <comment>Label for 2FA code input field</comment>+ </data>+ <data name="RecoveryCodeLabel" xml:space="preserve">+ <value>Recovery Code</value>+ <comment>Label for recovery code input field</comment>+ </data>+ <data name="RememberMeLabel" xml:space="preserve">+ <value>Remember me</value>+ <comment>Label for remember me checkbox</comment>+ </data>+ <data name="RememberMachineLabel" xml:space="preserve">+ <value>Remember this machine</value>+ <comment>Label for remember machine checkbox</comment>+ </data>++ <!-- Buttons -->+ <data name="LoginButton" xml:space="preserve">+ <value>Log in</value>+ <comment>Login button text</comment>+ </data>+ <data name="LoginToAccountButton" xml:space="preserve">+ <value>Login to your account</value>+ <comment>Extended login button text</comment>+ </data>++ <!-- Links -->+ <data name="LostPasswordLink" xml:space="preserve">+ <value>Lost Password?</value>+ <comment>Link text for password recovery</comment>+ </data>+ <data name="CreateNewVaultLink" xml:space="preserve">+ <value>Create new vault</value>+ <comment>Link text for creating a new vault</comment>+ </data>+ <data name="LoginWithRecoveryCodeLink" xml:space="preserve">+ <value>log in with a recovery code</value>+ <comment>Link text for logging in with recovery code</comment>+ </data>+ <data name="LoginWithAuthenticatorLink" xml:space="preserve">+ <value>log in with authenticator code</value>+ <comment>Link text for logging in with authenticator</comment>+ </data>++ <!-- Descriptions and help text -->+ <data name="TwoFactorAuthenticationDescription" xml:space="preserve">+ <value>Your login is protected with an authenticator app. Enter your authenticator code below.</value>+ <comment>Description for 2FA step</comment>+ </data>+ <data name="RecoveryCodeDescription" xml:space="preserve">+ <value>You have requested to log in with a recovery code. A recovery code is a one-time code that can be used to log in to your account. Note that if you don't manually disable 2FA after login, you will be asked for an authenticator code again at the next login.</value>+ <comment>Description for recovery code step</comment>+ </data>+ <data name="NoAccountYetText" xml:space="preserve">+ <value>No account yet?</value>+ <comment>Text before registration link</comment>+ </data>+ <data name="DontHaveAuthenticatorText" xml:space="preserve">+ <value>Don't have access to your authenticator device? You can</value>+ <comment>Text before recovery code link</comment>+ </data>+ <data name="RegainedAccessText" xml:space="preserve">+ <value>Regained access to your authenticator device? You can</value>+ <comment>Text before authenticator login link</comment>+ </data>++ <!-- Loading and status messages -->+ <data name="LoggingInMessage" xml:space="preserve">+ <value>Logging in...</value>+ <comment>Loading message during login process</comment>+ </data>+ <data name="VerifyingTwoFactorCodeMessage" xml:space="preserve">+ <value>Verifying 2FA code...</value>+ <comment>Loading message during 2FA verification</comment>+ </data>+ <data name="VerifyingRecoveryCodeMessage" xml:space="preserve">+ <value>Verifying recovery code...</value>+ <comment>Loading message during recovery code verification</comment>+ </data>++ <!-- Error messages -->+ <data name="LoginErrorMessage" xml:space="preserve">+ <value>An error occurred while processing the login request. Try again (later).</value>+ <comment>Generic login error message</comment>+ </data>+ <data name="LoginRequestErrorMessage" xml:space="preserve">+ <value>An error occurred while processing the login request.</value>+ <comment>Login request processing error message</comment>+ </data>++ <!-- Placeholders -->+ <data name="UsernamePlaceholder" xml:space="preserve">+ <value>name / [email protected]</value>+ <comment>Placeholder text for username input</comment>+ </data>+ <data name="PasswordPlaceholder" xml:space="preserve">+ <value>••••••••</value>+ <comment>Placeholder text for password input</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Auth/Login.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Auth/Login.nl.resxnew file mode 100644index 000000000..8ee323a6f--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Auth/Login.nl.resx@@ -0,0 +1,185 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>++ <!-- Page titles -->+ <data name="PageTitle" xml:space="preserve">+ <value>Inloggen bij AliasVault</value>+ <comment>Main login page title</comment>+ </data>+ <data name="TwoFactorAuthenticationTitle" xml:space="preserve">+ <value>Twee-factor authenticatie</value>+ <comment>Title for 2FA step</comment>+ </data>+ <data name="RecoveryCodeVerificationTitle" xml:space="preserve">+ <value>Herstelcode verificatie</value>+ <comment>Title for recovery code step</comment>+ </data>++ <!-- Form labels -->+ <data name="UsernameOrEmailLabel" xml:space="preserve">+ <value>Uw gebruikersnaam of e-mail</value>+ <comment>Label for username/email input field</comment>+ </data>+ <data name="PasswordLabel" xml:space="preserve">+ <value>Uw wachtwoord</value>+ <comment>Label for password input field</comment>+ </data>+ <data name="AuthenticatorCodeLabel" xml:space="preserve">+ <value>Authenticator code</value>+ <comment>Label for 2FA code input field</comment>+ </data>+ <data name="RecoveryCodeLabel" xml:space="preserve">+ <value>Herstelcode</value>+ <comment>Label for recovery code input field</comment>+ </data>+ <data name="RememberMeLabel" xml:space="preserve">+ <value>Onthoud mij</value>+ <comment>Label for remember me checkbox</comment>+ </data>+ <data name="RememberMachineLabel" xml:space="preserve">+ <value>Onthoud dit apparaat</value>+ <comment>Label for remember machine checkbox</comment>+ </data>++ <!-- Buttons -->+ <data name="LoginButton" xml:space="preserve">+ <value>Inloggen</value>+ <comment>Login button text</comment>+ </data>+ <data name="LoginToAccountButton" xml:space="preserve">+ <value>Inloggen op uw account</value>+ <comment>Extended login button text</comment>+ </data>++ <!-- Links -->+ <data name="LostPasswordLink" xml:space="preserve">+ <value>Wachtwoord vergeten?</value>+ <comment>Link text for password recovery</comment>+ </data>+ <data name="CreateNewVaultLink" xml:space="preserve">+ <value>Nieuwe kluis aanmaken</value>+ <comment>Link text for creating a new vault</comment>+ </data>+ <data name="LoginWithRecoveryCodeLink" xml:space="preserve">+ <value>inloggen met een herstelcode</value>+ <comment>Link text for logging in with recovery code</comment>+ </data>+ <data name="LoginWithAuthenticatorLink" xml:space="preserve">+ <value>inloggen met authenticator code</value>+ <comment>Link text for logging in with authenticator</comment>+ </data>++ <!-- Descriptions and help text -->+ <data name="TwoFactorAuthenticationDescription" xml:space="preserve">+ <value>Uw login is beveiligd met een authenticator app. Voer uw authenticator code hieronder in.</value>+ <comment>Description for 2FA step</comment>+ </data>+ <data name="RecoveryCodeDescription" xml:space="preserve">+ <value>U heeft gevraagd om in te loggen met een herstelcode. Een herstelcode is een eenmalige code die gebruikt kan worden om in te loggen op uw account. Let op: als u 2FA niet handmatig uitschakelt na het inloggen, zal u bij de volgende login opnieuw gevraagd worden om een authenticator code.</value>+ <comment>Description for recovery code step</comment>+ </data>+ <data name="NoAccountYetText" xml:space="preserve">+ <value>Nog geen account?</value>+ <comment>Text before registration link</comment>+ </data>+ <data name="DontHaveAuthenticatorText" xml:space="preserve">+ <value>Geen toegang tot uw authenticator apparaat? U kunt</value>+ <comment>Text before recovery code link</comment>+ </data>+ <data name="RegainedAccessText" xml:space="preserve">+ <value>Weer toegang tot uw authenticator apparaat? U kunt</value>+ <comment>Text before authenticator login link</comment>+ </data>++ <!-- Loading and status messages -->+ <data name="LoggingInMessage" xml:space="preserve">+ <value>Inloggen...</value>+ <comment>Loading message during login process</comment>+ </data>+ <data name="VerifyingTwoFactorCodeMessage" xml:space="preserve">+ <value>2FA code verifiëren...</value>+ <comment>Loading message during 2FA verification</comment>+ </data>+ <data name="VerifyingRecoveryCodeMessage" xml:space="preserve">+ <value>Herstelcode verifiëren...</value>+ <comment>Loading message during recovery code verification</comment>+ </data>++ <!-- Error messages -->+ <data name="LoginErrorMessage" xml:space="preserve">+ <value>Er is een fout opgetreden bij het verwerken van het inlogverzoek. Probeer het (later) opnieuw.</value>+ <comment>Generic login error message</comment>+ </data>+ <data name="LoginRequestErrorMessage" xml:space="preserve">+ <value>Er is een fout opgetreden bij het verwerken van het inlogverzoek.</value>+ <comment>Login request processing error message</comment>+ </data>++ <!-- Placeholders -->+ <data name="UsernamePlaceholder" xml:space="preserve">+ <value>naam / [email protected]</value>+ <comment>Placeholder text for username input</comment>+ </data>+ <data name="PasswordPlaceholder" xml:space="preserve">+ <value>••••••••</value>+ <comment>Placeholder text for password input</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Auth/Register.en.resx b/apps/server/AliasVault.Client/Resources/Components/Auth/Register.en.resxnew file mode 100644index 000000000..0c9574444--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Auth/Register.en.resx@@ -0,0 +1,127 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>++ <!-- Page title -->+ <data name="PageTitle" xml:space="preserve">+ <value>Create a new AliasVault account</value>+ <comment>Main registration page title</comment>+ </data>++ <!-- Form labels -->+ <data name="UsernameOrEmailLabel" xml:space="preserve">+ <value>Your username or email</value>+ <comment>Label for username/email input field</comment>+ </data>+ <data name="PasswordLabel" xml:space="preserve">+ <value>Your password</value>+ <comment>Label for password input field</comment>+ </data>+ <data name="ConfirmPasswordLabel" xml:space="preserve">+ <value>Confirm password</value>+ <comment>Label for password confirmation input field</comment>+ </data>++ <!-- Terms and conditions -->+ <data name="AcceptTermsLabel" xml:space="preserve">+ <value>I accept the</value>+ <comment>Text before terms and conditions link</comment>+ </data>+ <data name="TermsAndConditionsLink" xml:space="preserve">+ <value>Terms and Conditions</value>+ <comment>Link text for terms and conditions</comment>+ </data>++ <!-- Buttons -->+ <data name="CreateAccountButton" xml:space="preserve">+ <value>Create account</value>+ <comment>Create account button text</comment>+ </data>++ <!-- Links -->+ <data name="AlreadyRegisteredText" xml:space="preserve">+ <value>Already registered?</value>+ <comment>Text before login link</comment>+ </data>+ <data name="LoginHereLink" xml:space="preserve">+ <value>Login here</value>+ <comment>Link text for login page</comment>+ </data>++ <!-- Loading and status messages -->+ <data name="CreatingAccountMessage" xml:space="preserve">+ <value>Creating account...</value>+ <comment>Loading message during account creation</comment>+ </data>+ <data name="RegistrationErrorMessage" xml:space="preserve">+ <value>An error occurred during registration.</value>+ <comment>Generic registration error message</comment>+ </data>++ <!-- Placeholders -->+ <data name="UsernamePlaceholder" xml:space="preserve">+ <value>name / [email protected]</value>+ <comment>Placeholder text for username input</comment>+ </data>+ <data name="PasswordPlaceholder" xml:space="preserve">+ <value>••••••••</value>+ <comment>Placeholder text for password input</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Auth/Register.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Auth/Register.nl.resxnew file mode 100644index 000000000..4a02939ca--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Auth/Register.nl.resx@@ -0,0 +1,127 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>++ <!-- Page title -->+ <data name="PageTitle" xml:space="preserve">+ <value>Maak een nieuw AliasVault account aan</value>+ <comment>Main registration page title</comment>+ </data>++ <!-- Form labels -->+ <data name="UsernameOrEmailLabel" xml:space="preserve">+ <value>Uw gebruikersnaam of e-mail</value>+ <comment>Label for username/email input field</comment>+ </data>+ <data name="PasswordLabel" xml:space="preserve">+ <value>Uw wachtwoord</value>+ <comment>Label for password input field</comment>+ </data>+ <data name="ConfirmPasswordLabel" xml:space="preserve">+ <value>Bevestig wachtwoord</value>+ <comment>Label for password confirmation input field</comment>+ </data>++ <!-- Terms and conditions -->+ <data name="AcceptTermsLabel" xml:space="preserve">+ <value>Ik accepteer de</value>+ <comment>Text before terms and conditions link</comment>+ </data>+ <data name="TermsAndConditionsLink" xml:space="preserve">+ <value>Algemene Voorwaarden</value>+ <comment>Link text for terms and conditions</comment>+ </data>++ <!-- Buttons -->+ <data name="CreateAccountButton" xml:space="preserve">+ <value>Account aanmaken</value>+ <comment>Create account button text</comment>+ </data>++ <!-- Links -->+ <data name="AlreadyRegisteredText" xml:space="preserve">+ <value>Al geregistreerd?</value>+ <comment>Text before login link</comment>+ </data>+ <data name="LoginHereLink" xml:space="preserve">+ <value>Hier inloggen</value>+ <comment>Link text for login page</comment>+ </data>++ <!-- Loading and status messages -->+ <data name="CreatingAccountMessage" xml:space="preserve">+ <value>Account aanmaken...</value>+ <comment>Loading message during account creation</comment>+ </data>+ <data name="RegistrationErrorMessage" xml:space="preserve">+ <value>Er is een fout opgetreden tijdens de registratie.</value>+ <comment>Generic registration error message</comment>+ </data>++ <!-- Placeholders -->+ <data name="UsernamePlaceholder" xml:space="preserve">+ <value>naam / [email protected]</value>+ <comment>Placeholder text for username input</comment>+ </data>+ <data name="PasswordPlaceholder" xml:space="preserve">+ <value>••••••••</value>+ <comment>Placeholder text for password input</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/Home.en.resx b/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/Home.en.resxnew file mode 100644index 000000000..4b9f3d498--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/Home.en.resx@@ -0,0 +1,137 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>++ <!-- Page Header -->+ <data name="PageTitle" xml:space="preserve">+ <value>Credentials</value>+ <comment>Main credentials page title</comment>+ </data>+ <data name="PageDescription" xml:space="preserve">+ <value>Find all of your credentials below.</value>+ <comment>Page description text</comment>+ </data>++ <!-- Settings Dropdown -->+ <data name="ViewModeLabel" xml:space="preserve">+ <value>View Mode</value>+ <comment>Label for view mode dropdown</comment>+ </data>+ <data name="GridViewOption" xml:space="preserve">+ <value>Grid View</value>+ <comment>Grid view option in dropdown</comment>+ </data>+ <data name="TableViewOption" xml:space="preserve">+ <value>Table View</value>+ <comment>Table view option in dropdown</comment>+ </data>+ <data name="SortOrderLabel" xml:space="preserve">+ <value>Sort Order</value>+ <comment>Label for sort order dropdown</comment>+ </data>+ <data name="OldestFirstOption" xml:space="preserve">+ <value>Oldest First</value>+ <comment>Oldest first sort option</comment>+ </data>+ <data name="NewestFirstOption" xml:space="preserve">+ <value>Newest First</value>+ <comment>Newest first sort option</comment>+ </data>++ <!-- Empty State -->+ <data name="NoCredentialsTitle" xml:space="preserve">+ <value>No credentials yet</value>+ <comment>Title when no credentials exist</comment>+ </data>+ <data name="CreateFirstCredentialText" xml:space="preserve">+ <value>Create your first credential using the</value>+ <comment>Text explaining how to create first credential</comment>+ </data>+ <data name="NewAliasButtonText" xml:space="preserve">+ <value>"+ New Alias"</value>+ <comment>Text reference to the New Alias button (desktop)</comment>+ </data>+ <data name="NewAliasButtonTextMobile" xml:space="preserve">+ <value>"+"</value>+ <comment>Text reference to the New Alias button (mobile)</comment>+ </data>+ <data name="ButtonLocationText" xml:space="preserve">+ <value>button in the top right corner.</value>+ <comment>Text describing button location</comment>+ </data>+ <data name="OrText" xml:space="preserve">+ <value>or</value>+ <comment>Separator text between options</comment>+ </data>+ <data name="ImportCredentialsText" xml:space="preserve">+ <value>If you previously used a different password manager, you can import your credentials from it.</value>+ <comment>Text explaining import option</comment>+ </data>+ <data name="ImportButtonText" xml:space="preserve">+ <value>Import from KeePass, Bitwarden, Chrome, Firefox...</value>+ <comment>Import button text</comment>+ </data>++ <!-- Error Messages -->+ <data name="FailedToLoadCredentialsMessage" xml:space="preserve">+ <value>Failed to load credentials.</value>+ <comment>Error message when credentials fail to load</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/Home.nl.resx b/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/Home.nl.resxnew file mode 100644index 000000000..0da90dabc--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/Home.nl.resx@@ -0,0 +1,137 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>++ <!-- Page Header -->+ <data name="PageTitle" xml:space="preserve">+ <value>Inloggegevens</value>+ <comment>Main credentials page title</comment>+ </data>+ <data name="PageDescription" xml:space="preserve">+ <value>Vind al uw inloggegevens hieronder.</value>+ <comment>Page description text</comment>+ </data>++ <!-- Settings Dropdown -->+ <data name="ViewModeLabel" xml:space="preserve">+ <value>Weergavemodus</value>+ <comment>Label for view mode dropdown</comment>+ </data>+ <data name="GridViewOption" xml:space="preserve">+ <value>Rasterweergave</value>+ <comment>Grid view option in dropdown</comment>+ </data>+ <data name="TableViewOption" xml:space="preserve">+ <value>Tabelweergave</value>+ <comment>Table view option in dropdown</comment>+ </data>+ <data name="SortOrderLabel" xml:space="preserve">+ <value>Sorteervolgorde</value>+ <comment>Label for sort order dropdown</comment>+ </data>+ <data name="OldestFirstOption" xml:space="preserve">+ <value>Oudste eerst</value>+ <comment>Oldest first sort option</comment>+ </data>+ <data name="NewestFirstOption" xml:space="preserve">+ <value>Nieuwste eerst</value>+ <comment>Newest first sort option</comment>+ </data>++ <!-- Empty State -->+ <data name="NoCredentialsTitle" xml:space="preserve">+ <value>Nog geen inloggegevens</value>+ <comment>Title when no credentials exist</comment>+ </data>+ <data name="CreateFirstCredentialText" xml:space="preserve">+ <value>Maak uw eerste inloggegevens aan met de</value>+ <comment>Text explaining how to create first credential</comment>+ </data>+ <data name="NewAliasButtonText" xml:space="preserve">+ <value>"+ Nieuwe Alias"</value>+ <comment>Text reference to the New Alias button (desktop)</comment>+ </data>+ <data name="NewAliasButtonTextMobile" xml:space="preserve">+ <value>"+"</value>+ <comment>Text reference to the New Alias button (mobile)</comment>+ </data>+ <data name="ButtonLocationText" xml:space="preserve">+ <value>knop rechtsboven.</value>+ <comment>Text describing button location</comment>+ </data>+ <data name="OrText" xml:space="preserve">+ <value>of</value>+ <comment>Separator text between options</comment>+ </data>+ <data name="ImportCredentialsText" xml:space="preserve">+ <value>Als u eerder een andere wachtwoordmanager gebruikt heeft, kunt u uw inloggegevens daarvan importeren.</value>+ <comment>Text explaining import option</comment>+ </data>+ <data name="ImportButtonText" xml:space="preserve">+ <value>Importeren van KeePass, Bitwarden, Chrome, Firefox...</value>+ <comment>Import button text</comment>+ </data>++ <!-- Error Messages -->+ <data name="FailedToLoadCredentialsMessage" xml:space="preserve">+ <value>Laden van inloggegevens mislukt.</value>+ <comment>Error message when credentials fail to load</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/SharedResources.cs b/apps/server/AliasVault.Client/Resources/SharedResources.csnew file mode 100644index 000000000..dc7d995b8--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/SharedResources.cs@@ -0,0 +1,16 @@+//-----------------------------------------------------------------------+// <copyright file="SharedResources.cs" company="lanedirt">+// Copyright (c) lanedirt. All rights reserved.+// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.+// </copyright>+//-----------------------------------------------------------------------++namespace AliasVault.Client.Resources;++/// <summary>+/// Shared resources class for localization.+/// This class is used as a marker for shared string resources that are used across multiple components.+/// </summary>+public class SharedResources+{+}diff --git a/apps/server/AliasVault.Client/Resources/SharedResources.en.resx b/apps/server/AliasVault.Client/Resources/SharedResources.en.resxnew file mode 100644index 000000000..cf685fd9a--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/SharedResources.en.resx@@ -0,0 +1,256 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>++ <!-- Common UI elements -->+ <data name="Save" xml:space="preserve">+ <value>Save</value>+ <comment>Button text for saving changes</comment>+ </data>+ <data name="Cancel" xml:space="preserve">+ <value>Cancel</value>+ <comment>Button text for canceling an action</comment>+ </data>+ <data name="Delete" xml:space="preserve">+ <value>Delete</value>+ <comment>Button text for deleting an item</comment>+ </data>+ <data name="Edit" xml:space="preserve">+ <value>Edit</value>+ <comment>Button text for editing an item</comment>+ </data>+ <data name="Close" xml:space="preserve">+ <value>Close</value>+ <comment>Button text for closing a dialog or modal</comment>+ </data>+ <data name="Back" xml:space="preserve">+ <value>Back</value>+ <comment>Button text for going back</comment>+ </data>+ <data name="Next" xml:space="preserve">+ <value>Next</value>+ <comment>Button text for proceeding to the next step</comment>+ </data>+ <data name="Loading" xml:space="preserve">+ <value>Loading...</value>+ <comment>Loading message displayed during async operations</comment>+ </data>+ <data name="Yes" xml:space="preserve">+ <value>Yes</value>+ <comment>Confirmation button text</comment>+ </data>+ <data name="No" xml:space="preserve">+ <value>No</value>+ <comment>Rejection button text</comment>+ </data>+ <data name="Ok" xml:space="preserve">+ <value>OK</value>+ <comment>OK button text</comment>+ </data>+ <data name="Continue" xml:space="preserve">+ <value>Continue</value>+ <comment>Button text to continue with an action</comment>+ </data>+ <data name="Confirm" xml:space="preserve">+ <value>Confirm</value>+ <comment>Button text to confirm an action</comment>+ </data>+ <data name="Refresh" xml:space="preserve">+ <value>Refresh</value>+ <comment>Button text to refresh content</comment>+ </data>++ <!-- Common form elements -->+ <data name="Email" xml:space="preserve">+ <value>Email</value>+ <comment>Label for email input field</comment>+ </data>+ <data name="Password" xml:space="preserve">+ <value>Password</value>+ <comment>Label for password input field</comment>+ </data>+ <data name="Username" xml:space="preserve">+ <value>Username</value>+ <comment>Label for username input field</comment>+ </data>+ <data name="Name" xml:space="preserve">+ <value>Name</value>+ <comment>Label for name input field</comment>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Description</value>+ <comment>Label for description input field</comment>+ </data>+ <data name="Title" xml:space="preserve">+ <value>Title</value>+ <comment>Label for title input field</comment>+ </data>+ <data name="Notes" xml:space="preserve">+ <value>Notes</value>+ <comment>Label for notes input field</comment>+ </data>+ <data name="Website" xml:space="preserve">+ <value>Website</value>+ <comment>Label for website input field</comment>+ </data>+ <data name="Search" xml:space="preserve">+ <value>Search</value>+ <comment>Label for search input field</comment>+ </data>++ <!-- Common error messages -->+ <data name="ErrorGeneric" xml:space="preserve">+ <value>An error occurred. Please try again.</value>+ <comment>Generic error message</comment>+ </data>+ <data name="ErrorValidation" xml:space="preserve">+ <value>Please correct the errors below.</value>+ <comment>Validation error message</comment>+ </data>+ <data name="ErrorRequired" xml:space="preserve">+ <value>This field is required.</value>+ <comment>Required field validation error</comment>+ </data>+ <data name="ErrorInvalidEmail" xml:space="preserve">+ <value>Please enter a valid email address.</value>+ <comment>Invalid email validation error</comment>+ </data>+ <data name="ErrorPasswordMismatch" xml:space="preserve">+ <value>Passwords do not match.</value>+ <comment>Password confirmation mismatch error</comment>+ </data>++ <!-- Common status messages -->+ <data name="Success" xml:space="preserve">+ <value>Success</value>+ <comment>Success status message</comment>+ </data>+ <data name="Warning" xml:space="preserve">+ <value>Warning</value>+ <comment>Warning status message</comment>+ </data>+ <data name="Error" xml:space="preserve">+ <value>Error</value>+ <comment>Error status message</comment>+ </data>+ <data name="Info" xml:space="preserve">+ <value>Info</value>+ <comment>Information status message</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/SharedResources.nl.resx b/apps/server/AliasVault.Client/Resources/SharedResources.nl.resxnew file mode 100644index 000000000..a7ae50480--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/SharedResources.nl.resx@@ -0,0 +1,256 @@+<?xml version="1.0" encoding="utf-8"?>+<root>+ <!--+ Microsoft ResX Schema++ Version 2.0++ The primary goals of this format is to allow a simple XML format+ that is mostly human readable. The generation and parsing of the+ various data types are done through the TypeConverter classes+ associated with the data types.++ Example:++ ... ado.net/XML headers & schema ...+ <resheader name="resmimetype">text/microsoft-resx</resheader>+ <resheader name="version">2.0</resheader>+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">+ <value>[base64 mime encoded serialized .NET Framework object]</value>+ </data>+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>+ <comment>This is a comment</comment>+ </data>++ There are any number of "resheader" rows that contain simple+ name/value pairs.++ Each data row contains a name, and value. The row also contains a+ type or mimetype. Type corresponds to a .NET class that support+ text/value conversion through the TypeConverter architecture.+ Classes that don't support this are serialized and stored with the+ mimetype set.++ The mimetype is used for serialized objects, and tells the+ ResXResourceReader how to depersist the object. This is currently not+ extensible. For a given mimetype the value must be set accordingly:++ Note - application/x-microsoft.net.object.binary.base64 is the format+ that the ResXResourceWriter will generate, however the reader can+ read any of the formats listed below.++ mimetype: application/x-microsoft.net.object.binary.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.soap.base64+ value : The object must be serialized with+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter+ : and then encoded with base64 encoding.++ mimetype: application/x-microsoft.net.object.bytearray.base64+ value : The object must be serialized into a byte array+ : using a System.ComponentModel.TypeConverter+ : and then encoded with base64 encoding.+ -->+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />+ <xsd:element name="root" msdata:IsDataSet="true">+ <xsd:complexType>+ <xsd:choice maxOccurs="unbounded">+ <xsd:element name="metadata">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="assembly">+ <xsd:complexType>+ <xsd:attribute name="alias" type="xsd:string" />+ <xsd:attribute name="name" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="data">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ <xsd:attribute name="type" type="xsd:string" />+ <xsd:attribute name="mimetype" type="xsd:string" />+ <xsd:attribute ref="xml:space" />+ </xsd:complexType>+ </xsd:element>+ <xsd:element name="resheader">+ <xsd:complexType>+ <xsd:sequence>+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />+ </xsd:sequence>+ <xsd:attribute name="name" use="required" type="xsd:string" />+ </xsd:complexType>+ </xsd:element>+ </xsd:choice>+ </xsd:complexType>+ </xsd:element>+ </xsd:schema>+ <resheader name="resmimetype">+ <value>text/microsoft-resx</value>+ </resheader>+ <resheader name="version">+ <value>2.0</value>+ </resheader>+ <resheader name="reader">+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>+ <resheader name="writer">+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>+ </resheader>++ <!-- Common UI elements -->+ <data name="Save" xml:space="preserve">+ <value>Opslaan</value>+ <comment>Button text for saving changes</comment>+ </data>+ <data name="Cancel" xml:space="preserve">+ <value>Annuleren</value>+ <comment>Button text for canceling an action</comment>+ </data>+ <data name="Delete" xml:space="preserve">+ <value>Verwijderen</value>+ <comment>Button text for deleting an item</comment>+ </data>+ <data name="Edit" xml:space="preserve">+ <value>Bewerken</value>+ <comment>Button text for editing an item</comment>+ </data>+ <data name="Close" xml:space="preserve">+ <value>Sluiten</value>+ <comment>Button text for closing a dialog or modal</comment>+ </data>+ <data name="Back" xml:space="preserve">+ <value>Terug</value>+ <comment>Button text for going back</comment>+ </data>+ <data name="Next" xml:space="preserve">+ <value>Volgende</value>+ <comment>Button text for proceeding to the next step</comment>+ </data>+ <data name="Loading" xml:space="preserve">+ <value>Laden...</value>+ <comment>Loading message displayed during async operations</comment>+ </data>+ <data name="Yes" xml:space="preserve">+ <value>Ja</value>+ <comment>Confirmation button text</comment>+ </data>+ <data name="No" xml:space="preserve">+ <value>Nee</value>+ <comment>Rejection button text</comment>+ </data>+ <data name="Ok" xml:space="preserve">+ <value>OK</value>+ <comment>OK button text</comment>+ </data>+ <data name="Continue" xml:space="preserve">+ <value>Doorgaan</value>+ <comment>Button text to continue with an action</comment>+ </data>+ <data name="Confirm" xml:space="preserve">+ <value>Bevestigen</value>+ <comment>Button text to confirm an action</comment>+ </data>+ <data name="Refresh" xml:space="preserve">+ <value>Vernieuwen</value>+ <comment>Button text to refresh content</comment>+ </data>++ <!-- Common form elements -->+ <data name="Email" xml:space="preserve">+ <value>E-mail</value>+ <comment>Label for email input field</comment>+ </data>+ <data name="Password" xml:space="preserve">+ <value>Wachtwoord</value>+ <comment>Label for password input field</comment>+ </data>+ <data name="Username" xml:space="preserve">+ <value>Gebruikersnaam</value>+ <comment>Label for username input field</comment>+ </data>+ <data name="Name" xml:space="preserve">+ <value>Naam</value>+ <comment>Label for name input field</comment>+ </data>+ <data name="Description" xml:space="preserve">+ <value>Beschrijving</value>+ <comment>Label for description input field</comment>+ </data>+ <data name="Title" xml:space="preserve">+ <value>Titel</value>+ <comment>Label for title input field</comment>+ </data>+ <data name="Notes" xml:space="preserve">+ <value>Notities</value>+ <comment>Label for notes input field</comment>+ </data>+ <data name="Website" xml:space="preserve">+ <value>Website</value>+ <comment>Label for website input field</comment>+ </data>+ <data name="Search" xml:space="preserve">+ <value>Zoeken</value>+ <comment>Label for search input field</comment>+ </data>++ <!-- Common error messages -->+ <data name="ErrorGeneric" xml:space="preserve">+ <value>Er is een fout opgetreden. Probeer het opnieuw.</value>+ <comment>Generic error message</comment>+ </data>+ <data name="ErrorValidation" xml:space="preserve">+ <value>Corrigeer de onderstaande fouten.</value>+ <comment>Validation error message</comment>+ </data>+ <data name="ErrorRequired" xml:space="preserve">+ <value>Dit veld is verplicht.</value>+ <comment>Required field validation error</comment>+ </data>+ <data name="ErrorInvalidEmail" xml:space="preserve">+ <value>Voer een geldig e-mailadres in.</value>+ <comment>Invalid email validation error</comment>+ </data>+ <data name="ErrorPasswordMismatch" xml:space="preserve">+ <value>Wachtwoorden komen niet overeen.</value>+ <comment>Password confirmation mismatch error</comment>+ </data>++ <!-- Common status messages -->+ <data name="Success" xml:space="preserve">+ <value>Succes</value>+ <comment>Success status message</comment>+ </data>+ <data name="Warning" xml:space="preserve">+ <value>Waarschuwing</value>+ <comment>Warning status message</comment>+ </data>+ <data name="Error" xml:space="preserve">+ <value>Fout</value>+ <comment>Error status message</comment>+ </data>+ <data name="Info" xml:space="preserve">+ <value>Informatie</value>+ <comment>Information status message</comment>+ </data>+</root>\ No newline at end of file