From d255905907a8376a778424fd866f34456897113d Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Mon, 28 Oct 2024 13:22:29 +0100 Subject: [PATCH] bulk client creation #285 --- frontend/src/layouts/modals/ClientBulk.vue | 199 +++++++++++++++++++++ frontend/src/locales/en.ts | 5 + frontend/src/locales/fa.ts | 5 + frontend/src/locales/ru.ts | 5 + frontend/src/locales/vi.ts | 5 + frontend/src/locales/zhcn.ts | 5 + frontend/src/locales/zhtw.ts | 5 + frontend/src/views/Clients.vue | 66 ++++++- 8 files changed, 289 insertions(+), 6 deletions(-) create mode 100644 frontend/src/layouts/modals/ClientBulk.vue diff --git a/frontend/src/layouts/modals/ClientBulk.vue b/frontend/src/layouts/modals/ClientBulk.vue new file mode 100644 index 0000000..aaa3971 --- /dev/null +++ b/frontend/src/layouts/modals/ClientBulk.vue @@ -0,0 +1,199 @@ + + + \ No newline at end of file diff --git a/frontend/src/locales/en.ts b/frontend/src/locales/en.ts index a4d3271..cdcd245 100644 --- a/frontend/src/locales/en.ts +++ b/frontend/src/locales/en.ts @@ -165,6 +165,11 @@ export default { external: "External Link", sub: "External Subscription", }, + bulk: { + add: "Add Bulk", + order: "Order", + random: "Random", + }, types: { un: "Username", pw: "Password", diff --git a/frontend/src/locales/fa.ts b/frontend/src/locales/fa.ts index 389309f..2776e7a 100644 --- a/frontend/src/locales/fa.ts +++ b/frontend/src/locales/fa.ts @@ -164,6 +164,11 @@ export default { external: "لینک‌ خارجی", sub: "سابسکریپشن خارجی", }, + bulk: { + add: "ایجاد انبوه", + order: "ترتیب", + random: "تصادفی", + }, types: { un: "نام کاربری", pw: "رمز", diff --git a/frontend/src/locales/ru.ts b/frontend/src/locales/ru.ts index a79430f..42093be 100644 --- a/frontend/src/locales/ru.ts +++ b/frontend/src/locales/ru.ts @@ -165,6 +165,11 @@ export default { external: "Внешняя ссылка", sub: "Внешняя подписка", }, + bulk: { + add: "Добавить пакетно", + order: "Порядок", + random: "Случайный", + }, types: { un: "Имя пользователя", pw: "Пароль", diff --git a/frontend/src/locales/vi.ts b/frontend/src/locales/vi.ts index 04d2bff..cc82295 100644 --- a/frontend/src/locales/vi.ts +++ b/frontend/src/locales/vi.ts @@ -165,6 +165,11 @@ export default { external: "Liên kết bên ngoài", sub: "Đăng ký bên ngoài", }, + bulk: { + add: "Thêm Hàng loạt", + order: "Sắp xếp", + random: "Ngẫu nhiên", + }, types: { un: "Tên người dùng", pw: "Mật khẩu", diff --git a/frontend/src/locales/zhcn.ts b/frontend/src/locales/zhcn.ts index 58913ee..62cb219 100644 --- a/frontend/src/locales/zhcn.ts +++ b/frontend/src/locales/zhcn.ts @@ -165,6 +165,11 @@ export default { external: "外部链接", sub: "外部订阅", }, + bulk: { + add: "批量添加", + order: "排序", + random: "随机", + }, types: { un: "用户名", pw: "密码", diff --git a/frontend/src/locales/zhtw.ts b/frontend/src/locales/zhtw.ts index 1bb89ea..5edbba6 100644 --- a/frontend/src/locales/zhtw.ts +++ b/frontend/src/locales/zhtw.ts @@ -166,6 +166,11 @@ export default { external: "外部鏈接", sub: "外部訂閱", }, + bulk: { + add: "批量添加", + order: "排序", + random: "隨機", + }, types: { un: "用戶名", pw: "密碼", diff --git a/frontend/src/views/Clients.vue b/frontend/src/views/Clients.vue index 11f4357..112135d 100644 --- a/frontend/src/views/Clients.vue +++ b/frontend/src/views/Clients.vue @@ -11,6 +11,14 @@ @close="closeModal" @save="saveModal" /> + {{ $t('actions.add') }} + + + + + + + + + + + @@ -93,9 +118,9 @@ - - - + + +