Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Localize recentEmails, import, edit form (#820)

Leendert de Borst0e37616ced42
diff --git a/apps/server/AliasVault.Client/Main/Components/Email/RecentEmails.razor b/apps/server/AliasVault.Client/Main/Components/Email/RecentEmails.razor
index 989e0a69d..7e4ac4b27 100644
--- a/apps/server/AliasVault.Client/Main/Components/Email/RecentEmails.razor
+++ b/apps/server/AliasVault.Client/Main/Components/Email/RecentEmails.razor
@@ -12,7 +12,10 @@
@using AliasVault.Shared.Core
@inject ILogger<RecentEmails> Logger
@inject MinDurationLoadingService LoadingService
+@inject IStringLocalizerFactory LocalizerFactory
@implements IAsyncDisposable
+@using Microsoft.Extensions.Localization
+@using AliasVault.Client.Resources
@if (EmailModalVisible)
{
@@ -24,12 +27,12 @@
<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">Email</h3>
+ <h3 class="mb-4 text-xl font-semibold dark:text-white">@Localizer["EmailSectionTitle"]</h3>
</div>
<div class="flex justify-end items-center space-x-2">
@if (DbService.Settings.AutoEmailRefresh)
{
- <div class="w-3 h-3 mr-2 rounded-full bg-primary-300 border-2 border-primary-100 animate-pulse" title="Auto-refresh enabled"></div>
+ <div class="w-3 h-3 mr-2 rounded-full bg-primary-300 border-2 border-primary-100 animate-pulse" title="@Localizer["AutoRefreshEnabledTooltip"]"></div>
}
<button id="recent-email-refresh" @onclick="ManualRefresh" type="button" class="text-blue-700 border border-blue-700 hover:bg-blue-700 hover:text-white focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-full text-sm p-2 text-center inline-flex items-center dark:border-blue-500 dark:text-blue-500 dark:hover:text-white dark:focus:ring-blue-800 dark:hover:bg-blue-500">
<svg class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor">
@@ -49,10 +52,10 @@
<thead class="bg-gray-50 dark:bg-gray-700">
<tr>
<th scope="col" class="p-4 text-xs font-medium tracking-wider text-left text-gray-500 uppercase dark:text-white">
- Subject
+ @Localizer["SubjectColumn"]
</th>
<th scope="col" class="p-4 text-xs font-medium tracking-wider text-left text-gray-500 uppercase dark:text-white">
- Date
+ @Localizer["DateColumn"]
</th>
</tr>
</thead>
@@ -85,7 +88,7 @@
}
else if (MailboxEmails.Count == 0)
{
- <div class="text-gray-500 dark:text-gray-400">No emails received (yet).</div>
+ <div class="text-gray-500 dark:text-gray-400">@Localizer["NoEmailsReceivedMessage"]</div>
}
else
{
@@ -97,10 +100,10 @@
<thead class="bg-gray-50 dark:bg-gray-700">
<tr>
<th scope="col" class="p-4 text-xs font-medium tracking-wider text-left text-gray-500 uppercase dark:text-white">
- Subject
+ @Localizer["SubjectColumn"]
</th>
<th scope="col" class="p-4 text-xs font-medium tracking-wider text-left text-gray-500 uppercase dark:text-white">
- Date
+ @Localizer["DateColumn"]
</th>
</tr>
</thead>
@@ -147,6 +150,8 @@
private string Error { get; set; } = string.Empty;
private bool IsLoading => LoadingService.IsLoading("recentemails");
private bool IsSpamOk { get; set; } = false;
+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Email.RecentEmails", "AliasVault.Client");
+
private const int ACTIVE_TAB_REFRESH_INTERVAL = 2000; // 2 seconds
private CancellationTokenSource? _pollingCts;
private DotNetObjectReference<RecentEmails>? _dotNetRef;
@@ -426,11 +431,10 @@
switch (errorResponse.Code)
{
case "CLAIM_DOES_NOT_MATCH_USER":
- Error = "The current chosen email address is already in use. Please change the email address by editing this credential.";
+ Error = Localizer["EmailAddressInUseError"];
break;
case "CLAIM_DOES_NOT_EXIST":
- Error = "An error occurred while trying to load the emails. Please try to edit and " +
- "save the credential entry to synchronize the database, then try again.";
+ Error = Localizer["EmailLoadError"];
break;
default:
throw new ArgumentException(errorResponse.Message);
diff --git a/apps/server/AliasVault.Client/Main/Components/Forms/EditEmailFormRow.razor b/apps/server/AliasVault.Client/Main/Components/Forms/EditEmailFormRow.razor
index 1cd48ec9e..3e5e9bcd8 100644
--- a/apps/server/AliasVault.Client/Main/Components/Forms/EditEmailFormRow.razor
+++ b/apps/server/AliasVault.Client/Main/Components/Forms/EditEmailFormRow.razor
@@ -1,5 +1,8 @@
@inject Config Config
@inject JsInteropService JsInteropService
+@inject IStringLocalizerFactory LocalizerFactory
+@using Microsoft.Extensions.Localization
+@using AliasVault.Client.Resources
<label for="@Id" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">@Label</label>
<div class="relative">
@@ -18,13 +21,13 @@
@if (IsCustomDomain)
{
<button type="button" class="text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-200" @onclick="TogglePopup">
- Use domain chooser
+ @Localizer["UseDomainChooserButton"]
</button>
}
else
{
<button type="button" class="text-sm text-blue-600 hover:text-blue-800 dark:text-blue-400 dark:hover:text-blue-200" @onclick="ToggleCustomDomain">
- Enter custom domain
+ @Localizer["EnterCustomDomainButton"]
</button>
}
</div>
@@ -34,13 +37,13 @@
<div class="fixed inset-0 bg-gray-600 bg-opacity-50 z-30 overflow-y-auto h-full w-full" @onclick="ClosePopup">
<div class="relative top-20 mx-auto p-5 border w-96 shadow-lg rounded-md bg-white dark:bg-gray-800" @onclick:stopPropagation>
<div class="mt-3 text-center">
- <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-white">Select Email Domain</h3>
+ <h3 class="text-lg leading-6 font-medium text-gray-900 dark:text-white">@Localizer["SelectEmailDomainTitle"]</h3>
<div class="mt-2 px-7 py-3">
@if (ShowPrivateDomains)
{
<div class="mb-4">
- <h4 class="text-md font-semibold text-gray-700 dark:text-gray-300">Private Email (AliasVault server)</h4>
- <p class="text-sm text-gray-500 dark:text-gray-400">E2E encrypted, fully private.</p>
+ <h4 class="text-md font-semibold text-gray-700 dark:text-gray-300">@Localizer["PrivateEmailTitle"]</h4>
+ <p class="text-sm text-gray-500 dark:text-gray-400">@Localizer["PrivateEmailDescription"]</p>
@foreach (var domain in PrivateDomains)
{
<button class="mt-2 px-4 py-2 bg-primary-300 text-gray-700 rounded hover:bg-primary-400 focus:outline-none focus:ring-2 focus:ring-gray-400 mr-2" @onclick="() => SelectDomain(domain)">
@@ -50,8 +53,8 @@
</div>
}
<div class="@(ShowPrivateDomains ? "border-t border-gray-200 dark:border-gray-600 pt-4" : "")">
- <h4 class="text-md font-semibold text-gray-700 dark:text-gray-300">Public Temp Email Providers</h4>
- <p class="text-sm text-gray-500 dark:text-gray-400">Anonymous but limited privacy. Accessible to anyone that knows the address.</p>
+ <h4 class="text-md font-semibold text-gray-700 dark:text-gray-300">@Localizer["PublicEmailTitle"]</h4>
+ <p class="text-sm text-gray-500 dark:text-gray-400">@Localizer["PublicEmailDescription"]</p>
@foreach (var domain in PublicDomains)
{
<button class="mt-2 px-4 py-2 bg-gray-200 text-gray-700 rounded hover:bg-gray-300 focus:outline-none focus:ring-2 focus:ring-gray-400 mr-2" @onclick="() => SelectDomain(domain)">
@@ -78,6 +81,8 @@
[Parameter]
public string Label { get; set; } = "Email Address";
+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Forms.EditEmailFormRow", "AliasVault.Client");
+
/// <summary>
/// The value of the input field. This should be the full email address.
/// </summary>
diff --git a/apps/server/AliasVault.Client/Main/Pages/Credentials/View.razor b/apps/server/AliasVault.Client/Main/Pages/Credentials/View.razor
index d48826e45..b564172f0 100644
--- a/apps/server/AliasVault.Client/Main/Pages/Credentials/View.razor
+++ b/apps/server/AliasVault.Client/Main/Pages/Credentials/View.razor
@@ -20,13 +20,13 @@ else
Title="@Localizer["ViewCredentialTitle"]">
<CustomActions>
<LinkButton
- Text="@Localizer["EditButton"]"
- AdditionalText="credential"
+ Text="@Localizer["EditButtonMobile"]"
+ AdditionalText="@Localizer["EditButtonDesktop"]"
Href="@($"/credentials/{Id}/edit")"
Color="primary" />
<LinkButton
- Text="@Localizer["DeleteButton"]"
- AdditionalText="credential"
+ Text="@Localizer["DeleteButtonMobile"]"
+ AdditionalText="@Localizer["DeleteButtonDesktop"]"
Href="@($"/credentials/{Id}/delete")"
Color="danger" />
</CustomActions>
diff --git a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceCard.razor b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceCard.razor
index 0fd7f4007..9cb1eb9e4 100644
--- a/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceCard.razor
+++ b/apps/server/AliasVault.Client/Main/Pages/Settings/ImportExport/Components/ImportServiceCard.razor
@@ -4,6 +4,9 @@
@inject NavigationManager NavigationManager
@inject GlobalNotificationService GlobalNotificationService
@inject HttpClient HttpClient
+@inject IStringLocalizerFactory LocalizerFactory
+@using Microsoft.Extensions.Localization
+@using AliasVault.Client.Resources
@using AliasVault.ImportExport.Importers
@using AliasVault.ImportExport.Models
@using AliasVault.Shared.Models.WebApi.Favicon
@@ -18,7 +21,7 @@
else
{
<div class="w-full h-full bg-gray-200 dark:bg-gray-700 rounded-md flex items-center justify-center">
- <span class="text-gray-500 dark:text-gray-400 text-xs">No logo</span>
+ <span class="text-gray-500 dark:text-gray-400 text-xs">@Localizer["NoLogoText"]</span>
</div>
}
</div>
@@ -39,7 +42,7 @@
<div id="importServiceModal" class="relative top-20 mx-auto p-5 shadow-lg rounded-md bg-white dark:bg-gray-800 border-2 border-gray-300 dark:border-gray-400 md:min-w-[32rem]">
<div class="bg-white dark:bg-gray-800 rounded-lg p-4 w-full mx-auto">
<div class="flex justify-between items-center mb-4">
- <div class="flex"><img src="@LogoUrl" alt="@ServiceName logo" class="w-8 h-8 float-left mr-4" /><h3 class="text-xl font-semibold dark:text-white">Import from @ServiceName</h3></div>
+ <div class="flex"><img src="@LogoUrl" alt="@ServiceName logo" class="w-8 h-8 float-left mr-4" /><h3 class="text-xl font-semibold dark:text-white">@string.Format(Localizer["ImportFromServiceTitle"], ServiceName)</h3></div>
<button @onclick="CloseModal" class="text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
@@ -69,11 +72,11 @@
<div class="@(IsImporting ? "hidden" : "")">
@ChildContent
<div class="mb-4 bg-amber-50 border border-amber-400 dark:bg-amber-800/30 dark:border-amber-500/50 rounded-lg p-4">
- <p class="mb-4 text-gray-700 dark:text-gray-200">Upload your @ServiceName export file:</p>
+ <p class="mb-4 text-gray-700 dark:text-gray-200">@string.Format(Localizer["UploadExportFileText"], ServiceName)</p>
<InputFile OnChange="HandleFileUpload" class="text-gray-700 dark:text-gray-200 file:mr-4 file:py-2 file:px-4 file:rounded-lg file:border-0 file:text-sm file:font-semibold file:bg-primary-50 file:text-primary-700 hover:file:bg-primary-100 dark:file:bg-primary-900/40 dark:file:text-primary-300 dark:hover:file:bg-primary-800/60" />
</div>
<div class="flex justify-end mt-6 space-x-2">
- <Button OnClick="@CloseModal" Color="secondary">Cancel</Button>
+ <Button OnClick="@CloseModal" Color="secondary">@Localizer["CancelButton"]</Button>
</div>
</div>
</div>
@@ -135,7 +138,7 @@
<Button OnClick="@HandlePreviousStep" Color="secondary">Back</Button>
@if (ImportedCredentials.Count > 0)
{
- <Button OnClick="@HandleNextStep" Color="primary">Next</Button>
+ <Button OnClick="@HandleNextStep" Color="primary">@Localizer["NextButton"]</Button>
}
</div>
break;
@@ -173,8 +176,8 @@
}
</div>
<div class="flex justify-end mt-6 space-x-2">
- <Button OnClick="@HandlePreviousStep" Color="secondary">Back</Button>
- <Button OnClick="@HandleModalConfirm" Color="primary">Import</Button>
+ <Button OnClick="@HandlePreviousStep" Color="secondary">@Localizer["BackButton"]</Button>
+ <Button OnClick="@HandleModalConfirm" Color="primary">@Localizer["ImportButton"]</Button>
</div>
}
</div>
@@ -187,6 +190,8 @@
}
@code {
+ private IStringLocalizer Localizer => LocalizerFactory.Create("Components.Main.Settings.ImportExport.ImportServiceCard", "AliasVault.Client");
+
private enum ImportStep
{
FileUpload,
diff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Email/RecentEmails.en.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Email/RecentEmails.en.resx
new file mode 100644
index 000000000..c3ca1d648
--- /dev/null
+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Email/RecentEmails.en.resx
@@ -0,0 +1,89 @@
+<?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="EmailSectionTitle" xml:space="preserve">
+ <value>Email</value>
+ <comment>Section title for email panel</comment>
+ </data>
+ <data name="AutoRefreshEnabledTooltip" xml:space="preserve">
+ <value>Auto-refresh enabled</value>
+ <comment>Tooltip for auto-refresh indicator</comment>
+ </data>
+ <data name="SubjectColumn" xml:space="preserve">
+ <value>Subject</value>
+ <comment>Table column header for email subject</comment>
+ </data>
+ <data name="DateColumn" xml:space="preserve">
+ <value>Date</value>
+ <comment>Table column header for email date</comment>
+ </data>
+ <data name="NoEmailsReceivedMessage" xml:space="preserve">
+ <value>No emails received (yet).</value>
+ <comment>Message when no emails are available</comment>
+ </data>
+ <data name="EmailAddressInUseError" xml:space="preserve">
+ <value>The current chosen email address is already in use. Please change the email address by editing this credential.</value>
+ <comment>Error message when email address is already in use</comment>
+ </data>
+ <data name="EmailLoadError" xml:space="preserve">
+ <value>An error occurred while trying to load the emails. Please try to edit and save the credential entry to synchronize the database, then try again.</value>
+ <comment>Error message when email loading fails</comment>
+ </data>
+</root>
\ No newline at end of file
diff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Email/RecentEmails.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Email/RecentEmails.nl.resx
new file mode 100644
index 000000000..9961b0cd9
--- /dev/null
+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Email/RecentEmails.nl.resx
@@ -0,0 +1,89 @@
+<?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="EmailSectionTitle" xml:space="preserve">
+ <value>E-mail</value>
+ <comment>Section title for email panel</comment>
+ </data>
+ <data name="AutoRefreshEnabledTooltip" xml:space="preserve">
+ <value>Automatisch vernieuwen ingeschakeld</value>
+ <comment>Tooltip for auto-refresh indicator</comment>
+ </data>
+ <data name="SubjectColumn" xml:space="preserve">
+ <value>Onderwerp</value>
+ <comment>Table column header for email subject</comment>
+ </data>
+ <data name="DateColumn" xml:space="preserve">
+ <value>Datum</value>
+ <comment>Table column header for email date</comment>
+ </data>
+ <data name="NoEmailsReceivedMessage" xml:space="preserve">
+ <value>Nog geen e-mails ontvangen.</value>
+ <comment>Message when no emails are available</comment>
+ </data>
+ <data name="EmailAddressInUseError" xml:space="preserve">
+ <value>Het huidige gekozen e-mailadres is al in gebruik. Wijzig het e-mailadres door deze inloggegevens te bewerken.</value>
+ <comment>Error message when email address is already in use</comment>
+ </data>
+ <data name="EmailLoadError" xml:space="preserve">
+ <value>Er is een fout opgetreden bij het laden van de e-mails. Probeer de inloggegevens te bewerken en op te slaan om de database te synchroniseren, en probeer het dan opnieuw.</value>
+ <comment>Error message when email loading fails</comment>
+ </data>
+</root>
\ No newline at end of file
diff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Forms/EditEmailFormRow.en.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Forms/EditEmailFormRow.en.resx
new file mode 100644
index 000000000..307bb3601
--- /dev/null
+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Forms/EditEmailFormRow.en.resx
@@ -0,0 +1,89 @@
+<?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="UseDomainChooserButton" xml:space="preserve">
+ <value>Use domain chooser</value>
+ <comment>Button to switch back to domain chooser</comment>
+ </data>
+ <data name="EnterCustomDomainButton" xml:space="preserve">
+ <value>Enter custom domain</value>
+ <comment>Button to switch to custom domain entry</comment>
+ </data>
+ <data name="SelectEmailDomainTitle" xml:space="preserve">
+ <value>Select Email Domain</value>
+ <comment>Title of domain selection popup</comment>
+ </data>
+ <data name="PrivateEmailTitle" xml:space="preserve">
+ <value>Private Email (AliasVault server)</value>
+ <comment>Title for private email domains section</comment>
+ </data>
+ <data name="PrivateEmailDescription" xml:space="preserve">
+ <value>E2E encrypted, fully private.</value>
+ <comment>Description of private email domains</comment>
+ </data>
+ <data name="PublicEmailTitle" xml:space="preserve">
+ <value>Public Temp Email Providers</value>
+ <comment>Title for public email domains section</comment>
+ </data>
+ <data name="PublicEmailDescription" xml:space="preserve">
+ <value>Anonymous but limited privacy. Accessible to anyone that knows the address.</value>
+ <comment>Description of public email domains</comment>
+ </data>
+</root>
\ No newline at end of file
diff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Forms/EditEmailFormRow.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Forms/EditEmailFormRow.nl.resx
new file mode 100644
index 000000000..a46484bf9
--- /dev/null
+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Forms/EditEmailFormRow.nl.resx
@@ -0,0 +1,89 @@
+<?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="UseDomainChooserButton" xml:space="preserve">
+ <value>Domeinkeuzehulp gebruiken</value>
+ <comment>Button to switch back to domain chooser</comment>
+ </data>
+ <data name="EnterCustomDomainButton" xml:space="preserve">
+ <value>Aangepast domein invoeren</value>
+ <comment>Button to switch to custom domain entry</comment>
+ </data>
+ <data name="SelectEmailDomainTitle" xml:space="preserve">
+ <value>E-maildomein selecteren</value>
+ <comment>Title of domain selection popup</comment>
+ </data>
+ <data name="PrivateEmailTitle" xml:space="preserve">
+ <value>Privé E-mail (AliasVault server)</value>
+ <comment>Title for private email domains section</comment>
+ </data>
+ <data name="PrivateEmailDescription" xml:space="preserve">
+ <value>End-to-end versleuteld, volledig privé.</value>
+ <comment>Description of private email domains</comment>
+ </data>
+ <data name="PublicEmailTitle" xml:space="preserve">
+ <value>Publieke tijdelijke e-mailproviders</value>
+ <comment>Title for public email domains section</comment>
+ </data>
+ <data name="PublicEmailDescription" xml:space="preserve">
+ <value>Anoniem maar beperkte privacy. Toegankelijk voor iedereen die het adres kent.</value>
+ <comment>Description of public email domains</comment>
+ </data>
+</root>
\ No newline at end of file
diff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServiceCard.en.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServiceCard.en.resx
new file mode 100644
index 000000000..463424969
--- /dev/null
+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServiceCard.en.resx
@@ -0,0 +1,89 @@
+<?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="NoLogoText" xml:space="preserve">
+ <value>No logo</value>
+ <comment>Text shown when service logo is not available</comment>
+ </data>
+ <data name="ImportFromServiceTitle" xml:space="preserve">
+ <value>Import from {0}</value>
+ <comment>Modal title for importing from a service. {0} is placeholder for service name</comment>
+ </data>
+ <data name="UploadExportFileText" xml:space="preserve">
+ <value>Upload your {0} export file:</value>
+ <comment>Text for file upload instruction. {0} is placeholder for service name</comment>
+ </data>
+ <data name="CancelButton" xml:space="preserve">
+ <value>Cancel</value>
+ <comment>Cancel button text</comment>
+ </data>
+ <data name="BackButton" xml:space="preserve">
+ <value>Back</value>
+ <comment>Back button text</comment>
+ </data>
+ <data name="NextButton" xml:space="preserve">
+ <value>Next</value>
+ <comment>Next button text</comment>
+ </data>
+ <data name="ImportButton" xml:space="preserve">
+ <value>Import</value>
+ <comment>Import button text</comment>
+ </data>
+</root>
\ No newline at end of file
diff --git a/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServiceCard.nl.resx b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServiceCard.nl.resx
new file mode 100644
index 000000000..cd6472b89
--- /dev/null
+++ b/apps/server/AliasVault.Client/Resources/Components/Main/Settings/ImportExport/ImportServiceCard.nl.resx
@@ -0,0 +1,89 @@
+<?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="NoLogoText" xml:space="preserve">
+ <value>Geen logo</value>
+ <comment>Text shown when service logo is not available</comment>
+ </data>
+ <data name="ImportFromServiceTitle" xml:space="preserve">
+ <value>Importeren van {0}</value>
+ <comment>Modal title for importing from a service. {0} is placeholder for service name</comment>
+ </data>
+ <data name="UploadExportFileText" xml:space="preserve">
+ <value>Upload uw {0} export bestand:</value>
+ <comment>Text for file upload instruction. {0} is placeholder for service name</comment>
+ </data>
+ <data name="CancelButton" xml:space="preserve">
+ <value>Annuleren</value>
+ <comment>Cancel button text</comment>
+ </data>
+ <data name="BackButton" xml:space="preserve">
+ <value>Terug</value>
+ <comment>Back button text</comment>
+ </data>
+ <data name="NextButton" xml:space="preserve">
+ <value>Volgende</value>
+ <comment>Next button text</comment>
+ </data>
+ <data name="ImportButton" xml:space="preserve">
+ <value>Importeren</value>
+ <comment>Import button text</comment>
+ </data>
+</root>
\ No newline at end of file
diff --git a/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/View.en.resx b/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/View.en.resx
index f6f19d1ac..367daab28 100644
--- a/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/View.en.resx
+++ b/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/View.en.resx
@@ -28,13 +28,21 @@
<value>View credential</value>
<comment>Page header title for viewing a credential</comment>
</data>
- <data name="EditButton">
+ <data name="EditButtonMobile">
<value>Edit</value>
- <comment>Edit button text</comment>
+ <comment>Edit button text for mobile (short)</comment>
</data>
- <data name="DeleteButton">
+ <data name="EditButtonDesktop">
+ <value>credential</value>
+ <comment>Additional text for edit button on desktop (shown after main text)</comment>
+ </data>
+ <data name="DeleteButtonMobile">
<value>Delete</value>
- <comment>Delete button text</comment>
+ <comment>Delete button text for mobile (short)</comment>
+ </data>
+ <data name="DeleteButtonDesktop">
+ <value>credential</value>
+ <comment>Additional text for delete button on desktop (shown after main text)</comment>
</data>
<data name="LoginCredentialsSection">
<value>Login credentials</value>
diff --git a/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/View.nl.resx b/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/View.nl.resx
index 37257eb1b..1e954b8eb 100644
--- a/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/View.nl.resx
+++ b/apps/server/AliasVault.Client/Resources/Pages/Main/Credentials/View.nl.resx
@@ -28,13 +28,21 @@
<value>Inloggegevens bekijken</value>
<comment>Page header title for viewing a credential</comment>
</data>
- <data name="EditButton">
+ <data name="EditButtonMobile">
<value>Bewerken</value>
- <comment>Edit button text</comment>
+ <comment>Edit button text for mobile (short)</comment>
</data>
- <data name="DeleteButton">
+ <data name="EditButtonDesktop">
+ <value>inloggegevens</value>
+ <comment>Additional text for edit button on desktop (shown after main text)</comment>
+ </data>
+ <data name="DeleteButtonMobile">
<value>Verwijderen</value>
- <comment>Delete button text</comment>
+ <comment>Delete button text for mobile (short)</comment>
+ </data>
+ <data name="DeleteButtonDesktop">
+ <value>inloggegevens</value>
+ <comment>Additional text for delete button on desktop (shown after main text)</comment>
</data>
<data name="LoginCredentialsSection">
<value>Inloggegevens</value>