mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-24 11:26:22 +00:00
remove unnecessary descriptions for fields and translations
This commit is contained in:
@@ -87,18 +87,20 @@
|
||||
<!-- Email Fallback Inbox -->
|
||||
<FormField v-slot="{ componentField }" name="linked_email_inbox_id">
|
||||
<FormItem>
|
||||
<FormLabel>{{ $t('admin.inbox.livechat.emailFallbackInbox') }}</FormLabel>
|
||||
<FormLabel>{{ $t('admin.inbox.livechat.conversationContinuity') }}</FormLabel>
|
||||
<FormControl>
|
||||
<Select v-bind="componentField">
|
||||
<SelectTrigger>
|
||||
<SelectValue
|
||||
:placeholder="$t('admin.inbox.livechat.emailFallbackInbox.placeholder')"
|
||||
:placeholder="
|
||||
$t('globals.messages.select', {
|
||||
name: $t('globals.terms.inbox').toLowerCase()
|
||||
})
|
||||
"
|
||||
/>
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem :value="0">{{
|
||||
$t('admin.inbox.livechat.emailFallbackInbox.none')
|
||||
}}</SelectItem>
|
||||
<SelectItem :value="0"> None </SelectItem>
|
||||
<SelectItem v-for="inbox in emailInboxes" :key="inbox.id" :value="inbox.id">
|
||||
{{ inbox.name }}
|
||||
</SelectItem>
|
||||
@@ -106,7 +108,7 @@
|
||||
</Select>
|
||||
</FormControl>
|
||||
<FormDescription>
|
||||
{{ $t('admin.inbox.livechat.emailFallbackInbox.description') }}
|
||||
{{ $t('admin.inbox.livechat.conversationContinuity.description') }}
|
||||
</FormDescription>
|
||||
</FormItem>
|
||||
</FormField>
|
||||
@@ -114,6 +116,38 @@
|
||||
|
||||
<!-- Appearance Tab -->
|
||||
<div v-show="activeTab === 'appearance'" class="space-y-6">
|
||||
<!-- Dark mode -->
|
||||
<FormField v-slot="{ componentField, handleChange }" name="config.dark_mode">
|
||||
<FormItem class="flex flex-row items-center justify-between box p-4">
|
||||
<div class="space-y-0.5">
|
||||
<FormLabel class="text-base">{{ $t('admin.inbox.livechat.darkMode') }}</FormLabel>
|
||||
<FormDescription>{{
|
||||
$t('admin.inbox.livechat.darkMode.description')
|
||||
}}</FormDescription>
|
||||
</div>
|
||||
<FormControl>
|
||||
<Switch :checked="componentField.modelValue" @update:checked="handleChange" />
|
||||
</FormControl>
|
||||
</FormItem>
|
||||
</FormField>
|
||||
|
||||
<!-- Show Powered By -->
|
||||
<FormField v-slot="{ componentField, handleChange }" name="config.show_powered_by">
|
||||
<FormItem class="flex flex-row items-center justify-between box p-4">
|
||||
<div class="space-y-0.5">
|
||||
<FormLabel class="text-base">{{
|
||||
$t('admin.inbox.livechat.showPoweredBy')
|
||||
}}</FormLabel>
|
||||
<FormDescription>{{
|
||||
$t('admin.inbox.livechat.showPoweredBy.description')
|
||||
}}</FormDescription>
|
||||
</div>
|
||||
<FormControl>
|
||||
<Switch :checked="componentField.modelValue" @update:checked="handleChange" />
|
||||
</FormControl>
|
||||
</FormItem>
|
||||
</FormField>
|
||||
|
||||
<!-- Logo URL -->
|
||||
<FormField v-slot="{ componentField }" name="config.logo_url">
|
||||
<FormItem>
|
||||
@@ -148,38 +182,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Dark mode -->
|
||||
<FormField v-slot="{ componentField, handleChange }" name="config.dark_mode">
|
||||
<FormItem class="flex flex-row items-center justify-between box p-4">
|
||||
<div class="space-y-0.5">
|
||||
<FormLabel class="text-base">{{ $t('admin.inbox.livechat.darkMode') }}</FormLabel>
|
||||
<FormDescription>{{
|
||||
$t('admin.inbox.livechat.darkMode.description')
|
||||
}}</FormDescription>
|
||||
</div>
|
||||
<FormControl>
|
||||
<Switch :checked="componentField.modelValue" @update:checked="handleChange" />
|
||||
</FormControl>
|
||||
</FormItem>
|
||||
</FormField>
|
||||
|
||||
<!-- Show Powered By -->
|
||||
<FormField v-slot="{ componentField, handleChange }" name="config.show_powered_by">
|
||||
<FormItem class="flex flex-row items-center justify-between box p-4">
|
||||
<div class="space-y-0.5">
|
||||
<FormLabel class="text-base">{{
|
||||
$t('admin.inbox.livechat.showPoweredBy')
|
||||
}}</FormLabel>
|
||||
<FormDescription>{{
|
||||
$t('admin.inbox.livechat.showPoweredBy.description')
|
||||
}}</FormDescription>
|
||||
</div>
|
||||
<FormControl>
|
||||
<Switch :checked="componentField.modelValue" @update:checked="handleChange" />
|
||||
</FormControl>
|
||||
</FormItem>
|
||||
</FormField>
|
||||
|
||||
<!-- Launcher Configuration -->
|
||||
<div class="space-y-4">
|
||||
<h4 class="font-medium text-foreground">{{ $t('admin.inbox.livechat.launcher') }}</h4>
|
||||
@@ -363,9 +365,6 @@
|
||||
<FormLabel class="text-base">{{
|
||||
$t('admin.inbox.livechat.noticeBanner.enabled')
|
||||
}}</FormLabel>
|
||||
<FormDescription>{{
|
||||
$t('admin.inbox.livechat.noticeBanner.enabled.description')
|
||||
}}</FormDescription>
|
||||
</div>
|
||||
<FormControl>
|
||||
<Switch :checked="componentField.modelValue" @update:checked="handleChange" />
|
||||
@@ -387,9 +386,6 @@
|
||||
rows="2"
|
||||
/>
|
||||
</FormControl>
|
||||
<FormDescription>{{
|
||||
$t('admin.inbox.livechat.noticeBanner.text.description')
|
||||
}}</FormDescription>
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
</FormField>
|
||||
|
||||
+2
-6
@@ -543,9 +543,7 @@
|
||||
"admin.inbox.livechat.showPoweredBy.description": "Show \"Powered by Libredesk\" in the chat widget",
|
||||
"admin.inbox.livechat.noticeBanner": "Notice Banner",
|
||||
"admin.inbox.livechat.noticeBanner.enabled": "Enable Notice Banner",
|
||||
"admin.inbox.livechat.noticeBanner.enabled.description": "Show a notice banner to visitors",
|
||||
"admin.inbox.livechat.noticeBanner.text": "Notice Banner Text",
|
||||
"admin.inbox.livechat.noticeBanner.text.description": "Default: Our response times are slower than usual. We're working hard to get to your message.",
|
||||
"admin.inbox.livechat.colors": "Colors",
|
||||
"admin.inbox.livechat.colors.primary": "Primary Color",
|
||||
"admin.inbox.livechat.colors.background": "Background Color",
|
||||
@@ -585,10 +583,8 @@
|
||||
"admin.inbox.livechat.prechatForm.addField": "Add Field",
|
||||
"admin.inbox.livechat.prechatForm.noFields": "No fields configured. Add fields from custom attributes.",
|
||||
"admin.inbox.livechat.prechatForm.availableFields": "Available Custom Attributes",
|
||||
"admin.inbox.livechat.emailFallbackInbox": "Email fallback inbox",
|
||||
"admin.inbox.livechat.emailFallbackInbox.placeholder": "Select an email inbox",
|
||||
"admin.inbox.livechat.emailFallbackInbox.description": "When contacts go offline, replies will be sent from this email inbox. The contacts can continue the same conversation by replying to the email or in the chat widget when they return to your site.",
|
||||
"admin.inbox.livechat.emailFallbackInbox.none": "None",
|
||||
"admin.inbox.livechat.conversationContinuity": "Conversation continuity email inbox",
|
||||
"admin.inbox.livechat.conversationContinuity.description": "When contacts go offline, replies will be sent from this email inbox. The contacts can continue the same conversation by replying to the email or in the chat widget when they return to your site.",
|
||||
"admin.agent.deleteConfirmation": "This will permanently delete the agent. Consider disabling the account instead.",
|
||||
"admin.agent.apiKey.description": "Generate API keys for this agent to access libredesk programmatically.",
|
||||
"admin.agent.apiKey.noKey": "No API key has been generated for this agent.",
|
||||
|
||||
Reference in New Issue
Block a user