@isoftdata/svelte-user-configuration 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -317,12 +317,12 @@ $: isCreatingNewUser = userAccount.id === null;
|
|
|
317
317
|
try {
|
|
318
318
|
await confirmPasswordSet({ currentPassword, newPassword })
|
|
319
319
|
await success?.({
|
|
320
|
-
heading: translate('configuration.user.
|
|
321
|
-
message: translate('configuration.user.
|
|
320
|
+
heading: translate('configuration.user.passwordChangeSuccessHeading', 'Password Changed!'),
|
|
321
|
+
message: translate('configuration.user.passwordChangeSuccessMessage', 'Password changed successfully'),
|
|
322
322
|
})
|
|
323
323
|
} catch (err) {
|
|
324
324
|
await error?.({
|
|
325
|
-
heading: translate('configuration.user.
|
|
325
|
+
heading: translate('configuration.user.passwordChangeErrorHeading', 'Failed To Change Password'),
|
|
326
326
|
message: err instanceof Error ? err.message : translate('workOrder.unknownError', 'An unknown error occurred'),
|
|
327
327
|
})
|
|
328
328
|
console.error(err)
|