{
const showEmailTemplateModal = ref(false)
const emailTemplate = ref({
- subject: '',
- response: '',
- name: '',
- enabled: 1,
- owner: '',
- reference_doctype: 'CRM Deal',
+ subject: '',
+ response: '',
+ name: '',
+ enabled: 1,
+ owner: '',
+ reference_doctype: 'CRM Deal',
})
function showEmailTemplate(name) {
diff --git a/frontend/src/pages/Notes.vue b/frontend/src/pages/Notes.vue
index 065d9bfe..32d90c25 100644
--- a/frontend/src/pages/Notes.vue
+++ b/frontend/src/pages/Notes.vue
@@ -4,7 +4,7 @@
-
@@ -16,7 +16,7 @@
doctype="FCRM Note"
:options="{
hideColumnsButton: true,
- defaultViewName: 'Notes View',
+ defaultViewName: __('Notes View'),
}"
/>
@@ -36,8 +36,8 @@
- No Notes Found
-
+ {{ __('No Notes Found') }}
+
@@ -121,13 +121,7 @@ import { ref, watch } from 'vue'
const { getUser } = usersStore()
-const list = {
- title: 'Notes',
- plural_label: 'Notes',
- singular_label: 'Note',
-}
-
-const breadcrumbs = [{ label: list.title, route: { name: 'Notes' } }]
+const breadcrumbs = [{ label: __('Notes'), route: { name: 'Notes' } }]
const showNoteModal = ref(false)
const currentNote = ref(null)
diff --git a/frontend/src/pages/Organizations.vue b/frontend/src/pages/Organizations.vue
index d0d20dd7..165069c9 100644
--- a/frontend/src/pages/Organizations.vue
+++ b/frontend/src/pages/Organizations.vue
@@ -10,7 +10,7 @@
/>
@@ -51,8 +51,8 @@
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
>
- No Organizations Found
-
+ {{ __('No Organizations Found') }}
+
@@ -88,10 +88,10 @@ const currentOrganization = computed(() => {
})
const breadcrumbs = computed(() => {
- let items = [{ label: 'Organizations', route: { name: 'Organizations' } }]
+ let items = [{ label: __('Organizations'), route: { name: 'Organizations' } }]
if (!currentOrganization.value) return items
items.push({
- label: currentOrganization.value.name,
+ label: __(currentOrganization.value.name),
route: {
name: 'Organization',
params: { organizationId: currentOrganization.value.name },
diff --git a/frontend/src/pages/Tasks.vue b/frontend/src/pages/Tasks.vue
index f4f77188..604bbe8a 100644
--- a/frontend/src/pages/Tasks.vue
+++ b/frontend/src/pages/Tasks.vue
@@ -8,7 +8,7 @@
v-if="tasksListView?.customListActions"
:actions="tasksListView.customListActions"
/>
-
+
@@ -45,7 +45,10 @@
class="flex flex-col items-center gap-3 text-xl font-medium text-gray-500"
>
- No Tasks Found
+ {{ __('No Tasks Found') }}
+
+
+
@@ -63,7 +66,7 @@ import { dateFormat, dateTooltipFormat, timeAgo } from '@/utils'
import { Breadcrumbs } from 'frappe-ui'
import { computed, ref } from 'vue'
-const breadcrumbs = [{ label: 'Tasks', route: { name: 'Tasks' } }]
+const breadcrumbs = [{ label: __('Tasks'), route: { name: 'Tasks' } }]
const { getUser } = usersStore()