diff --git a/locale/en/LC_MESSAGES/django.mo b/locale/en/LC_MESSAGES/django.mo index 33d1d30..ab2ade0 100644 Binary files a/locale/en/LC_MESSAGES/django.mo and b/locale/en/LC_MESSAGES/django.mo differ diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index b673afe..bea3f78 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-07-25 14:54+0300\n" +"POT-Creation-Date: 2026-07-25 16:50+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -47,7 +47,7 @@ msgstr "" #: apps/it_manager/admin.py:352 apps/it_manager/admin.py:498 #: apps/locations/models/pharmacies.py:128 apps/mail_connector/models.py:24 #: apps/tasks/models.py:40 apps/visit_manager/admin.py:199 core/admin.py:32 -#: templates/pages/employees.html:107 +#: templates/pages/dislocation.html:122 templates/pages/employees.html:107 msgid "Статус" msgstr "Status" @@ -247,8 +247,8 @@ msgstr "" #: apps/locations/admin.py:347 apps/locations/models/base.py:29 #: apps/locations/models/pharmacies.py:210 #: apps/locations/models/pharmacies.py:349 apps/mail_connector/models.py:12 -#: apps/utilities/models.py:17 templates/pages/employees.html:64 -#: templates/pages/employees.html:90 +#: apps/utilities/models.py:17 templates/pages/dislocation.html:116 +#: templates/pages/employees.html:64 templates/pages/employees.html:90 msgid "Аптека" msgstr "Pharmacy" @@ -271,8 +271,9 @@ msgid "Где работает: аптека / склад / офис" msgstr "" #: apps/employees/models/base.py:94 apps/locations/models/pharmacies.py:88 +#: templates/pages/dislocation.html:117 msgid "Организация" -msgstr "" +msgstr "Organization" #: apps/employees/models/base.py:95 apps/locations/models/pharmacies.py:89 msgid "Юрлицо: АКС, АКС Одесса, Тира, Пентальфа..." @@ -286,7 +287,8 @@ msgstr "" msgid "Заполняется для office / warehouse" msgstr "" -#: apps/employees/models/base.py:119 templates/pages/employees.html:104 +#: apps/employees/models/base.py:119 templates/pages/dislocation.html:297 +#: templates/pages/employees.html:104 msgid "Должность" msgstr "Position" @@ -403,8 +405,9 @@ msgid "Описание" msgstr "Description" #: apps/employees/models/permissions.py:17 apps/locations/models/base.py:59 +#: templates/pages/dislocation.html:180 templates/pages/dislocation.html:559 msgid "Активна" -msgstr "" +msgstr "Active" #: apps/employees/models/permissions.py:20 msgid "Группа разрешений" @@ -883,7 +886,8 @@ msgstr "" msgid "Лицензия" msgstr "" -#: apps/locations/admin.py:302 +#: apps/locations/admin.py:302 templates/pages/dislocation.html:119 +#: templates/pages/dislocation.html:557 msgid "Персонал" msgstr "" @@ -1026,7 +1030,7 @@ msgid "Категорія ПДВ" msgstr "" #: apps/locations/models/pharmacies.py:143 -#: apps/locations/models/pharmacies.py:330 +#: apps/locations/models/pharmacies.py:330 templates/pages/dislocation.html:120 msgid "Телефон" msgstr "" @@ -1081,6 +1085,7 @@ msgid "Ошибка синхронизации Carbonio" msgstr "" #: apps/locations/models/pharmacies.py:211 templates/index.html:381 +#: templates/pages/dislocation.html:16 msgid "Аптеки" msgstr "Pharmacies" @@ -1399,13 +1404,13 @@ msgstr "" msgid "Тип справочника" msgstr "" -#: core/admin.py:37 +#: core/admin.py:37 templates/pages/dislocation.html:90 msgid "Активные" -msgstr "" +msgstr "Active" -#: core/admin.py:38 +#: core/admin.py:38 templates/pages/dislocation.html:91 msgid "Неактивные" -msgstr "" +msgstr "Inactive" #: core/admin.py:49 msgid "Наличие потомков" @@ -1645,50 +1650,50 @@ msgstr "News" msgid "Задачи" msgstr "Tasks" -#: templates/index.html:270 templates/pages/dashboard.html:135 +#: templates/index.html:268 templates/pages/dislocation.html:8 +msgid "Дислокация" +msgstr "Dislocation" + +#: templates/index.html:277 templates/pages/dashboard.html:135 msgid "Документы" msgstr "Documents" -#: templates/index.html:280 templates/pages/dashboard.html:125 +#: templates/index.html:287 templates/pages/dashboard.html:125 msgid "Электронная почта" msgstr "Email" -#: templates/index.html:289 templates/index.html:680 +#: templates/index.html:296 templates/index.html:680 msgid "Чат" msgstr "Chat" -#: templates/index.html:298 templates/pages/dashboard.html:154 +#: templates/index.html:305 templates/pages/dashboard.html:154 msgid "Календарь" msgstr "Calendar" -#: templates/index.html:307 +#: templates/index.html:314 msgid "Базы данных" msgstr "Databases" -#: templates/index.html:316 +#: templates/index.html:323 msgid "Отчёты" msgstr "Reports" -#: templates/index.html:326 +#: templates/index.html:333 msgid "Закупки" msgstr "Purchases" -#: templates/index.html:335 templates/pages/dashboard.html:183 +#: templates/index.html:342 templates/pages/dashboard.html:183 msgid "HR портал" msgstr "HR portal" -#: templates/index.html:345 templates/index.html:611 +#: templates/index.html:352 templates/index.html:611 msgid "Настройки" msgstr "Settings" -#: templates/index.html:353 +#: templates/index.html:360 msgid "Управление" msgstr "Management" -#: templates/index.html:362 -msgid "Дислокация" -msgstr "Dislocation" - #: templates/index.html:371 msgid "Структура" msgstr "Structure" @@ -1785,11 +1790,12 @@ msgstr "Messages" msgid "Сотрудников онлайн" msgstr "Employees online" -#: templates/pages/dashboard.html:22 +#: templates/pages/dashboard.html:22 templates/pages/dislocation.html:720 msgid "из" msgstr "of" -#: templates/pages/dashboard.html:22 templates/pages/employees.html:25 +#: templates/pages/dashboard.html:22 templates/pages/dislocation.html:29 +#: templates/pages/employees.html:25 msgid "активных" msgstr "active" @@ -1845,6 +1851,196 @@ msgstr "Useful links and tools" msgid "Справочник" msgstr "Directory" +#: templates/pages/dislocation.html:3 +msgid "адрес не указан" +msgstr "address not specified" + +#: templates/pages/dislocation.html:3 +msgid "Должность не указана" +msgstr "Position not specified" + +#: templates/pages/dislocation.html:3 +msgid "Адрес неизвестен" +msgstr "Address unknown" + +#: templates/pages/dislocation.html:9 +msgid "аптек" +msgstr "pharmacies" + +#: templates/pages/dislocation.html:9 +msgid "сотрудников офиса/склада" +msgstr "office/warehouse employees" + +#: templates/pages/dislocation.html:9 +msgid "персонал по каждой локации" +msgstr "staff per location" + +#: templates/pages/dislocation.html:18 +msgid "Офис / Склад" +msgstr "Office / Warehouse" + +#: templates/pages/dislocation.html:27 +msgid "Всего аптек" +msgstr "Total pharmacies" + +#: templates/pages/dislocation.html:32 +msgid "Организаций" +msgstr "Organizations" + +#: templates/pages/dislocation.html:34 +msgid "юридических лиц" +msgstr "legal entities" + +#: templates/pages/dislocation.html:37 +msgid "Без заведующего" +msgstr "Without manager" + +#: templates/pages/dislocation.html:40 +msgid "требуют назначения" +msgstr "require assignment" + +#: templates/pages/dislocation.html:42 +msgid "все аптеки с заведующим" +msgstr "all pharmacies have a manager" + +#: templates/pages/dislocation.html:46 +msgid "Без персонала" +msgstr "Without staff" + +#: templates/pages/dislocation.html:49 +msgid "аптек без сотрудников" +msgstr "pharmacies without staff" + +#: templates/pages/dislocation.html:51 +msgid "все укомплектованы" +msgstr "all staffed" + +#: templates/pages/dislocation.html:64 +msgid "Поиск аптеки..." +msgstr "Search pharmacy..." + +#: templates/pages/dislocation.html:68 templates/pages/employees.html:73 +msgid "Все предприятия" +msgstr "All organizations" + +#: templates/pages/dislocation.html:76 templates/pages/dislocation.html:81 +#: templates/pages/dislocation.html:82 templates/pages/dislocation.html:437 +#: templates/pages/dislocation.html:454 +msgid "Все города/регионы" +msgstr "All cities/regions" + +#: templates/pages/dislocation.html:89 +msgid "Все статусы" +msgstr "All statuses" + +#: templates/pages/dislocation.html:98 +msgid "Таблица" +msgstr "Table" + +#: templates/pages/dislocation.html:103 +msgid "Карта" +msgstr "Map" + +#: templates/pages/dislocation.html:118 +msgid "Заведующий" +msgstr "Manager" + +#: templates/pages/dislocation.html:121 +msgid "Режим работы" +msgstr "Working hours" + +#: templates/pages/dislocation.html:159 +msgid "не назначен" +msgstr "not assigned" + +#: templates/pages/dislocation.html:166 +msgid "Нехватка" +msgstr "Shortage" + +#: templates/pages/dislocation.html:168 +msgid "Внимание" +msgstr "Warning" + +#: templates/pages/dislocation.html:170 +msgid "Норма" +msgstr "Normal" + +#: templates/pages/dislocation.html:182 templates/pages/dislocation.html:559 +msgid "Неактивна" +msgstr "Inactive" + +#: templates/pages/dislocation.html:208 +msgid "В этой аптеке пока нет активных сотрудников" +msgstr "No active employees in this pharmacy yet" + +#: templates/pages/dislocation.html:214 +msgid "Аптеки не найдены" +msgstr "No pharmacies found" + +#: templates/pages/dislocation.html:221 +msgid "Показано 0–0 из 0" +msgstr "Showing 0–0 of 0" + +#: templates/pages/dislocation.html:224 +msgid "На странице:" +msgstr "Per page:" + +#: templates/pages/dislocation.html:233 +msgid "Предыдущая" +msgstr "Previous" + +#: templates/pages/dislocation.html:234 +msgid "Стр. 1 из 1" +msgstr "Page 1 of 1" + +#: templates/pages/dislocation.html:235 +msgid "Следующая" +msgstr "Next" + +#: templates/pages/dislocation.html:246 +msgid "апт. без указанного адреса не показаны на карте (нет координат)" +msgstr "pharm. without address not shown on map (no coordinates)" + +#: templates/pages/dislocation.html:255 +msgid "Список аптек" +msgstr "Pharmacy list" + +#: templates/pages/dislocation.html:288 +msgid "сотрудников офиса и склада, сгруппировано по отделам" +msgstr "office and warehouse employees, grouped by department" + +#: templates/pages/dislocation.html:296 +msgid "Внутр. номер" +msgstr "Ext. number" + +#: templates/pages/dislocation.html:298 +msgid "Ф.И.О." +msgstr "Full name" + +#: templates/pages/dislocation.html:299 +msgid "Корпоративный телефон" +msgstr "Corporate phone" + +#: templates/pages/dislocation.html:320 +msgid "Без отдела" +msgstr "No department" + +#: templates/pages/dislocation.html:335 +msgid "Сотрудников офиса/склада не найдено" +msgstr "No office/warehouse employees found" + +#: templates/pages/dislocation.html:561 +msgid "Подробнее" +msgstr "Details" + +#: templates/pages/dislocation.html:720 +msgid "Показано" +msgstr "Showing" + +#: templates/pages/dislocation.html:720 +msgid "Нет записей" +msgstr "No records" + #: templates/pages/employee-detail.html:21 templates/pages/task-detail.html:41 #: templates/pages/tasks.html:127 msgid "Редактировать" @@ -1928,10 +2124,6 @@ msgstr "employees, of them" msgid "Все" msgstr "All" -#: templates/pages/employees.html:73 -msgid "Все предприятия" -msgstr "All organizations" - #: templates/pages/employees.html:86 msgid "Все аптеки" msgstr "All pharmacies" diff --git a/locale/uk/LC_MESSAGES/django.mo b/locale/uk/LC_MESSAGES/django.mo index ca1a455..f1f3dbc 100644 Binary files a/locale/uk/LC_MESSAGES/django.mo and b/locale/uk/LC_MESSAGES/django.mo differ diff --git a/locale/uk/LC_MESSAGES/django.po b/locale/uk/LC_MESSAGES/django.po index ea1e063..5c12392 100644 --- a/locale/uk/LC_MESSAGES/django.po +++ b/locale/uk/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-07-25 14:54+0300\n" +"POT-Creation-Date: 2026-07-25 16:50+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -50,7 +50,7 @@ msgstr "" #: apps/it_manager/admin.py:352 apps/it_manager/admin.py:498 #: apps/locations/models/pharmacies.py:128 apps/mail_connector/models.py:24 #: apps/tasks/models.py:40 apps/visit_manager/admin.py:199 core/admin.py:32 -#: templates/pages/employees.html:107 +#: templates/pages/dislocation.html:122 templates/pages/employees.html:107 msgid "Статус" msgstr "Статус" @@ -250,8 +250,8 @@ msgstr "" #: apps/locations/admin.py:347 apps/locations/models/base.py:29 #: apps/locations/models/pharmacies.py:210 #: apps/locations/models/pharmacies.py:349 apps/mail_connector/models.py:12 -#: apps/utilities/models.py:17 templates/pages/employees.html:64 -#: templates/pages/employees.html:90 +#: apps/utilities/models.py:17 templates/pages/dislocation.html:116 +#: templates/pages/employees.html:64 templates/pages/employees.html:90 msgid "Аптека" msgstr "Аптека" @@ -274,8 +274,9 @@ msgid "Где работает: аптека / склад / офис" msgstr "" #: apps/employees/models/base.py:94 apps/locations/models/pharmacies.py:88 +#: templates/pages/dislocation.html:117 msgid "Организация" -msgstr "" +msgstr "Організація" #: apps/employees/models/base.py:95 apps/locations/models/pharmacies.py:89 msgid "Юрлицо: АКС, АКС Одесса, Тира, Пентальфа..." @@ -289,7 +290,8 @@ msgstr "" msgid "Заполняется для office / warehouse" msgstr "" -#: apps/employees/models/base.py:119 templates/pages/employees.html:104 +#: apps/employees/models/base.py:119 templates/pages/dislocation.html:297 +#: templates/pages/employees.html:104 msgid "Должность" msgstr "Посада" @@ -406,8 +408,9 @@ msgid "Описание" msgstr "Опис" #: apps/employees/models/permissions.py:17 apps/locations/models/base.py:59 +#: templates/pages/dislocation.html:180 templates/pages/dislocation.html:559 msgid "Активна" -msgstr "" +msgstr "Активна" #: apps/employees/models/permissions.py:20 msgid "Группа разрешений" @@ -886,7 +889,8 @@ msgstr "" msgid "Лицензия" msgstr "" -#: apps/locations/admin.py:302 +#: apps/locations/admin.py:302 templates/pages/dislocation.html:119 +#: templates/pages/dislocation.html:557 msgid "Персонал" msgstr "" @@ -1029,7 +1033,7 @@ msgid "Категорія ПДВ" msgstr "" #: apps/locations/models/pharmacies.py:143 -#: apps/locations/models/pharmacies.py:330 +#: apps/locations/models/pharmacies.py:330 templates/pages/dislocation.html:120 msgid "Телефон" msgstr "" @@ -1084,6 +1088,7 @@ msgid "Ошибка синхронизации Carbonio" msgstr "" #: apps/locations/models/pharmacies.py:211 templates/index.html:381 +#: templates/pages/dislocation.html:16 msgid "Аптеки" msgstr "Аптеки" @@ -1402,13 +1407,13 @@ msgstr "" msgid "Тип справочника" msgstr "" -#: core/admin.py:37 +#: core/admin.py:37 templates/pages/dislocation.html:90 msgid "Активные" -msgstr "" +msgstr "Активні" -#: core/admin.py:38 +#: core/admin.py:38 templates/pages/dislocation.html:91 msgid "Неактивные" -msgstr "" +msgstr "Неактивні" #: core/admin.py:49 msgid "Наличие потомков" @@ -1648,50 +1653,50 @@ msgstr "Новини" msgid "Задачи" msgstr "Задачі" -#: templates/index.html:270 templates/pages/dashboard.html:135 +#: templates/index.html:268 templates/pages/dislocation.html:8 +msgid "Дислокация" +msgstr "Дислокація" + +#: templates/index.html:277 templates/pages/dashboard.html:135 msgid "Документы" msgstr "Документи" -#: templates/index.html:280 templates/pages/dashboard.html:125 +#: templates/index.html:287 templates/pages/dashboard.html:125 msgid "Электронная почта" msgstr "Електронна пошта" -#: templates/index.html:289 templates/index.html:680 +#: templates/index.html:296 templates/index.html:680 msgid "Чат" msgstr "Чат" -#: templates/index.html:298 templates/pages/dashboard.html:154 +#: templates/index.html:305 templates/pages/dashboard.html:154 msgid "Календарь" msgstr "Календар" -#: templates/index.html:307 +#: templates/index.html:314 msgid "Базы данных" msgstr "Бази даних" -#: templates/index.html:316 +#: templates/index.html:323 msgid "Отчёты" msgstr "Звіти" -#: templates/index.html:326 +#: templates/index.html:333 msgid "Закупки" msgstr "Закупівлі" -#: templates/index.html:335 templates/pages/dashboard.html:183 +#: templates/index.html:342 templates/pages/dashboard.html:183 msgid "HR портал" msgstr "HR портал" -#: templates/index.html:345 templates/index.html:611 +#: templates/index.html:352 templates/index.html:611 msgid "Настройки" msgstr "Налаштування" -#: templates/index.html:353 +#: templates/index.html:360 msgid "Управление" msgstr "Управління" -#: templates/index.html:362 -msgid "Дислокация" -msgstr "Дислокація" - #: templates/index.html:371 msgid "Структура" msgstr "Структура" @@ -1788,11 +1793,12 @@ msgstr "Повідомлення" msgid "Сотрудников онлайн" msgstr "Співробітників онлайн" -#: templates/pages/dashboard.html:22 +#: templates/pages/dashboard.html:22 templates/pages/dislocation.html:720 msgid "из" msgstr "із" -#: templates/pages/dashboard.html:22 templates/pages/employees.html:25 +#: templates/pages/dashboard.html:22 templates/pages/dislocation.html:29 +#: templates/pages/employees.html:25 msgid "активных" msgstr "активних" @@ -1848,6 +1854,196 @@ msgstr "Корисні посилання та інструменти" msgid "Справочник" msgstr "Довідник" +#: templates/pages/dislocation.html:3 +msgid "адрес не указан" +msgstr "адресу не вказано" + +#: templates/pages/dislocation.html:3 +msgid "Должность не указана" +msgstr "Посада не вказана" + +#: templates/pages/dislocation.html:3 +msgid "Адрес неизвестен" +msgstr "Адреса невідома" + +#: templates/pages/dislocation.html:9 +msgid "аптек" +msgstr "аптек" + +#: templates/pages/dislocation.html:9 +msgid "сотрудников офиса/склада" +msgstr "співробітників офісу/складу" + +#: templates/pages/dislocation.html:9 +msgid "персонал по каждой локации" +msgstr "персонал по кожній локації" + +#: templates/pages/dislocation.html:18 +msgid "Офис / Склад" +msgstr "Офіс / Склад" + +#: templates/pages/dislocation.html:27 +msgid "Всего аптек" +msgstr "Всього аптек" + +#: templates/pages/dislocation.html:32 +msgid "Организаций" +msgstr "Організацій" + +#: templates/pages/dislocation.html:34 +msgid "юридических лиц" +msgstr "юридичних осіб" + +#: templates/pages/dislocation.html:37 +msgid "Без заведующего" +msgstr "Без завідувача" + +#: templates/pages/dislocation.html:40 +msgid "требуют назначения" +msgstr "потребують призначення" + +#: templates/pages/dislocation.html:42 +msgid "все аптеки с заведующим" +msgstr "всі аптеки із завідувачем" + +#: templates/pages/dislocation.html:46 +msgid "Без персонала" +msgstr "Без персоналу" + +#: templates/pages/dislocation.html:49 +msgid "аптек без сотрудников" +msgstr "аптек без співробітників" + +#: templates/pages/dislocation.html:51 +msgid "все укомплектованы" +msgstr "всі укомплектовані" + +#: templates/pages/dislocation.html:64 +msgid "Поиск аптеки..." +msgstr "Пошук аптеки..." + +#: templates/pages/dislocation.html:68 templates/pages/employees.html:73 +msgid "Все предприятия" +msgstr "Всі підприємства" + +#: templates/pages/dislocation.html:76 templates/pages/dislocation.html:81 +#: templates/pages/dislocation.html:82 templates/pages/dislocation.html:437 +#: templates/pages/dislocation.html:454 +msgid "Все города/регионы" +msgstr "Всі міста/регіони" + +#: templates/pages/dislocation.html:89 +msgid "Все статусы" +msgstr "Всі статуси" + +#: templates/pages/dislocation.html:98 +msgid "Таблица" +msgstr "Таблиця" + +#: templates/pages/dislocation.html:103 +msgid "Карта" +msgstr "Карта" + +#: templates/pages/dislocation.html:118 +msgid "Заведующий" +msgstr "Завідуючий" + +#: templates/pages/dislocation.html:121 +msgid "Режим работы" +msgstr "Режим роботи" + +#: templates/pages/dislocation.html:159 +msgid "не назначен" +msgstr "не призначений" + +#: templates/pages/dislocation.html:166 +msgid "Нехватка" +msgstr "Нестача" + +#: templates/pages/dislocation.html:168 +msgid "Внимание" +msgstr "Увага" + +#: templates/pages/dislocation.html:170 +msgid "Норма" +msgstr "Норма" + +#: templates/pages/dislocation.html:182 templates/pages/dislocation.html:559 +msgid "Неактивна" +msgstr "Неактивна" + +#: templates/pages/dislocation.html:208 +msgid "В этой аптеке пока нет активных сотрудников" +msgstr "У цій аптеці поки немає активних співробітників" + +#: templates/pages/dislocation.html:214 +msgid "Аптеки не найдены" +msgstr "Аптеки не знайдені" + +#: templates/pages/dislocation.html:221 +msgid "Показано 0–0 из 0" +msgstr "Показано 0–0 з 0" + +#: templates/pages/dislocation.html:224 +msgid "На странице:" +msgstr "На сторінці:" + +#: templates/pages/dislocation.html:233 +msgid "Предыдущая" +msgstr "Попередня" + +#: templates/pages/dislocation.html:234 +msgid "Стр. 1 из 1" +msgstr "Стор. 1 з 1" + +#: templates/pages/dislocation.html:235 +msgid "Следующая" +msgstr "Наступна" + +#: templates/pages/dislocation.html:246 +msgid "апт. без указанного адреса не показаны на карте (нет координат)" +msgstr "апт. без вказаної адреси не показані на карті (немає координат)" + +#: templates/pages/dislocation.html:255 +msgid "Список аптек" +msgstr "Список аптек" + +#: templates/pages/dislocation.html:288 +msgid "сотрудников офиса и склада, сгруппировано по отделам" +msgstr "співробітників офісу та складу, згруповано по відділах" + +#: templates/pages/dislocation.html:296 +msgid "Внутр. номер" +msgstr "Внутр. номер" + +#: templates/pages/dislocation.html:298 +msgid "Ф.И.О." +msgstr "П.І.Б." + +#: templates/pages/dislocation.html:299 +msgid "Корпоративный телефон" +msgstr "Корпоративний телефон" + +#: templates/pages/dislocation.html:320 +msgid "Без отдела" +msgstr "Без відділу" + +#: templates/pages/dislocation.html:335 +msgid "Сотрудников офиса/склада не найдено" +msgstr "Співробітників офісу/складу не знайдено" + +#: templates/pages/dislocation.html:561 +msgid "Подробнее" +msgstr "Детальніше" + +#: templates/pages/dislocation.html:720 +msgid "Показано" +msgstr "Показано" + +#: templates/pages/dislocation.html:720 +msgid "Нет записей" +msgstr "Немає записів" + #: templates/pages/employee-detail.html:21 templates/pages/task-detail.html:41 #: templates/pages/tasks.html:127 msgid "Редактировать" @@ -1931,10 +2127,6 @@ msgstr "співробітників, з них" msgid "Все" msgstr "Всі" -#: templates/pages/employees.html:73 -msgid "Все предприятия" -msgstr "Всі підприємства" - #: templates/pages/employees.html:86 msgid "Все аптеки" msgstr "Всі аптеки" diff --git a/templates/pages/dislocation.html b/templates/pages/dislocation.html index 8bfa460..f127666 100644 --- a/templates/pages/dislocation.html +++ b/templates/pages/dislocation.html @@ -1,19 +1,21 @@ {% load common_tags %} +{% load i18n %} +{% trans "адрес не указан" as no_addr_short %}{% trans "Должность не указана" as no_post %}{% trans "Адрес неизвестен" as no_addr %}
-

