diff --git a/crm/locale/main.pot b/crm/locale/main.pot index 541fa7720..2dd9f7d04 100644 --- a/crm/locale/main.pot +++ b/crm/locale/main.pot @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Frappe CRM VERSION\n" "Report-Msgid-Bugs-To: shariq@frappe.io\n" -"POT-Creation-Date: 2024-12-23 04:28+0000\n" -"PO-Revision-Date: 2024-12-23 04:28+0000\n" +"POT-Creation-Date: 2024-12-23 16:46+0000\n" +"PO-Revision-Date: 2024-12-23 16:46+0000\n" "Last-Translator: shariq@frappe.io\n" "Language-Team: shariq@frappe.io\n" "MIME-Version: 1.0\n" @@ -1949,6 +1949,7 @@ msgid "Load Default Columns" msgstr "" #: frontend/src/components/Kanban/KanbanView.vue:142 +#: frontend/src/components/custom-ui/ListFooter.vue:14 msgid "Load More" msgstr "" @@ -3069,6 +3070,14 @@ msgstr "" msgid "Select" msgstr "" +#: frontend/src/components/custom-ui/ListSelectBanner.vue:58 +msgid "Select All" +msgstr "" + +#: frontend/src/components/custom-ui/ListSelectBanner.vue:81 +msgid "Selected" +msgstr "" + #: frontend/src/components/EmailEditor.vue:159 msgid "Send" msgstr "" diff --git a/crm/locale/ru.po b/crm/locale/ru.po index b841fca66..af6166c2e 100644 --- a/crm/locale/ru.po +++ b/crm/locale/ru.po @@ -7,17 +7,16 @@ msgid "" msgstr "" "Project-Id-Version: Frappe CRM VERSION\n" "Report-Msgid-Bugs-To: shariq@frappe.io\n" -"POT-Creation-Date: 2024-12-23 04:28+0000\n" -"PO-Revision-Date: 2024-12-23 08:33+0400\n" +"POT-Creation-Date: 2024-12-23 16:46+0000\n" +"PO-Revision-Date: 2024-12-23 20:50+0400\n" "Last-Translator: AlexKuzin \n" -"Language-Team: shariq@frappe.io\n" "Language: ru\n" +"Language-Team: shariq@frappe.io\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" "Generated-By: Babel 2.13.1\n" -"X-Generator: Poedit 3.5\n" #: frontend/src/components/ViewControls.vue:980 msgid " (New)" @@ -1952,6 +1951,7 @@ msgid "Load Default Columns" msgstr "Загрузка колонок по умолчанию" #: frontend/src/components/Kanban/KanbanView.vue:142 +#: frontend/src/components/custom-ui/ListFooter.vue:14 msgid "Load More" msgstr "Загрузить больше" @@ -3071,6 +3071,14 @@ msgstr "Поиск по сайту или отрасли..." msgid "Select" msgstr "Выберите" +#: frontend/src/components/custom-ui/ListSelectBanner.vue:58 +msgid "Select All" +msgstr "Выбрать все" + +#: frontend/src/components/custom-ui/ListSelectBanner.vue:81 +msgid "Selected" +msgstr "Выбрано" + #: frontend/src/components/EmailEditor.vue:159 msgid "Send" msgstr "Отправить" @@ -3868,3 +3876,4 @@ msgstr "{0} - недопустимый адрес электронной поч #: frontend/src/components/Settings/SettingsPage.vue:155 msgid "{0} is mandatory" msgstr "{0} является обязательным" + diff --git a/frontend/src/components/ListViews/CallLogsListView.vue b/frontend/src/components/ListViews/CallLogsListView.vue index 39af57821..413bce5fd 100644 --- a/frontend/src/components/ListViews/CallLogsListView.vue +++ b/frontend/src/components/ListViews/CallLogsListView.vue @@ -170,12 +170,12 @@ import { ListRows, ListRow, ListRowItem, - ListFooter, Tooltip, Dropdown, Button, - ListSelectBanner, } from 'frappe-ui' +import ListSelectBanner from '@/components/custom-ui/ListSelectBanner.vue' +import ListFooter from '@/components/custom-ui/ListFooter.vue' import { sessionStore } from '@/stores/session' import { ref, computed, watch } from 'vue' diff --git a/frontend/src/components/ListViews/ContactsListView.vue b/frontend/src/components/ListViews/ContactsListView.vue index b87f6af9a..03bf82b78 100644 --- a/frontend/src/components/ListViews/ContactsListView.vue +++ b/frontend/src/components/ListViews/ContactsListView.vue @@ -169,12 +169,12 @@ import { ListRows, ListRow, ListRowItem, - ListFooter, Tooltip, Dropdown, Button, - ListSelectBanner, } from 'frappe-ui' +import ListSelectBanner from '@/components/custom-ui/ListSelectBanner.vue' +import ListFooter from '@/components/custom-ui/ListFooter.vue' import { sessionStore } from '@/stores/session' import { ref, computed, watch } from 'vue' import { useRoute } from 'vue-router' diff --git a/frontend/src/components/ListViews/DealsListView.vue b/frontend/src/components/ListViews/DealsListView.vue index 1be443346..307cafe8d 100644 --- a/frontend/src/components/ListViews/DealsListView.vue +++ b/frontend/src/components/ListViews/DealsListView.vue @@ -205,12 +205,12 @@ import { ListHeader, ListHeaderItem, ListRowItem, - ListFooter, Dropdown, Tooltip, Button, - ListSelectBanner, } from 'frappe-ui' +import ListSelectBanner from '@/components/custom-ui/ListSelectBanner.vue' +import ListFooter from '@/components/custom-ui/ListFooter.vue' import { sessionStore } from '@/stores/session' import { ref, computed, watch } from 'vue' import { useRoute } from 'vue-router' diff --git a/frontend/src/components/ListViews/EmailTemplatesListView.vue b/frontend/src/components/ListViews/EmailTemplatesListView.vue index 625ca15ed..f67ef7e61 100644 --- a/frontend/src/components/ListViews/EmailTemplatesListView.vue +++ b/frontend/src/components/ListViews/EmailTemplatesListView.vue @@ -156,12 +156,12 @@ import { ListRows, ListRow, ListRowItem, - ListFooter, Dropdown, Tooltip, Button, - ListSelectBanner, } from 'frappe-ui' +import ListSelectBanner from '@/components/custom-ui/ListSelectBanner.vue' +import ListFooter from '@/components/custom-ui/ListFooter.vue' import { sessionStore } from '@/stores/session' import { ref, computed, watch } from 'vue' diff --git a/frontend/src/components/ListViews/LeadsListView.vue b/frontend/src/components/ListViews/LeadsListView.vue index a7c6f80ff..e37894233 100644 --- a/frontend/src/components/ListViews/LeadsListView.vue +++ b/frontend/src/components/ListViews/LeadsListView.vue @@ -215,12 +215,12 @@ import { ListView, ListHeader, ListHeaderItem, - ListSelectBanner, ListRowItem, - ListFooter, Dropdown, Tooltip, } from 'frappe-ui' +import ListSelectBanner from '@/components/custom-ui/ListSelectBanner.vue' +import ListFooter from '@/components/custom-ui/ListFooter.vue' import { sessionStore } from '@/stores/session' import { ref, computed, watch } from 'vue' import { useRoute } from 'vue-router' diff --git a/frontend/src/components/ListViews/OrganizationsListView.vue b/frontend/src/components/ListViews/OrganizationsListView.vue index 649509459..9fba4a433 100644 --- a/frontend/src/components/ListViews/OrganizationsListView.vue +++ b/frontend/src/components/ListViews/OrganizationsListView.vue @@ -159,12 +159,12 @@ import { ListRows, ListRow, ListRowItem, - ListFooter, Tooltip, Dropdown, Button, - ListSelectBanner, } from 'frappe-ui' +import ListSelectBanner from '@/components/custom-ui/ListSelectBanner.vue' +import ListFooter from '@/components/custom-ui/ListFooter.vue' import { sessionStore } from '@/stores/session' import { ref, computed, watch } from 'vue' import { useRoute } from 'vue-router' diff --git a/frontend/src/components/ListViews/TasksListView.vue b/frontend/src/components/ListViews/TasksListView.vue index 67c49f979..1084ed820 100644 --- a/frontend/src/components/ListViews/TasksListView.vue +++ b/frontend/src/components/ListViews/TasksListView.vue @@ -177,12 +177,12 @@ import { ListRows, ListRow, ListRowItem, - ListFooter, Tooltip, Dropdown, Button, - ListSelectBanner, } from 'frappe-ui' +import ListSelectBanner from '@/components/custom-ui/ListSelectBanner.vue' +import ListFooter from '@/components/custom-ui/ListFooter.vue' import { sessionStore } from '@/stores/session' import { ref, computed, watch } from 'vue' diff --git a/frontend/src/components/custom-ui/ListFooter.vue b/frontend/src/components/custom-ui/ListFooter.vue new file mode 100644 index 000000000..4ac8c2973 --- /dev/null +++ b/frontend/src/components/custom-ui/ListFooter.vue @@ -0,0 +1,63 @@ + + + \ No newline at end of file diff --git a/frontend/src/components/custom-ui/ListSelectBanner.vue b/frontend/src/components/custom-ui/ListSelectBanner.vue new file mode 100644 index 000000000..dea26a676 --- /dev/null +++ b/frontend/src/components/custom-ui/ListSelectBanner.vue @@ -0,0 +1,85 @@ + + + diff --git a/frontend/src/pages/Notes.vue b/frontend/src/pages/Notes.vue index cf0ec1346..da694c81b 100644 --- a/frontend/src/pages/Notes.vue +++ b/frontend/src/pages/Notes.vue @@ -111,7 +111,8 @@ import NoteModal from '@/components/Modals/NoteModal.vue' import ViewControls from '@/components/ViewControls.vue' import { usersStore } from '@/stores/users' import { timeAgo, formatDate } from '@/utils' -import { TextEditor, call, Dropdown, Tooltip, ListFooter } from 'frappe-ui' +import { TextEditor, call, Dropdown, Tooltip } from 'frappe-ui' +import ListFooter from '@/components/custom-ui/ListFooter.vue' import { ref, watch } from 'vue' const { getUser } = usersStore()