Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Localize all import/export subcomponents (#820)
Leendert de Borst67d4a0b8ff46
diff --git a/apps/server/AliasVault.Client/Main/Components/TotpCodes/TotpCodes.razor b/apps/server/AliasVault.Client/Main/Components/TotpCodes/TotpCodes.razorindex 2891d1d06..152cd0f2e 100644--- a/apps/server/AliasVault.Client/Main/Components/TotpCodes/TotpCodes.razor+++ b/apps/server/AliasVault.Client/Main/Components/TotpCodes/TotpCodes.razor@@ -1,19 +1,22 @@@inherits ComponentBase@inject GlobalNotificationService GlobalNotificationService@inject ConfirmModalService ConfirmModalService+@inject IStringLocalizerFactory LocalizerFactory@using AliasVault.RazorComponents.Services@using TotpGenerator+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources<div class="p-4 mb-4 bg-white border border-gray-200 rounded-lg shadow-sm 2xl:col-span-2 dark:border-gray-700 sm:p-6 dark:bg-gray-800"><div class="flex justify-between"><div>- <h3 class="mb-4 text-xl font-semibold dark:text-white">Two-factor authentication</h3>+ <h3 class="mb-4 text-xl font-semibold dark:text-white">@Localizer["TwoFactorAuthenticationTitle"]</h3></div>@if (TotpCodeList.Any(t => !t.IsDeleted) && !IsAddFormVisible){<div><button id="add-totp-code" @onclick="ShowAddForm" type="button" class="text-blue-700 hover:text-white border border-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-3 py-2 text-center dark:border-blue-500 dark:text-blue-500 dark:hover:text-white dark:hover:bg-blue-600 dark:focus:ring-blue-800">- Add TOTP Code+ @Localizer["AddTotpCodeButton"]</button></div>}@@ -22,7 +25,7 @@@if ((TotpCodeList.Count == 0 || TotpCodeList.All(t => t.IsDeleted)) && !IsAddFormVisible){<div class="flex flex-col justify-center">- <p class="text-gray-500 dark:text-gray-400"><a @onclick="ShowAddForm" id="add-totp-code" href="javascript:void(0)" class="text-blue-600 hover:text-blue-800 dark:text-blue-500 dark:hover:text-blue-400">Add a two-factor authenticator code</a></p>+ <p class="text-gray-500 dark:text-gray-400"><a @onclick="ShowAddForm" id="add-totp-code" href="javascript:void(0)" class="text-blue-600 hover:text-blue-800 dark:text-blue-500 dark:hover:text-blue-400">@Localizer["AddTotpCodeDescription"]</a></p></div>}else@@ -33,28 +36,28 @@<EditForm Model="@NewTotpCode" OnValidSubmit="AddTotpCode"><DataAnnotationsValidator /><div class="flex justify-between items-center mb-4">- <h4 class="text-lg font-medium text-gray-900 dark:text-white">Add 2FA TOTP Code</h4>+ <h4 class="text-lg font-medium text-gray-900 dark:text-white">@Localizer["AddTotpCodeModalTitle"]</h4><button @onclick="HideAddForm" type="button" class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white"><svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/></svg>- <span class="sr-only">Close form</span>+ <span class="sr-only">@Localizer["CloseFormButton"]</span></button></div>- <p class="mb-4 text-sm text-gray-500 dark:text-gray-400">If the website offers or requires 2FA for your account (such as Google Authenticator), you can use AliasVault instead to generate the codes for you.</p>+ <p class="mb-4 text-sm text-gray-500 dark:text-gray-400">@Localizer["TotpInstructions"]</p><div class="mb-4">- <label for="name" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Name (optional)</label>+ <label for="name" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["NameOptionalLabel"]</label><InputText id="name" @bind-Value="NewTotpCode.Name" 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-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" /><ValidationMessage For="@(() => NewTotpCode.Name)" class="text-red-600 dark:text-red-400 text-sm mt-1" /></div><div class="mb-4">- <label for="secretKey" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Secret Key</label>- <InputText id="secretKey" @bind-Value="NewTotpCode.SecretKey" 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-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" placeholder="Enter secret key (manual entry)" />+ <label for="secretKey" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Localizer["SecretKeyLabel"]</label>+ <InputText id="secretKey" @bind-Value="NewTotpCode.SecretKey" 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-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white" placeholder="@Localizer["SecretKeyPlaceholder"]" /><ValidationMessage For="@(() => NewTotpCode.SecretKey)" class="text-red-600 dark:text-red-400 text-sm mt-1" /></div><div class="flex justify-end"><button id="save-totp-code" type="submit" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">- Save+ @Localizer["SaveButton"]</button></div></EditForm>@@ -71,7 +74,7 @@</div><div class="flex items-center gap-2"><div class="flex flex-col items-end">- <div class="text-sm text-gray-500 dark:text-gray-400">Save to view code</div>+ <div class="text-sm text-gray-500 dark:text-gray-400">@Localizer["SaveToViewCodeMessage"]</div></div><button type="button" @onclick="() => DeleteTotpCode(totpCode)" class="delete-totp-code text-red-600 hover:text-red-800 dark:text-red-500 dark:hover:text-red-400"><svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">@@ -87,6 +90,8 @@</div>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Components.TotpCodes.TotpCodes", "AliasVault.Client");+/// <summary>/// The list of TOTP codes./// </summary>@@ -173,7 +178,7 @@private async Task DeleteTotpCode(TotpCode totpCode){// Show confirmation modal.- var result = await ConfirmModalService.ShowConfirmation("Delete TOTP code", "Are you sure you want to delete this TOTP code?");+ var result = await ConfirmModalService.ShowConfirmation(Localizer["DeleteTotpCodeTitle"], Localizer["DeleteTotpCodeConfirmation"]);if (!result){return;diff --git a/apps/server/AliasVault.Client/Main/Components/TotpCodes/TotpViewer.razor b/apps/server/AliasVault.Client/Main/Components/TotpCodes/TotpViewer.razorindex 343396ade..da123ecd3 100644--- a/apps/server/AliasVault.Client/Main/Components/TotpCodes/TotpViewer.razor+++ b/apps/server/AliasVault.Client/Main/Components/TotpCodes/TotpViewer.razor@@ -1,13 +1,16 @@@inherits ComponentBase@inject ClipboardCopyService ClipboardCopyService@inject JsInteropService JsInteropService+@inject IStringLocalizerFactory LocalizerFactory@implements IDisposable@using TotpGenerator+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources<div class="p-4 mb-4 bg-white border border-gray-200 rounded-lg shadow-sm 2xl:col-span-2 dark:border-gray-700 sm:p-6 dark:bg-gray-800"><div class="flex justify-between"><div>- <h3 class="mb-4 text-xl font-semibold dark:text-white">Two-factor authentication</h3>+ <h3 class="mb-4 text-xl font-semibold dark:text-white">@Localizer["TwoFactorAuthenticationTitle"]</h3></div></div>@@ -18,7 +21,7 @@else if (TotpCodeList.Count == 0){<div class="flex flex-col justify-center">- <p class="text-gray-500 dark:text-gray-400">No two-factor authenticator codes available</p>+ <p class="text-gray-500 dark:text-gray-400">@Localizer["NoTotpCodesMessage"]</p></div>}else@@ -39,7 +42,7 @@<div class="text-xs">@if (IsCopied(totpCode.Id.ToString())){- <span class="text-green-600 dark:text-green-400">Copied!</span>+ <span class="text-green-600 dark:text-green-400">@Localizer["CopiedMessage"]</span>}else{@@ -59,6 +62,8 @@</div>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Components.TotpCodes.TotpViewer", "AliasVault.Client");+/// <summary>/// The list of TOTP codes to display./// </summary>diff --git a/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor b/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razorindex e518d99ec..a72b60715 100644--- a/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor+++ b/apps/server/AliasVault.Client/Main/Components/Widgets/CreateNewIdentityWidget.razor@@ -1,12 +1,15 @@@using System.ComponentModel.DataAnnotations+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inherits AliasVault.Client.Main.Pages.MainBase@inject IJSRuntime JSRuntime@inject CredentialService CredentialService@inject AliasVault.Client.Services.QuickCreateStateService QuickCreateStateService+@inject IStringLocalizerFactory LocalizerFactory@implements IAsyncDisposable<button @ref="buttonRef" @onclick="TogglePopup" id="quickIdentityButton" class="px-4 py-2 text-sm font-medium text-white bg-gradient-to-r from-primary-500 to-primary-600 hover:from-primary-600 hover:to-primary-700 focus:outline-none dark:from-primary-400 dark:to-primary-500 dark:hover:from-primary-500 dark:hover:to-primary-600 rounded-md shadow-sm transition duration-150 ease-in-out transform hover:scale-105 active:scale-95 focus:shadow-outline">- + <span class="hidden md:inline">New Alias</span>+ @Localizer["NewAliasButtonShort"] <span class="hidden md:inline">@Localizer["NewAliasButtonText"].Value.Substring(1).Trim()</span></button>@if (IsPopupVisible)@@ -14,25 +17,25 @@<ClickOutsideHandler OnClose="ClosePopup" ContentId="quickIdentityPopup,quickIdentityButton"><div id="quickIdentityPopup" class="absolute z-50 mt-2 p-4 bg-white rounded-lg shadow-xl border border-gray-300 dark:bg-gray-800 dark:border-gray-400"style="@PopupStyle">- <h3 class="text-lg font-semibold mb-4 text-gray-900 dark:text-white">Create New Alias</h3>+ <h3 class="text-lg font-semibold mb-4 text-gray-900 dark:text-white">@Localizer["CreateNewAliasTitle"]</h3><EditForm Model="Model" OnValidSubmit="CreateIdentity"><DataAnnotationsValidator /><div class="mb-4">- <EditFormRow Id="serviceName" Label="Service Name" Placeholder="E.g. Facebook" @bind-Value="Model.ServiceName"></EditFormRow>+ <EditFormRow Id="serviceName" Label="@Localizer["ServiceNameLabel"]" Placeholder="@Localizer["ServiceNamePlaceholder"]" @bind-Value="Model.ServiceName"></EditFormRow><ValidationMessage For="() => Model.ServiceName"/></div><div class="mb-4">- <EditFormRow Id="serviceUrl" Label="Service URL" OnFocus="OnFocusUrlInput" @bind-Value="Model.ServiceUrl"></EditFormRow>+ <EditFormRow Id="serviceUrl" Label="@Localizer["ServiceUrlLabel"]" OnFocus="OnFocusUrlInput" @bind-Value="Model.ServiceUrl"></EditFormRow><ValidationMessage For="() => Model.ServiceUrl"/></div><div class="flex justify-between items-center"><button id="quickIdentitySubmit" type="submit" class="bg-green-600 hover:bg-green-700 text-white font-bold py-2 px-4 rounded">- Create+ @Localizer["CreateButton"]</button></div><div class="pt-2"><a href="#" @onclick="OpenAdvancedMode" @onclick:preventDefault class="text-sm text-blue-500 hover:text-blue-700">- Create via advanced mode+ @Localizer["AdvancedModeLink"]</a></div></EditForm>@@ -41,6 +44,8 @@}@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Widgets.CreateNewIdentityWidget", "AliasVault.Client");+private bool IsPopupVisible = false;private bool IsCreating = false;private CreateModel Model = new();@@ -147,7 +152,7 @@}IsCreating = true;- GlobalLoadingSpinner.Show("Creating new alias...");+ GlobalLoadingSpinner.Show(Localizer["CreatingNewAliasMessage"]);StateHasChanged();var credential = new Credential();@@ -170,12 +175,12 @@// Error saving.IsCreating = false;GlobalLoadingSpinner.Hide();- GlobalNotificationService.AddErrorMessage("Error creating a new credential. Please try again (later) or log-out and in again.", true);+ GlobalNotificationService.AddErrorMessage(Localizer["CreateCredentialErrorMessage"], true);return;}// No error, add success message.- GlobalNotificationService.AddSuccessMessage("Credential created successfully.");+ GlobalNotificationService.AddSuccessMessage(Localizer["CredentialCreatedSuccessMessage"]);NavigationManager.NavigateTo("/credentials/" + id);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportService1Password.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportService1Password.razorindex 3a83de9ba..62b1ef3c0 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportService1Password.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportService1Password.razor@@ -1,19 +1,24 @@@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@inject ILogger<ImportService1Password> Logger<ImportServiceCardServiceName="1Password"- Description="Import passwords from your 1Password vault"+ Description="@Localizer["OnePasswordDescription"]"LogoUrl="img/importers/1password.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your 1Password vault, you need to export it as a CSV file. You can do this by logging into your 1Password account in the 1Password 8 desktop app (Windows / MacOS / Linux), going to the 'File' menu and selecting 'Export' (to CSV).</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["OnePasswordInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["OnePasswordInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await OnePasswordImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceAliasVault.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceAliasVault.razorindex 8dd8401de..efe0ddd3b 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceAliasVault.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceAliasVault.razor@@ -1,18 +1,23 @@@inject ILogger<ImportServiceAliasVault> Logger@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources<ImportServiceCardServiceName="AliasVault"- Description="Import passwords from another AliasVault server or manual back-up"+ Description="@Localizer["AliasVaultDescription"]"LogoUrl="img/logo.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">If you have a CSV file back-up of your AliasVault database (from a different AliasVault server), you can import it here.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["AliasVaultInstructionsPart1"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){var importedCredentials = await Task.Run(() =>diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceBitwarden.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceBitwarden.razorindex 82fca2279..38e4352f9 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceBitwarden.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceBitwarden.razor@@ -1,19 +1,24 @@@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@inject ILogger<ImportServiceBitwarden> Logger<ImportServiceCardServiceName="Bitwarden"- Description="Import passwords from your Bitwarden vault"+ Description="@Localizer["BitwardenDescription"]"LogoUrl="img/importers/bitwarden.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your Bitwarden vault, you need to export it as a CSV file. You can do this by logging into your Bitwarden account, going to the 'Tools' menu and selecting 'Export vault' (to CSV).</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["BitwardenInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["BitwardenInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await BitwardenImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceChrome.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceChrome.razorindex ec9c72d7d..1eda9b19a 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceChrome.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceChrome.razor@@ -1,19 +1,24 @@@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@inject ILogger<ImportServiceChrome> Logger<ImportServiceCardServiceName="Chrome"- Description="Import passwords from your Chrome Password Manager"+ Description="@Localizer["ChromeDescription"]"LogoUrl="img/importers/chrome.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your Chrome Password Manager, you need to export it as a CSV file. You can do this by logging into your Chrome browser, going to the 'Settings' menu > 'Password and AutoFill' > 'Google Password Manager'. Then click on 'Export passwords'.</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["ChromeInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["ChromeInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await ChromeImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceDashlane.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceDashlane.razorindex 52e134928..bc4518610 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceDashlane.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceDashlane.razor@@ -1,19 +1,24 @@@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@inject ILogger<ImportServiceBitwarden> Logger<ImportServiceCardServiceName="Dashlane"- Description="Import passwords from your Dashlane account"+ Description="@Localizer["DashlaneDescription"]"LogoUrl="img/importers/dashlane.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your Dashlane passwords, you need to export it as a CSV file. You can do this by logging into your Dashlane account, going to the 'Account' > 'Settings' menu and selecting 'Export to CSV'.</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Note: the .zip file you download will contain a "credentials.csv" file. You need to unzip the archive first, and then upload the "credentials.csv" CSV file below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["DashlaneInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["DashlaneInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await DashlaneImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceFirefox.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceFirefox.razorindex bc773adde..3b66fcd3f 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceFirefox.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceFirefox.razor@@ -1,19 +1,24 @@@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@inject ILogger<ImportServiceFirefox> Logger<ImportServiceCardServiceName="Firefox"- Description="Import passwords from your Firefox Password Manager"+ Description="@Localizer["FirefoxDescription"]"LogoUrl="img/importers/firefox.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your Firefox passwords, you need to export it as a CSV file. You can do this by opening your Firefox browser, going to menu > 'Passwords'. Then click on the menu icon in the top right corner and select 'Export passwords'.</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["FirefoxInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["FirefoxInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await FirefoxImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceGenericCsv.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceGenericCsv.razorindex 6df69c989..63566a995 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceGenericCsv.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceGenericCsv.razor@@ -1,37 +1,42 @@@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@inject ILogger<ImportServiceGenericCsv> Logger@inject JsInteropService JsInteropService<ImportServiceCardServiceName="Generic CSV"- Description="Import credentials using a template CSV format"+ Description="@Localizer["GenericCsvDescription"]"LogoUrl="img/importers/generic-csv.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">Is the password manager you are using not supported? You can always import your credentials into AliasVault using a generic CSV template format instead.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["GenericCsvInstructionsPart1"]</p><ol class="text-sm text-gray-700 dark:text-gray-300 space-y-2 mb-4"><li class="flex items-start space-x-2"><span class="flex-shrink-0 w-5 h-5 bg-amber-400 text-white text-xs rounded-full flex items-center justify-center">1</span>- <span>Download the <button @onclick="DownloadTemplate" class="text-amber-600 dark:text-amber-400 hover:text-amber-800 dark:hover:text-amber-200 underline">AliasVault Import CSV template</button></span>+ <span>@Localizer["GenericCsvStep1"] <button @onclick="DownloadTemplate" class="text-amber-600 dark:text-amber-400 hover:text-amber-800 dark:hover:text-amber-200 underline">template</button></span></li><li class="flex items-start space-x-2"><span class="flex-shrink-0 w-5 h-5 bg-amber-400 text-white text-xs rounded-full flex items-center justify-center">2</span>- <span>Open it in a spreadsheet program (Microsoft Excel, Google Sheets, etc.)</span>+ <span>@Localizer["GenericCsvStep2"]</span></li><li class="flex items-start space-x-2"><span class="flex-shrink-0 w-5 h-5 bg-amber-400 text-white text-xs rounded-full flex items-center justify-center">3</span>- <span>Fill in your credentials (replace the example data)</span>+ <span>@Localizer["GenericCsvStep3"]</span></li><li class="flex items-start space-x-2"><span class="flex-shrink-0 w-5 h-5 bg-amber-400 text-white text-xs rounded-full flex items-center justify-center">4</span>- <span>Save as CSV format and upload it below</span>+ <span>@Localizer["GenericCsvStep4"]</span></li></ol></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await GenericCsvImporter.ImportFromCsvAsync(fileContents);@@ -54,7 +59,7 @@catch (Exception ex){Logger.LogError(ex, "Error downloading CSV template");- GlobalNotificationService.AddErrorMessage("Failed to download CSV template. Please try again.", true);+ GlobalNotificationService.AddErrorMessage(Localizer["GenericCsvTemplateDownloadError"], true);}}}\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceKeePass.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceKeePass.razorindex f78c1f422..ebbcd1ed3 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceKeePass.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceKeePass.razor@@ -1,19 +1,24 @@@inject ILogger<ImportServiceKeePass> Logger@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources<ImportServiceCardServiceName="KeePass"- Description="Import passwords from KeePass"+ Description="@Localizer["KeePassDescription"]"LogoUrl="img/importers/keepass.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your KeePass vault, you need to export it as a CSV file. You can do this by going to the 'File' menu and selecting 'Export' (to CSV).</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["KeePassInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["KeePassInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await KeePassImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceKeePassXC.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceKeePassXC.razorindex aeeea9227..9f340a85f 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceKeePassXC.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceKeePassXC.razor@@ -1,19 +1,24 @@@inject ILogger<ImportServiceKeePassXC> Logger@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources<ImportServiceCardServiceName="KeePassXC"- Description="Import passwords from KeePassXC"+ Description="@Localizer["KeePassXCDescription"]"LogoUrl="img/importers/keepassxc.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your KeePassXC vault, you need to export it as a CSV file. You can do this by going to the 'File' menu and selecting 'Export' (to CSV).</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["KeePassXCInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["KeePassXCInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await KeePassXcImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceLastPass.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceLastPass.razorindex b14ad123a..877f090d0 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceLastPass.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceLastPass.razor@@ -1,19 +1,24 @@@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@inject ILogger<ImportServiceLastPass> Logger<ImportServiceCardServiceName="LastPass"- Description="Import passwords from your LastPass vault"+ Description="@Localizer["LastPassDescription"]"LogoUrl="img/importers/lastpass.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your LastPass vault, you need to export it as a CSV file. You can do this by logging into your LastPass account, going to 'Advanced Options' in the left sidebar and selecting 'Export' > 'LastPass CSV File'.</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["LastPassInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["LastPassInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await LastPassImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceProtonPass.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceProtonPass.razorindex 40e650b76..063716322 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceProtonPass.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceProtonPass.razor@@ -1,19 +1,24 @@@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@inject ILogger<ImportServiceProtonPass> Logger<ImportServiceCardServiceName="Proton Pass"- Description="Import passwords from Proton Pass"+ Description="@Localizer["ProtonPassDescription"]"LogoUrl="img/importers/protonpass.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your Proton Pass passwords, you need to export it as a CSV file. You can do this by logging into Proton Pass (web), clicking on the 'Settings' menu > 'Export' > 'File format: CSV'. Then click on 'Export'.</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["ProtonPassInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["ProtonPassInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await ProtonPassImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceStrongbox.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceStrongbox.razorindex 515dde05f..80c95e6ff 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceStrongbox.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceStrongbox.razor@@ -1,19 +1,24 @@@inject ILogger<ImportServiceStrongbox> Logger@inject NavigationManager NavigationManager@inject GlobalNotificationService GlobalNotificationService+@inject IStringLocalizerFactory LocalizerFactory@using AliasVault.ImportExport.Models@using AliasVault.ImportExport.Importers+@using Microsoft.Extensions.Localization+@using AliasVault.Client.Resources<ImportServiceCardServiceName="Strongbox"- Description="Import passwords from Strongbox"+ Description="@Localizer["StrongboxDescription"]"LogoUrl="img/importers/strongbox.svg"ProcessFileCallback="ProcessFile">- <p class="text-gray-700 dark:text-gray-300 mb-4">In order to import your Strongbox vault, you need to export it as a CSV file. You can do this by going to the 'File' menu and selecting 'Export Database' (to CSV).</p>- <p class="text-gray-700 dark:text-gray-300 mb-4">Once you have exported the file, you can upload it below.</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["StrongboxInstructionsPart1"]</p>+ <p class="text-gray-700 dark:text-gray-300 mb-4">@Localizer["StrongboxInstructionsPart2"]</p></ImportServiceCard>@code {+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServices", "AliasVault.Client");+private static async Task<List<ImportedCredential>> ProcessFile(string fileContents){return await StrongboxImporter.ImportFromCsvAsync(fileContents);diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/ImportExport.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/ImportExport.razorindex 26a3f600c..aec793a67 100644--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/ImportExport.razor+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/ImportExport.razor@@ -78,7 +78,7 @@_currentExportType = exportType;var confirmMessage = Localizer["ExportWarningMessage"];- var result = await ConfirmModalService.ShowConfirmation(Localizer["ExportConfirmTitle"], confirmMessage);+ var result = await ConfirmModalService.ShowConfirmation(Localizer["ExportConfirmTitle"], confirmMessage, SharedLocalizer["Confirm"], SharedLocalizer["Cancel"]);if (!result){return;diff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpCodes.en.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpCodes.en.resxnew file mode 100644index 000000000..2241f4c74--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpCodes.en.resx@@ -0,0 +1,113 @@+<?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>+ <data name="TwoFactorAuthenticationTitle" xml:space="preserve">+ <value>Two-factor authentication</value>+ <comment>Section title for 2FA codes</comment>+ </data>+ <data name="AddTotpCodeButton" xml:space="preserve">+ <value>Add TOTP Code</value>+ <comment>Button text to add new TOTP code</comment>+ </data>+ <data name="AddTotpCodeDescription" xml:space="preserve">+ <value>Add a two-factor authenticator code</value>+ <comment>Description for adding TOTP codes</comment>+ </data>+ <data name="AddTotpCodeModalTitle" xml:space="preserve">+ <value>Add 2FA TOTP Code</value>+ <comment>Modal title for adding TOTP code</comment>+ </data>+ <data name="CloseFormButton" xml:space="preserve">+ <value>Close form</value>+ <comment>Button to close the add TOTP form</comment>+ </data>+ <data name="TotpInstructions" xml:space="preserve">+ <value>If the website offers or requires 2FA for your account, copy the secret key or QR code URI and paste it below.</value>+ <comment>Instructions for adding TOTP codes</comment>+ </data>+ <data name="NameOptionalLabel" xml:space="preserve">+ <value>Name (optional)</value>+ <comment>Label for optional name field</comment>+ </data>+ <data name="SecretKeyLabel" xml:space="preserve">+ <value>Secret Key</value>+ <comment>Label for secret key field</comment>+ </data>+ <data name="SecretKeyPlaceholder" xml:space="preserve">+ <value>Enter secret key (manual entry)</value>+ <comment>Placeholder text for secret key input</comment>+ </data>+ <data name="SaveButton" xml:space="preserve">+ <value>Save</value>+ <comment>Save button text</comment>+ </data>+ <data name="SaveToViewCodeMessage" xml:space="preserve">+ <value>Save to view code</value>+ <comment>Message shown for unsaved TOTP codes</comment>+ </data>+ <data name="DeleteTotpCodeConfirmation" xml:space="preserve">+ <value>Are you sure you want to delete this TOTP code?</value>+ <comment>Confirmation message for deleting TOTP code</comment>+ </data>+ <data name="DeleteTotpCodeTitle" xml:space="preserve">+ <value>Delete TOTP code</value>+ <comment>Title for delete TOTP code action</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpCodes.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpCodes.nl.resxnew file mode 100644index 000000000..2f3664786--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpCodes.nl.resx@@ -0,0 +1,113 @@+<?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>+ <data name="TwoFactorAuthenticationTitle" xml:space="preserve">+ <value>Tweefactorauthenticatie</value>+ <comment>Section title for 2FA codes</comment>+ </data>+ <data name="AddTotpCodeButton" xml:space="preserve">+ <value>TOTP-code toevoegen</value>+ <comment>Button text to add new TOTP code</comment>+ </data>+ <data name="AddTotpCodeDescription" xml:space="preserve">+ <value>Voeg een tweefactor authenticatiecode toe</value>+ <comment>Description for adding TOTP codes</comment>+ </data>+ <data name="AddTotpCodeModalTitle" xml:space="preserve">+ <value>2FA TOTP-code toevoegen</value>+ <comment>Modal title for adding TOTP code</comment>+ </data>+ <data name="CloseFormButton" xml:space="preserve">+ <value>Formulier sluiten</value>+ <comment>Button to close the add TOTP form</comment>+ </data>+ <data name="TotpInstructions" xml:space="preserve">+ <value>Als de website 2FA voor uw account aanbiedt of vereist, kopieer dan de geheime sleutel of QR-code URI en plak deze hieronder.</value>+ <comment>Instructions for adding TOTP codes</comment>+ </data>+ <data name="NameOptionalLabel" xml:space="preserve">+ <value>Naam (optioneel)</value>+ <comment>Label for optional name field</comment>+ </data>+ <data name="SecretKeyLabel" xml:space="preserve">+ <value>Geheime sleutel</value>+ <comment>Label for secret key field</comment>+ </data>+ <data name="SecretKeyPlaceholder" xml:space="preserve">+ <value>Voer geheime sleutel in (handmatige invoer)</value>+ <comment>Placeholder text for secret key input</comment>+ </data>+ <data name="SaveButton" xml:space="preserve">+ <value>Opslaan</value>+ <comment>Save button text</comment>+ </data>+ <data name="SaveToViewCodeMessage" xml:space="preserve">+ <value>Opslaan om code te bekijken</value>+ <comment>Message shown for unsaved TOTP codes</comment>+ </data>+ <data name="DeleteTotpCodeConfirmation" xml:space="preserve">+ <value>Weet u zeker dat u deze TOTP-code wilt verwijderen?</value>+ <comment>Confirmation message for deleting TOTP code</comment>+ </data>+ <data name="DeleteTotpCodeTitle" xml:space="preserve">+ <value>TOTP-code verwijderen</value>+ <comment>Title for delete TOTP code action</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpViewer.en.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpViewer.en.resxnew file mode 100644index 000000000..dad79ffc7--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpViewer.en.resx@@ -0,0 +1,73 @@+<?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>+ <data name="TwoFactorAuthenticationTitle" xml:space="preserve">+ <value>Two-factor authentication</value>+ <comment>Section title for 2FA codes</comment>+ </data>+ <data name="NoTotpCodesMessage" xml:space="preserve">+ <value>No two-factor authenticator codes available</value>+ <comment>Message shown when no TOTP codes are configured</comment>+ </data>+ <data name="CopiedMessage" xml:space="preserve">+ <value>Copied!</value>+ <comment>Feedback message when TOTP code is copied to clipboard</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpViewer.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpViewer.nl.resxnew file mode 100644index 000000000..d49001c0f--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Components/TotpCodes/TotpViewer.nl.resx@@ -0,0 +1,73 @@+<?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>+ <data name="TwoFactorAuthenticationTitle" xml:space="preserve">+ <value>Tweefactorauthenticatie</value>+ <comment>Section title for 2FA codes</comment>+ </data>+ <data name="NoTotpCodesMessage" xml:space="preserve">+ <value>Geen tweefactor authenticatiecodes beschikbaar</value>+ <comment>Message shown when no TOTP codes are configured</comment>+ </data>+ <data name="CopiedMessage" xml:space="preserve">+ <value>Gekopieerd!</value>+ <comment>Feedback message when TOTP code is copied to clipboard</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServices.en.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServices.en.resxnew file mode 100644index 000000000..361715630--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServices.en.resx@@ -0,0 +1,234 @@+<?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>+ <!-- 1Password -->+ <data name="OnePasswordDescription" xml:space="preserve">+ <value>Import passwords from your 1Password vault</value>+ <comment>Description for 1Password import service</comment>+ </data>+ <data name="OnePasswordInstructionsPart1" xml:space="preserve">+ <value>In order to import your 1Password vault, you need to export it as a CSV file. You can do this by logging into your 1Password account in the 1Password 8 desktop app (Windows / MacOS / Linux), going to the 'File' menu and selecting 'Export' (to CSV).</value>+ <comment>1Password export instructions part 1</comment>+ </data>+ <data name="OnePasswordInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>1Password export instructions part 2</comment>+ </data>+ <!-- Bitwarden -->+ <data name="BitwardenDescription" xml:space="preserve">+ <value>Import passwords from your Bitwarden vault</value>+ <comment>Description for Bitwarden import service</comment>+ </data>+ <data name="BitwardenInstructionsPart1" xml:space="preserve">+ <value>In order to import your Bitwarden vault, you need to export it as a CSV file. You can do this by logging into your Bitwarden account, going to the 'Tools' menu and selecting 'Export vault' (to CSV).</value>+ <comment>Bitwarden export instructions part 1</comment>+ </data>+ <data name="BitwardenInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>Bitwarden export instructions part 2</comment>+ </data>+ <!-- LastPass -->+ <data name="LastPassDescription" xml:space="preserve">+ <value>Import passwords from your LastPass vault</value>+ <comment>Description for LastPass import service</comment>+ </data>+ <data name="LastPassInstructionsPart1" xml:space="preserve">+ <value>In order to import your LastPass vault, you need to export it as a CSV file. You can do this by logging into your LastPass account, going to 'Advanced Options' in the left sidebar and selecting 'Export' > 'LastPass CSV File'.</value>+ <comment>LastPass export instructions part 1</comment>+ </data>+ <data name="LastPassInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>LastPass export instructions part 2</comment>+ </data>+ <!-- Chrome -->+ <data name="ChromeDescription" xml:space="preserve">+ <value>Import passwords from your Chrome Password Manager</value>+ <comment>Description for Chrome import service</comment>+ </data>+ <data name="ChromeInstructionsPart1" xml:space="preserve">+ <value>In order to import your Chrome Password Manager, you need to export it as a CSV file. You can do this by logging into your Chrome browser, going to the 'Settings' menu > 'Password and AutoFill' > 'Google Password Manager'. Then click on 'Export passwords'.</value>+ <comment>Chrome export instructions part 1</comment>+ </data>+ <data name="ChromeInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>Chrome export instructions part 2</comment>+ </data>+ <!-- KeePass -->+ <data name="KeePassDescription" xml:space="preserve">+ <value>Import passwords from KeePass</value>+ <comment>Description for KeePass import service</comment>+ </data>+ <data name="KeePassInstructionsPart1" xml:space="preserve">+ <value>In order to import your KeePass vault, you need to export it as a CSV file. You can do this by going to the 'File' menu and selecting 'Export' (to CSV).</value>+ <comment>KeePass export instructions part 1</comment>+ </data>+ <data name="KeePassInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>KeePass export instructions part 2</comment>+ </data>+ <!-- Generic CSV -->+ <data name="GenericCsvDescription" xml:space="preserve">+ <value>Import credentials using a template CSV format</value>+ <comment>Description for Generic CSV import service</comment>+ </data>+ <data name="GenericCsvInstructionsPart1" xml:space="preserve">+ <value>Is the password manager you are using not supported? You can always import your credentials into AliasVault using a generic CSV template format instead.</value>+ <comment>Generic CSV instructions part 1</comment>+ </data>+ <data name="GenericCsvStep1" xml:space="preserve">+ <value>Download the AliasVault Import CSV template</value>+ <comment>Generic CSV step 1</comment>+ </data>+ <data name="GenericCsvStep2" xml:space="preserve">+ <value>Open it in a spreadsheet program (Microsoft Excel, Google Sheets, etc.)</value>+ <comment>Generic CSV step 2</comment>+ </data>+ <data name="GenericCsvStep3" xml:space="preserve">+ <value>Fill in your credentials (replace the example data)</value>+ <comment>Generic CSV step 3</comment>+ </data>+ <data name="GenericCsvStep4" xml:space="preserve">+ <value>Save as CSV format and upload it below</value>+ <comment>Generic CSV step 4</comment>+ </data>+ <data name="GenericCsvTemplateDownloadError" xml:space="preserve">+ <value>Failed to download CSV template. Please try again.</value>+ <comment>Error message for template download failure</comment>+ </data>+ <!-- Firefox -->+ <data name="FirefoxDescription" xml:space="preserve">+ <value>Import passwords from your Firefox Password Manager</value>+ <comment>Description for Firefox import service</comment>+ </data>+ <data name="FirefoxInstructionsPart1" xml:space="preserve">+ <value>In order to import your Firefox passwords, you need to export it as a CSV file. You can do this by opening your Firefox browser, going to menu > 'Passwords'. Then click on the menu icon in the top right corner and select 'Export passwords'.</value>+ <comment>Firefox export instructions part 1</comment>+ </data>+ <data name="FirefoxInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>Firefox export instructions part 2</comment>+ </data>+ <!-- Dashlane -->+ <data name="DashlaneDescription" xml:space="preserve">+ <value>Import passwords from your Dashlane account</value>+ <comment>Description for Dashlane import service</comment>+ </data>+ <data name="DashlaneInstructionsPart1" xml:space="preserve">+ <value>In order to import your Dashlane passwords, you need to export it as a CSV file. You can do this by logging into your Dashlane account, going to the 'Account' > 'Settings' menu and selecting 'Export to CSV'.</value>+ <comment>Dashlane export instructions part 1</comment>+ </data>+ <data name="DashlaneInstructionsPart2" xml:space="preserve">+ <value>Note: the .zip file you download will contain a "credentials.csv" file. You need to unzip the archive first, and then upload the "credentials.csv" CSV file below.</value>+ <comment>Dashlane export instructions part 2</comment>+ </data>+ <!-- KeePassXC -->+ <data name="KeePassXCDescription" xml:space="preserve">+ <value>Import passwords from KeePassXC</value>+ <comment>Description for KeePassXC import service</comment>+ </data>+ <data name="KeePassXCInstructionsPart1" xml:space="preserve">+ <value>In order to import your KeePassXC vault, you need to export it as a CSV file. You can do this by going to the 'File' menu and selecting 'Export' (to CSV).</value>+ <comment>KeePassXC export instructions part 1</comment>+ </data>+ <data name="KeePassXCInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>KeePassXC export instructions part 2</comment>+ </data>+ <!-- Proton Pass -->+ <data name="ProtonPassDescription" xml:space="preserve">+ <value>Import passwords from Proton Pass</value>+ <comment>Description for Proton Pass import service</comment>+ </data>+ <data name="ProtonPassInstructionsPart1" xml:space="preserve">+ <value>In order to import your Proton Pass passwords, you need to export it as a CSV file. You can do this by logging into Proton Pass (web), clicking on the 'Settings' menu > 'Export' > 'File format: CSV'. Then click on 'Export'.</value>+ <comment>Proton Pass export instructions part 1</comment>+ </data>+ <data name="ProtonPassInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>Proton Pass export instructions part 2</comment>+ </data>+ <!-- Strongbox -->+ <data name="StrongboxDescription" xml:space="preserve">+ <value>Import passwords from Strongbox</value>+ <comment>Description for Strongbox import service</comment>+ </data>+ <data name="StrongboxInstructionsPart1" xml:space="preserve">+ <value>In order to import your Strongbox vault, you need to export it as a CSV file. You can do this by going to the 'File' menu and selecting 'Export Database' (to CSV).</value>+ <comment>Strongbox export instructions part 1</comment>+ </data>+ <data name="StrongboxInstructionsPart2" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>Strongbox export instructions part 2</comment>+ </data>+ <!-- AliasVault -->+ <data name="AliasVaultDescription" xml:space="preserve">+ <value>Import passwords from another AliasVault server or manual back-up</value>+ <comment>Description for AliasVault import service</comment>+ </data>+ <data name="AliasVaultInstructionsPart1" xml:space="preserve">+ <value>If you have a CSV file back-up of your AliasVault database (from a different AliasVault server), you can import it here.</value>+ <comment>AliasVault import instructions</comment>+ </data>+ <!-- Common text that can be reused -->+ <data name="UploadFileInstructionCommon" xml:space="preserve">+ <value>Once you have exported the file, you can upload it below.</value>+ <comment>Common instruction for file upload</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServices.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServices.nl.resxnew file mode 100644index 000000000..6fc18f08d--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServices.nl.resx@@ -0,0 +1,234 @@+<?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>+ <!-- 1Password -->+ <data name="OnePasswordDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit uw 1Password kluis</value>+ <comment>Description for 1Password import service</comment>+ </data>+ <data name="OnePasswordInstructionsPart1" xml:space="preserve">+ <value>Om uw 1Password kluis te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door in te loggen op uw 1Password account in de 1Password 8 desktop app (Windows / MacOS / Linux), naar het 'File' menu te gaan en 'Export' (naar CSV) te selecteren.</value>+ <comment>1Password export instructions part 1</comment>+ </data>+ <data name="OnePasswordInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>1Password export instructions part 2</comment>+ </data>+ <!-- Bitwarden -->+ <data name="BitwardenDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit uw Bitwarden kluis</value>+ <comment>Description for Bitwarden import service</comment>+ </data>+ <data name="BitwardenInstructionsPart1" xml:space="preserve">+ <value>Om uw Bitwarden kluis te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door in te loggen op uw Bitwarden account, naar het 'Tools' menu te gaan en 'Export vault' (naar CSV) te selecteren.</value>+ <comment>Bitwarden export instructions part 1</comment>+ </data>+ <data name="BitwardenInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>Bitwarden export instructions part 2</comment>+ </data>+ <!-- LastPass -->+ <data name="LastPassDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit uw LastPass kluis</value>+ <comment>Description for LastPass import service</comment>+ </data>+ <data name="LastPassInstructionsPart1" xml:space="preserve">+ <value>Om uw LastPass kluis te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door in te loggen op uw LastPass account, naar 'Advanced Options' in de linkerzijbalk te gaan en 'Export' > 'LastPass CSV File' te selecteren.</value>+ <comment>LastPass export instructions part 1</comment>+ </data>+ <data name="LastPassInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>LastPass export instructions part 2</comment>+ </data>+ <!-- Chrome -->+ <data name="ChromeDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit uw Chrome Wachtwoordbeheer</value>+ <comment>Description for Chrome import service</comment>+ </data>+ <data name="ChromeInstructionsPart1" xml:space="preserve">+ <value>Om uw Chrome Wachtwoordbeheer te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door in te loggen in uw Chrome browser, naar het 'Settings' menu te gaan > 'Password and AutoFill' > 'Google Password Manager'. Klik vervolgens op 'Export passwords'.</value>+ <comment>Chrome export instructions part 1</comment>+ </data>+ <data name="ChromeInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>Chrome export instructions part 2</comment>+ </data>+ <!-- KeePass -->+ <data name="KeePassDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit KeePass</value>+ <comment>Description for KeePass import service</comment>+ </data>+ <data name="KeePassInstructionsPart1" xml:space="preserve">+ <value>Om uw KeePass kluis te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door naar het 'File' menu te gaan en 'Export' (naar CSV) te selecteren.</value>+ <comment>KeePass export instructions part 1</comment>+ </data>+ <data name="KeePassInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>KeePass export instructions part 2</comment>+ </data>+ <!-- Generic CSV -->+ <data name="GenericCsvDescription" xml:space="preserve">+ <value>Importeer inloggegevens met een sjabloon CSV-indeling</value>+ <comment>Description for Generic CSV import service</comment>+ </data>+ <data name="GenericCsvInstructionsPart1" xml:space="preserve">+ <value>Wordt de wachtwoordbeheerder die u gebruikt niet ondersteund? U kunt uw inloggegevens altijd in AliasVault importeren met een generiek CSV-sjabloonformaat.</value>+ <comment>Generic CSV instructions part 1</comment>+ </data>+ <data name="GenericCsvStep1" xml:space="preserve">+ <value>Download het AliasVault Import CSV sjabloon</value>+ <comment>Generic CSV step 1</comment>+ </data>+ <data name="GenericCsvStep2" xml:space="preserve">+ <value>Open het in een spreadsheetprogramma (Microsoft Excel, Google Sheets, etc.)</value>+ <comment>Generic CSV step 2</comment>+ </data>+ <data name="GenericCsvStep3" xml:space="preserve">+ <value>Vul uw inloggegevens in (vervang de voorbeeldgegevens)</value>+ <comment>Generic CSV step 3</comment>+ </data>+ <data name="GenericCsvStep4" xml:space="preserve">+ <value>Sla op als CSV-indeling en upload het hieronder</value>+ <comment>Generic CSV step 4</comment>+ </data>+ <data name="GenericCsvTemplateDownloadError" xml:space="preserve">+ <value>Kon CSV-sjabloon niet downloaden. Probeer het opnieuw.</value>+ <comment>Error message for template download failure</comment>+ </data>+ <!-- Firefox -->+ <data name="FirefoxDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit uw Firefox Wachtwoordbeheer</value>+ <comment>Description for Firefox import service</comment>+ </data>+ <data name="FirefoxInstructionsPart1" xml:space="preserve">+ <value>Om uw Firefox wachtwoorden te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door uw Firefox browser te openen, naar menu > 'Wachtwoorden' te gaan. Klik vervolgens op het menu-icoon in de rechterbovenhoek en selecteer 'Wachtwoorden exporteren'.</value>+ <comment>Firefox export instructions part 1</comment>+ </data>+ <data name="FirefoxInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>Firefox export instructions part 2</comment>+ </data>+ <!-- Dashlane -->+ <data name="DashlaneDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit uw Dashlane account</value>+ <comment>Description for Dashlane import service</comment>+ </data>+ <data name="DashlaneInstructionsPart1" xml:space="preserve">+ <value>Om uw Dashlane wachtwoorden te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door in te loggen op uw Dashlane account, naar het 'Account' > 'Settings' menu te gaan en 'Export to CSV' te selecteren.</value>+ <comment>Dashlane export instructions part 1</comment>+ </data>+ <data name="DashlaneInstructionsPart2" xml:space="preserve">+ <value>Let op: het .zip bestand dat u download bevat een "credentials.csv" bestand. U moet het archief eerst uitpakken en vervolgens het "credentials.csv" CSV-bestand hieronder uploaden.</value>+ <comment>Dashlane export instructions part 2</comment>+ </data>+ <!-- KeePassXC -->+ <data name="KeePassXCDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit KeePassXC</value>+ <comment>Description for KeePassXC import service</comment>+ </data>+ <data name="KeePassXCInstructionsPart1" xml:space="preserve">+ <value>Om uw KeePassXC kluis te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door naar het 'File' menu te gaan en 'Export' (naar CSV) te selecteren.</value>+ <comment>KeePassXC export instructions part 1</comment>+ </data>+ <data name="KeePassXCInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>KeePassXC export instructions part 2</comment>+ </data>+ <!-- Proton Pass -->+ <data name="ProtonPassDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit Proton Pass</value>+ <comment>Description for Proton Pass import service</comment>+ </data>+ <data name="ProtonPassInstructionsPart1" xml:space="preserve">+ <value>Om uw Proton Pass wachtwoorden te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door in te loggen op Proton Pass (web), op het 'Settings' menu te klikken > 'Export' > 'File format: CSV'. Klik vervolgens op 'Export'.</value>+ <comment>Proton Pass export instructions part 1</comment>+ </data>+ <data name="ProtonPassInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>Proton Pass export instructions part 2</comment>+ </data>+ <!-- Strongbox -->+ <data name="StrongboxDescription" xml:space="preserve">+ <value>Importeer wachtwoorden uit Strongbox</value>+ <comment>Description for Strongbox import service</comment>+ </data>+ <data name="StrongboxInstructionsPart1" xml:space="preserve">+ <value>Om uw Strongbox kluis te importeren, moet u deze exporteren als CSV-bestand. U kunt dit doen door naar het 'File' menu te gaan en 'Export Database' (naar CSV) te selecteren.</value>+ <comment>Strongbox export instructions part 1</comment>+ </data>+ <data name="StrongboxInstructionsPart2" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>Strongbox export instructions part 2</comment>+ </data>+ <!-- AliasVault -->+ <data name="AliasVaultDescription" xml:space="preserve">+ <value>Importeer wachtwoorden van een andere AliasVault server of handmatige back-up</value>+ <comment>Description for AliasVault import service</comment>+ </data>+ <data name="AliasVaultInstructionsPart1" xml:space="preserve">+ <value>Als u een CSV-bestand back-up heeft van uw AliasVault database (van een andere AliasVault server), kunt u het hier importeren.</value>+ <comment>AliasVault import instructions</comment>+ </data>+ <!-- Common text that can be reused -->+ <data name="UploadFileInstructionCommon" xml:space="preserve">+ <value>Nadat u het bestand heeft geëxporteerd, kunt u het hieronder uploaden.</value>+ <comment>Common instruction for file upload</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Widgets/CreateNewIdentityWidget.en.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Widgets/CreateNewIdentityWidget.en.resxnew file mode 100644index 000000000..ea22af848--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Widgets/CreateNewIdentityWidget.en.resx@@ -0,0 +1,105 @@+<?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>+ <data name="NewAliasButtonText" xml:space="preserve">+ <value>+ New Alias</value>+ <comment>Text for the new alias button</comment>+ </data>+ <data name="NewAliasButtonShort" xml:space="preserve">+ <value>+</value>+ <comment>Short text for the new alias button on mobile</comment>+ </data>+ <data name="CreateNewAliasTitle" xml:space="preserve">+ <value>Create New Alias</value>+ <comment>Title of the create new alias popup</comment>+ </data>+ <data name="ServiceNameLabel" xml:space="preserve">+ <value>Service Name</value>+ <comment>Label for service name field</comment>+ </data>+ <data name="ServiceNamePlaceholder" xml:space="preserve">+ <value>E.g. Facebook</value>+ <comment>Placeholder text for service name field</comment>+ </data>+ <data name="ServiceUrlLabel" xml:space="preserve">+ <value>Service URL</value>+ <comment>Label for service URL field</comment>+ </data>+ <data name="CreateButton" xml:space="preserve">+ <value>Create</value>+ <comment>Create button text</comment>+ </data>+ <data name="AdvancedModeLink" xml:space="preserve">+ <value>Create via advanced mode</value>+ <comment>Link text to advanced creation mode</comment>+ </data>+ <data name="CreatingNewAliasMessage" xml:space="preserve">+ <value>Creating new alias...</value>+ <comment>Loading message while creating alias</comment>+ </data>+ <data name="CreateCredentialErrorMessage" xml:space="preserve">+ <value>Error creating a new credential. Please try again (later) or log-out and in again.</value>+ <comment>Error message when credential creation fails</comment>+ </data>+ <data name="CredentialCreatedSuccessMessage" xml:space="preserve">+ <value>Credential created successfully.</value>+ <comment>Success message when credential is created</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Widgets/CreateNewIdentityWidget.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Widgets/CreateNewIdentityWidget.nl.resxnew file mode 100644index 000000000..eb78d1b71--- /dev/null+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Widgets/CreateNewIdentityWidget.nl.resx@@ -0,0 +1,105 @@+<?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>+ <data name="NewAliasButtonText" xml:space="preserve">+ <value>+ Nieuwe alias</value>+ <comment>Text for the new alias button</comment>+ </data>+ <data name="NewAliasButtonShort" xml:space="preserve">+ <value>+</value>+ <comment>Short text for the new alias button on mobile</comment>+ </data>+ <data name="CreateNewAliasTitle" xml:space="preserve">+ <value>Nieuwe alias aanmaken</value>+ <comment>Title of the create new alias popup</comment>+ </data>+ <data name="ServiceNameLabel" xml:space="preserve">+ <value>Servicenaam</value>+ <comment>Label for service name field</comment>+ </data>+ <data name="ServiceNamePlaceholder" xml:space="preserve">+ <value>Bijv. Facebook</value>+ <comment>Placeholder text for service name field</comment>+ </data>+ <data name="ServiceUrlLabel" xml:space="preserve">+ <value>Service URL</value>+ <comment>Label for service URL field</comment>+ </data>+ <data name="CreateButton" xml:space="preserve">+ <value>Aanmaken</value>+ <comment>Create button text</comment>+ </data>+ <data name="AdvancedModeLink" xml:space="preserve">+ <value>Aanmaken via geavanceerde modus</value>+ <comment>Link text to advanced creation mode</comment>+ </data>+ <data name="CreatingNewAliasMessage" xml:space="preserve">+ <value>Nieuwe alias wordt aangemaakt...</value>+ <comment>Loading message while creating alias</comment>+ </data>+ <data name="CreateCredentialErrorMessage" xml:space="preserve">+ <value>Fout bij het aanmaken van een nieuwe inloggegevens. Probeer het (later) opnieuw of log uit en weer in.</value>+ <comment>Error message when credential creation fails</comment>+ </data>+ <data name="CredentialCreatedSuccessMessage" xml:space="preserve">+ <value>Inloggegevens succesvol aangemaakt.</value>+ <comment>Success message when credential is created</comment>+ </data>+</root>\ No newline at end of filediff --git a/apps/server/Shared/AliasVault.RazorComponents/ConfirmModal.razor b/apps/server/Shared/AliasVault.RazorComponents/ConfirmModal.razorindex 0400b4ba4..b588e8a70 100644--- a/apps/server/Shared/AliasVault.RazorComponents/ConfirmModal.razor+++ b/apps/server/Shared/AliasVault.RazorComponents/ConfirmModal.razor@@ -15,10 +15,10 @@</div><div class="items-center px-4 py-3"><button id="confirmButton" class="px-4 py-2 bg-primary-500 text-white text-base font-medium rounded-md w-full shadow-sm hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-primary-300" @onclick="() => ModalService.CloseModal(true)">- Confirm+ @ModalService.ConfirmButtonText</button><button id="cancelButton" class="mt-3 px-4 py-2 bg-gray-300 text-gray-800 text-base font-medium rounded-md w-full shadow-sm hover:bg-gray-400 focus:outline-none focus:ring-2 focus:ring-gray-300" @onclick="() => ModalService.CloseModal(false)">- Cancel+ @ModalService.CancelButtonText</button></div></div>diff --git a/apps/server/Shared/AliasVault.RazorComponents/Services/ConfirmModalService.cs b/apps/server/Shared/AliasVault.RazorComponents/Services/ConfirmModalService.csindex 75cad7f67..8d8cf0d45 100644--- a/apps/server/Shared/AliasVault.RazorComponents/Services/ConfirmModalService.cs+++ b/apps/server/Shared/AliasVault.RazorComponents/Services/ConfirmModalService.cs@@ -32,6 +32,16 @@ public class ConfirmModalService/// </summary>public string Message { get; private set; } = "Are you sure you want to do this?";+ /// <summary>+ /// Gets the confirm button text.+ /// </summary>+ public string ConfirmButtonText { get; private set; } = "Confirm";++ /// <summary>+ /// Gets the cancel button text.+ /// </summary>+ public string CancelButtonText { get; private set; } = "Cancel";+/// <summary>/// Gets a value indicating whether the modal is visible./// </summary>@@ -44,9 +54,24 @@ public class ConfirmModalService/// <param name="message">The message to display in the modal.</param>/// <returns>A task that completes when the user responds, returning true if confirmed, false if cancelled.</returns>public Task<bool> ShowConfirmation(string title, string message)+ {+ return ShowConfirmation(title, message, "Confirm", "Cancel");+ }++ /// <summary>+ /// Shows the confirmation modal and waits for user response.+ /// </summary>+ /// <param name="title">The title of the modal.</param>+ /// <param name="message">The message to display in the modal.</param>+ /// <param name="confirmButtonText">The text for the confirm button.</param>+ /// <param name="cancelButtonText">The text for the cancel button.</param>+ /// <returns>A task that completes when the user responds, returning true if confirmed, false if cancelled.</returns>+ public Task<bool> ShowConfirmation(string title, string message, string confirmButtonText, string cancelButtonText){Title = title;Message = message;+ ConfirmButtonText = confirmButtonText;+ CancelButtonText = cancelButtonText;IsVisible = true;_modalTaskCompletionSource = new TaskCompletionSource<bool>();NotifyStateChanged();