Дислокація

-

{{ pharmacies|length }} аптек · {{ office_employees_count }} співробітників офісу/складу · персонал по кожній локації

+

{% trans "Дислокация" %}

+

{{ pharmacies|length }} {% trans "аптек" %} · {{ office_employees_count }} {% trans "сотрудников офиса/склада" %} · {% trans "персонал по каждой локации" %}

+ style="padding:0.375rem 1rem; font-size:0.8125rem; font-weight:500; border:none; border-radius:calc(var(--radius) - 2px); cursor:pointer; background:var(--color-card); color:var(--color-card-foreground); box-shadow:0 1px 2px rgb(0 0 0/0.08);">{% trans "Аптеки" %} + style="padding:0.375rem 1rem; font-size:0.8125rem; font-weight:500; border:none; border-radius:calc(var(--radius) - 2px); cursor:pointer; background:transparent; color:var(--color-muted-foreground);">{% trans "Офис / Склад" %}
@@ -22,31 +24,31 @@
-
Всього аптек
+
{% trans "Всего аптек" %}
{{ pharmacies|length }}
-
{{ active_count }} активних
+
{{ active_count }} {% trans "активных" %}
-
Організацій
+
{% trans "Организаций" %}
{{ organizations_count }}
-
юридичних осіб
+
{% trans "юридических лиц" %}
-
Без завідувача
+
{% trans "Без заведующего" %}
{{ pharmacies_no_head }}
{% if pharmacies_no_head %} -
потребують призначення
+
{% trans "требуют назначения" %}
{% else %} -
всі аптеки із завідувачем
+
{% trans "все аптеки с заведующим" %}
{% endif %}
-
Без персоналу
+
{% trans "Без персонала" %}
{{ pharmacies_empty }}
{% if pharmacies_empty %} -
аптек без співробітників
+
{% trans "аптек без сотрудников" %}
{% else %} -
всі укомплектовані
+
{% trans "все укомплектованы" %}
{% endif %}
@@ -59,11 +61,11 @@ -
@@ -111,13 +113,13 @@ - Аптека ⇅ - Організація ⇅ - Завідуючий ⇅ - Персонал ⇅ - Телефон ⇅ - Режим роботи ⇅ - Статус ⇅ + {% trans "Аптека" %} ⇅ + {% trans "Организация" %} ⇅ + {% trans "Заведующий" %} ⇅ + {% trans "Персонал" %} ⇅ + {% trans "Телефон" %} ⇅ + {% trans "Режим работы" %} ⇅ + {% trans "Статус" %} ⇅ @@ -147,25 +149,25 @@ № {{ pharmacy.pharmacy_number }} -
{{ pharmacy.address|default:"адресу не вказано" }}
+
{{ pharmacy.address|default:no_addr_short }}
{{ pharmacy.organization.name|default:"—" }} {% if pharmacy.head_pharmacist %} {{ pharmacy.head_pharmacist.first_name }} {{ pharmacy.head_pharmacist.last_name|default:'' }} {% else %} - не призначений + {% trans "не назначен" %} {% endif %}
{{ pharmacy.staff_count }} {% if pharmacy.staff_status == 'danger' %} - Нестача + {% trans "Нехватка" %} {% elif pharmacy.staff_status == 'warning' %} - Увага + {% trans "Внимание" %} {% else %} - Норма + {% trans "Норма" %} {% endif %}
@@ -175,9 +177,9 @@ {{ pharmacy.working_hours }} {% if pharmacy.is_active %} - Активна + {% trans "Активна" %} {% else %} - Неактивна + {% trans "Неактивна" %} {% endif %} @@ -197,29 +199,29 @@ {% endif %}
{{ employee.last_name }} {{ employee.first_name }}
-
{{ employee.post.name|default:"Посада не вказана" }}{% if employee.phone %} · {{ employee.phone }}{% endif %}
+
{{ employee.post.name|default:no_post }}{% if employee.phone %} · {{ employee.phone }}{% endif %}
{% endfor %} {% else %} -
У цій аптеці поки немає активних співробітників
+
{% trans "В этой аптеке пока нет активных сотрудников" %}
{% endif %} {% empty %} - Аптеки не знайдені + {% trans "Аптеки не найдены" %} {% endfor %}
- Показано 0–0 з 0 + {% trans "Показано 0–0 из 0" %}
- На сторінці: + {% trans "На странице:" %}
- - Стор. 1 з 1 - + + {% trans "Стр. 1 из 1" %} +
@@ -241,7 +243,7 @@