diff --git a/app/javascript/dashboard/i18n/locale/en/settings.json b/app/javascript/dashboard/i18n/locale/en/settings.json
index 1c8741925..80fcae261 100644
--- a/app/javascript/dashboard/i18n/locale/en/settings.json
+++ b/app/javascript/dashboard/i18n/locale/en/settings.json
@@ -57,13 +57,14 @@
},
"ACCESS_TOKEN": {
"TITLE": "Access Token",
- "NOTE": "This token can be used if you are building an API based integration"
+ "NOTE": "This token can be used if you are building an API based integration",
+ "COPY": "Copy"
},
"AUDIO_NOTIFICATIONS_SECTION": {
"TITLE": "Audio Notifications",
"NOTE": "Enable audio notifications in dashboard for new messages and conversations.",
"ALERT_TYPE": {
- "TITLE": "Alert events:",
+ "TITLE": "Alert events for conversations:",
"NONE": "None",
"ASSIGNED": "Assigned Conversations",
"ALL_CONVERSATIONS": "All Conversations"
@@ -89,6 +90,22 @@
"SLA_MISSED_NEXT_RESPONSE": "Send email notifications when a conversation misses next response SLA",
"SLA_MISSED_RESOLUTION": "Send email notifications when a conversation misses resolution SLA"
},
+ "NOTIFICATIONS": {
+ "TITLE": "Notification preferences",
+ "TYPE_TITLE": "Notification type",
+ "EMAIL": "Email",
+ "PUSH": "Push notification",
+ "TYPES": {
+ "CONVERSATION_CREATED": "A new conversation is created",
+ "CONVERSATION_ASSIGNED": "A conversation is assigned to you",
+ "CONVERSATION_MENTION": "You are mentioned in a conversation",
+ "ASSIGNED_CONVERSATION_NEW_MESSAGE": "A new message is created in an assigned conversation",
+ "PARTICIPATING_CONVERSATION_NEW_MESSAGE": "A new message is created in a participating conversation",
+ "SLA_MISSED_FIRST_RESPONSE": "A conversation misses first response SLA",
+ "SLA_MISSED_NEXT_RESPONSE": "A conversation misses next response SLA",
+ "SLA_MISSED_RESOLUTION": "A conversation misses resolution SLA"
+ }
+ },
"API": {
"UPDATE_SUCCESS": "Your notification preferences are updated successfully",
"UPDATE_ERROR": "There is an error while updating the preferences, please try again"
diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/AccessToken.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/AccessToken.vue
index 77a30d83b..10e7bda1c 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/personal/AccessToken.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/personal/AccessToken.vue
@@ -18,7 +18,7 @@
color-scheme="secondary"
@click="onClick"
>
- Copy
+ {{ $t('PROFILE_SETTINGS.FORM.ACCESS_TOKEN.COPY') }}
diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/HotKeyCard.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/HotKeyCard.vue
index 00a9427ad..60d1ac94f 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/personal/HotKeyCard.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/personal/HotKeyCard.vue
@@ -29,25 +29,23 @@
-
diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/Index.vue
index 64acd25e6..7c82899e9 100644
--- a/app/javascript/dashboard/routes/dashboard/settings/personal/Index.vue
+++ b/app/javascript/dashboard/routes/dashboard/settings/personal/Index.vue
@@ -12,8 +12,8 @@
:src="avatarUrl"
:name="name"
size="72px"
- @change="handleImageUpload"
- @delete="deleteAvatar"
+ @change="updateProfilePicture"
+ @delete="deleteProfilePicture"
/>
@@ -35,9 +37,8 @@
@@ -62,8 +63,12 @@
@@ -71,8 +76,7 @@
@@ -80,7 +84,7 @@
- Notification type
+ {{ $t('PROFILE_SETTINGS.FORM.NOTIFICATIONS.TYPE_TITLE') }}
- Email
+ {{ $t('PROFILE_SETTINGS.FORM.NOTIFICATIONS.EMAIL') }}
@@ -30,7 +30,11 @@
class="flex items-center gap-2 col-span-6 px-0 py-2 tracking-[0.5] rtl:text-right"
>
- A new conversation is created
+ {{
+ $t(
+ 'PROFILE_SETTINGS.FORM.NOTIFICATIONS.TYPES.CONVERSATION_CREATED'
+ )
+ }}
- Conversation is assigned to you
+ {{
+ $t(
+ 'PROFILE_SETTINGS.FORM.NOTIFICATIONS.TYPES.CONVERSATION_ASSIGNED'
+ )
+ }}
- You are mentioned in a conversation
+ {{
+ $t(
+ 'PROFILE_SETTINGS.FORM.NOTIFICATIONS.TYPES.CONVERSATION_MENTION'
+ )
+ }}
- New message is created in an assigned conversation
+ {{
+ $t(
+ 'PROFILE_SETTINGS.FORM.NOTIFICATIONS.TYPES.ASSIGNED_CONVERSATION_NEW_MESSAGE'
+ )
+ }}
- New message is created in an participating conversation
+ {{
+ $t(
+ 'PROFILE_SETTINGS.FORM.NOTIFICATIONS.TYPES.PARTICIPATING_CONVERSATION_NEW_MESSAGE'
+ )
+ }}