From feb475561e6e20bb9ce3a831f4327d4887871403 Mon Sep 17 00:00:00 2001
From: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
Date: Sat, 10 May 2025 21:27:42 +0200
Subject: [PATCH] fix: missing translation in pin settings (#18203)

---
 i18n/en.json                                                    | 1 +
 .../lib/components/user-settings-page/PinCodeSettings.svelte    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/i18n/en.json b/i18n/en.json
index 6d683dfc55..2db9976fa6 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -5,6 +5,7 @@
   "new_pin_code": "New PIN code",
   "setup_pin_code": "Setup a PIN code",
   "confirm_new_pin_code": "Confirm new PIN code",
+  "change_pin_code": "Change PIN code",
   "unable_to_change_pin_code": "Unable to change PIN code",
   "unable_to_setup_pin_code": "Unable to setup PIN code",
   "pin_code_changed_successfully": "Successfully changed PIN code",
diff --git a/web/src/lib/components/user-settings-page/PinCodeSettings.svelte b/web/src/lib/components/user-settings-page/PinCodeSettings.svelte
index ef122b14e7..4839b2d58c 100644
--- a/web/src/lib/components/user-settings-page/PinCodeSettings.svelte
+++ b/web/src/lib/components/user-settings-page/PinCodeSettings.svelte
@@ -79,7 +79,7 @@
     <form autocomplete="off" onsubmit={handleSubmit} class="mt-6">
       <div class="flex flex-col gap-6 place-items-center place-content-center">
         {#if hasPinCode}
-          <p class="text-dark">Change PIN code</p>
+          <p class="text-dark">{$t('change_pin_code')}</p>
           <PinCodeInput label={$t('current_pin_code')} bind:value={currentPinCode} tabindexStart={1} pinLength={6} />
 
           <PinCodeInput label={$t('new_pin_code')} bind:value={newPinCode} tabindexStart={7} pinLength={6} />