From 0c43c1edf67f7ba13f2d5c7e6fe080d2add2b0a1 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 19 Nov 2024 16:47:35 -0800 Subject: [PATCH] fix: deleted user handling --- .../open_webui/apps/webui/models/knowledge.py | 23 +++++++++++-------- .../open_webui/apps/webui/models/models.py | 19 ++++++++------- .../open_webui/apps/webui/models/prompts.py | 21 ++++++++++------- backend/open_webui/apps/webui/models/tools.py | 19 ++++++++------- src/lib/components/workspace/Knowledge.svelte | 6 +++-- src/lib/components/workspace/Models.svelte | 10 ++++++-- src/lib/components/workspace/Prompts.svelte | 6 +++-- src/lib/components/workspace/Tools.svelte | 6 +++-- src/lib/i18n/locales/ar-BH/translation.json | 1 + src/lib/i18n/locales/bg-BG/translation.json | 1 + src/lib/i18n/locales/bn-BD/translation.json | 1 + src/lib/i18n/locales/ca-ES/translation.json | 1 + src/lib/i18n/locales/ceb-PH/translation.json | 1 + src/lib/i18n/locales/cs-CZ/translation.json | 1 + src/lib/i18n/locales/da-DK/translation.json | 1 + src/lib/i18n/locales/de-DE/translation.json | 1 + src/lib/i18n/locales/dg-DG/translation.json | 1 + src/lib/i18n/locales/en-GB/translation.json | 1 + src/lib/i18n/locales/en-US/translation.json | 1 + src/lib/i18n/locales/es-ES/translation.json | 1 + src/lib/i18n/locales/fa-IR/translation.json | 1 + src/lib/i18n/locales/fi-FI/translation.json | 1 + src/lib/i18n/locales/fr-CA/translation.json | 1 + src/lib/i18n/locales/fr-FR/translation.json | 1 + src/lib/i18n/locales/he-IL/translation.json | 1 + src/lib/i18n/locales/hi-IN/translation.json | 1 + src/lib/i18n/locales/hr-HR/translation.json | 1 + src/lib/i18n/locales/hu-HU/translation.json | 1 + src/lib/i18n/locales/id-ID/translation.json | 1 + src/lib/i18n/locales/ie-GA/translation.json | 1 + src/lib/i18n/locales/it-IT/translation.json | 1 + src/lib/i18n/locales/ja-JP/translation.json | 1 + src/lib/i18n/locales/ka-GE/translation.json | 1 + src/lib/i18n/locales/ko-KR/translation.json | 1 + src/lib/i18n/locales/lt-LT/translation.json | 1 + src/lib/i18n/locales/ms-MY/translation.json | 1 + src/lib/i18n/locales/nb-NO/translation.json | 1 + src/lib/i18n/locales/nl-NL/translation.json | 1 + src/lib/i18n/locales/pa-IN/translation.json | 1 + src/lib/i18n/locales/pl-PL/translation.json | 1 + src/lib/i18n/locales/pt-BR/translation.json | 1 + src/lib/i18n/locales/pt-PT/translation.json | 1 + src/lib/i18n/locales/ro-RO/translation.json | 1 + src/lib/i18n/locales/ru-RU/translation.json | 1 + src/lib/i18n/locales/sr-RS/translation.json | 1 + src/lib/i18n/locales/sv-SE/translation.json | 1 + src/lib/i18n/locales/th-TH/translation.json | 1 + src/lib/i18n/locales/tk-TW/translation.json | 1 + src/lib/i18n/locales/tr-TR/translation.json | 1 + src/lib/i18n/locales/uk-UA/translation.json | 1 + src/lib/i18n/locales/ur-PK/translation.json | 1 + src/lib/i18n/locales/vi-VN/translation.json | 1 + src/lib/i18n/locales/zh-CN/translation.json | 1 + src/lib/i18n/locales/zh-TW/translation.json | 1 + 54 files changed, 114 insertions(+), 42 deletions(-) diff --git a/backend/open_webui/apps/webui/models/knowledge.py b/backend/open_webui/apps/webui/models/knowledge.py index 16eae7767..e1a13b3fd 100644 --- a/backend/open_webui/apps/webui/models/knowledge.py +++ b/backend/open_webui/apps/webui/models/knowledge.py @@ -128,17 +128,20 @@ class KnowledgeTable: def get_knowledge_bases(self) -> list[KnowledgeUserModel]: with get_db() as db: - return [ - KnowledgeUserModel.model_validate( - { - **KnowledgeModel.model_validate(knowledge).model_dump(), - "user": Users.get_user_by_id(knowledge.user_id).model_dump(), - } + knowledge_bases = [] + for knowledge in ( + db.query(Knowledge).order_by(Knowledge.updated_at.desc()).all() + ): + user = Users.get_user_by_id(knowledge.user_id) + knowledge_bases.append( + KnowledgeUserModel.model_validate( + { + **KnowledgeModel.model_validate(knowledge).model_dump(), + "user": user.model_dump() if user else None, + } + ) ) - for knowledge in db.query(Knowledge) - .order_by(Knowledge.updated_at.desc()) - .all() - ] + return knowledge_bases def get_knowledge_bases_by_user_id( self, user_id: str, permission: str = "write" diff --git a/backend/open_webui/apps/webui/models/models.py b/backend/open_webui/apps/webui/models/models.py index 99e33efbf..50581bc73 100644 --- a/backend/open_webui/apps/webui/models/models.py +++ b/backend/open_webui/apps/webui/models/models.py @@ -175,15 +175,18 @@ class ModelsTable: def get_models(self) -> list[ModelUserResponse]: with get_db() as db: - return [ - ModelUserResponse.model_validate( - { - **ModelModel.model_validate(model).model_dump(), - "user": Users.get_user_by_id(model.user_id).model_dump(), - } + models = [] + for model in db.query(Model).filter(Model.base_model_id != None).all(): + user = Users.get_user_by_id(model.user_id) + models.append( + ModelUserResponse.model_validate( + { + **ModelModel.model_validate(model).model_dump(), + "user": user.model_dump() if user else None, + } + ) ) - for model in db.query(Model).filter(Model.base_model_id != None).all() - ] + return models def get_base_models(self) -> list[ModelModel]: with get_db() as db: diff --git a/backend/open_webui/apps/webui/models/prompts.py b/backend/open_webui/apps/webui/models/prompts.py index fe2ea87da..fe9999195 100644 --- a/backend/open_webui/apps/webui/models/prompts.py +++ b/backend/open_webui/apps/webui/models/prompts.py @@ -103,15 +103,20 @@ class PromptsTable: def get_prompts(self) -> list[PromptUserResponse]: with get_db() as db: - return [ - PromptUserResponse.model_validate( - { - **PromptModel.model_validate(prompt).model_dump(), - "user": Users.get_user_by_id(prompt.user_id).model_dump(), - } + prompts = [] + + for prompt in db.query(Prompt).order_by(Prompt.timestamp.desc()).all(): + user = Users.get_user_by_id(prompt.user_id) + prompts.append( + PromptUserResponse.model_validate( + { + **PromptModel.model_validate(prompt).model_dump(), + "user": user.model_dump() if user else None, + } + ) ) - for prompt in db.query(Prompt).all() - ] + + return prompts def get_prompts_by_user_id( self, user_id: str, permission: str = "write" diff --git a/backend/open_webui/apps/webui/models/tools.py b/backend/open_webui/apps/webui/models/tools.py index 0044de218..b628f4f9f 100644 --- a/backend/open_webui/apps/webui/models/tools.py +++ b/backend/open_webui/apps/webui/models/tools.py @@ -140,15 +140,18 @@ class ToolsTable: def get_tools(self) -> list[ToolUserResponse]: with get_db() as db: - return [ - ToolUserResponse.model_validate( - { - **ToolModel.model_validate(tool).model_dump(), - "user": Users.get_user_by_id(tool.user_id).model_dump(), - } + tools = [] + for tool in db.query(Tool).order_by(Tool.updated_at.desc()).all(): + user = Users.get_user_by_id(tool.user_id) + tools.append( + ToolUserResponse.model_validate( + { + **ToolModel.model_validate(tool).model_dump(), + "user": user.model_dump() if user else None, + } + ) ) - for tool in db.query(Tool).order_by(Tool.updated_at.desc()).all() - ] + return tools def get_tools_by_user_id( self, user_id: str, permission: str = "write" diff --git a/src/lib/components/workspace/Knowledge.svelte b/src/lib/components/workspace/Knowledge.svelte index b8a936452..c5ea4ad7f 100644 --- a/src/lib/components/workspace/Knowledge.svelte +++ b/src/lib/components/workspace/Knowledge.svelte @@ -165,12 +165,14 @@
{$i18n.t('By {{name}}', { - name: capitalizeFirstLetter(item?.user?.name ?? item?.user?.email) + name: capitalizeFirstLetter( + item?.user?.name ?? item?.user?.email ?? $i18n.t('Deleted User') + ) })}
diff --git a/src/lib/components/workspace/Models.svelte b/src/lib/components/workspace/Models.svelte index 85175fa55..df19c0097 100644 --- a/src/lib/components/workspace/Models.svelte +++ b/src/lib/components/workspace/Models.svelte @@ -279,10 +279,16 @@
- +
{$i18n.t('By {{name}}', { - name: capitalizeFirstLetter(model?.user?.name ?? model?.user?.email) + name: capitalizeFirstLetter( + model?.user?.name ?? model?.user?.email ?? $i18n.t('Deleted User') + ) })}
diff --git a/src/lib/components/workspace/Prompts.svelte b/src/lib/components/workspace/Prompts.svelte index 12d811c34..f20f549e1 100644 --- a/src/lib/components/workspace/Prompts.svelte +++ b/src/lib/components/workspace/Prompts.svelte @@ -155,13 +155,15 @@
{$i18n.t('By {{name}}', { - name: capitalizeFirstLetter(prompt?.user?.name ?? prompt?.user?.email) + name: capitalizeFirstLetter( + prompt?.user?.name ?? prompt?.user?.email ?? $i18n.t('Deleted User') + ) })}
diff --git a/src/lib/components/workspace/Tools.svelte b/src/lib/components/workspace/Tools.svelte index 0030dd4e3..c8731dfc4 100644 --- a/src/lib/components/workspace/Tools.svelte +++ b/src/lib/components/workspace/Tools.svelte @@ -251,12 +251,14 @@
{$i18n.t('By {{name}}', { - name: capitalizeFirstLetter(tool?.user?.name ?? tool?.user?.email) + name: capitalizeFirstLetter( + tool?.user?.name ?? tool?.user?.email ?? $i18n.t('Deleted User') + ) })}
diff --git a/src/lib/i18n/locales/ar-BH/translation.json b/src/lib/i18n/locales/ar-BH/translation.json index 08ec8c152..cc951f0a9 100644 --- a/src/lib/i18n/locales/ar-BH/translation.json +++ b/src/lib/i18n/locales/ar-BH/translation.json @@ -234,6 +234,7 @@ "Delete User": "حذف المستخدم", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} حذف", "Deleted {{name}}": "حذف {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "وصف", "Didn't fully follow instructions": "لم أتبع التعليمات بشكل كامل", diff --git a/src/lib/i18n/locales/bg-BG/translation.json b/src/lib/i18n/locales/bg-BG/translation.json index ba3f367dc..c2184ad3a 100644 --- a/src/lib/i18n/locales/bg-BG/translation.json +++ b/src/lib/i18n/locales/bg-BG/translation.json @@ -234,6 +234,7 @@ "Delete User": "Изтриване на потребител", "Deleted {{deleteModelTag}}": "Изтрито {{deleteModelTag}}", "Deleted {{name}}": "Изтрито {{име}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Описание", "Didn't fully follow instructions": "Не следва инструкциите", diff --git a/src/lib/i18n/locales/bn-BD/translation.json b/src/lib/i18n/locales/bn-BD/translation.json index 0cb5344d7..daf5ea2c2 100644 --- a/src/lib/i18n/locales/bn-BD/translation.json +++ b/src/lib/i18n/locales/bn-BD/translation.json @@ -234,6 +234,7 @@ "Delete User": "ইউজার মুছে ফেলুন", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} মুছে ফেলা হয়েছে", "Deleted {{name}}": "{{name}} মোছা হয়েছে", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "বিবরণ", "Didn't fully follow instructions": "ইনস্ট্রাকশন সম্পূর্ণ অনুসরণ করা হয়নি", diff --git a/src/lib/i18n/locales/ca-ES/translation.json b/src/lib/i18n/locales/ca-ES/translation.json index ca2076c5c..2c83dd43f 100644 --- a/src/lib/i18n/locales/ca-ES/translation.json +++ b/src/lib/i18n/locales/ca-ES/translation.json @@ -234,6 +234,7 @@ "Delete User": "Eliminar usuari", "Deleted {{deleteModelTag}}": "S'ha eliminat {{deleteModelTag}}", "Deleted {{name}}": "S'ha eliminat {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "Descriu la teva base de coneixement i objectius", "Description": "Descripció", "Didn't fully follow instructions": "No s'han seguit les instruccions completament", diff --git a/src/lib/i18n/locales/ceb-PH/translation.json b/src/lib/i18n/locales/ceb-PH/translation.json index 40d55bd8f..7ce34546f 100644 --- a/src/lib/i18n/locales/ceb-PH/translation.json +++ b/src/lib/i18n/locales/ceb-PH/translation.json @@ -234,6 +234,7 @@ "Delete User": "", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} gipapas", "Deleted {{name}}": "", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Deskripsyon", "Didn't fully follow instructions": "", diff --git a/src/lib/i18n/locales/cs-CZ/translation.json b/src/lib/i18n/locales/cs-CZ/translation.json index 36c8e13a3..0ebc67333 100644 --- a/src/lib/i18n/locales/cs-CZ/translation.json +++ b/src/lib/i18n/locales/cs-CZ/translation.json @@ -234,6 +234,7 @@ "Delete User": "Smazat uživatele", "Deleted {{deleteModelTag}}": "Smazáno {{deleteModelTag}}", "Deleted {{name}}": "Smazáno {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Popis", "Didn't fully follow instructions": "Nenásledovali jste přesně všechny instrukce.", diff --git a/src/lib/i18n/locales/da-DK/translation.json b/src/lib/i18n/locales/da-DK/translation.json index 6bd4c8975..4b1d3e57b 100644 --- a/src/lib/i18n/locales/da-DK/translation.json +++ b/src/lib/i18n/locales/da-DK/translation.json @@ -234,6 +234,7 @@ "Delete User": "Slet bruger", "Deleted {{deleteModelTag}}": "Slettede {{deleteModelTag}}", "Deleted {{name}}": "Slettede {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Beskrivelse", "Didn't fully follow instructions": "Fulgte ikke instruktioner", diff --git a/src/lib/i18n/locales/de-DE/translation.json b/src/lib/i18n/locales/de-DE/translation.json index b4148c3bc..a3e7f57ae 100644 --- a/src/lib/i18n/locales/de-DE/translation.json +++ b/src/lib/i18n/locales/de-DE/translation.json @@ -234,6 +234,7 @@ "Delete User": "Benutzer löschen", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} gelöscht", "Deleted {{name}}": "{{name}} gelöscht", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Beschreibung", "Didn't fully follow instructions": "Nicht genau den Answeisungen gefolgt", diff --git a/src/lib/i18n/locales/dg-DG/translation.json b/src/lib/i18n/locales/dg-DG/translation.json index 21616160a..7dc8934fc 100644 --- a/src/lib/i18n/locales/dg-DG/translation.json +++ b/src/lib/i18n/locales/dg-DG/translation.json @@ -234,6 +234,7 @@ "Delete User": "", "Deleted {{deleteModelTag}}": "Deleted {{deleteModelTag}}", "Deleted {{name}}": "", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Description", "Didn't fully follow instructions": "", diff --git a/src/lib/i18n/locales/en-GB/translation.json b/src/lib/i18n/locales/en-GB/translation.json index 3ac02b724..761c6695f 100644 --- a/src/lib/i18n/locales/en-GB/translation.json +++ b/src/lib/i18n/locales/en-GB/translation.json @@ -234,6 +234,7 @@ "Delete User": "", "Deleted {{deleteModelTag}}": "", "Deleted {{name}}": "", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "", "Didn't fully follow instructions": "", diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json index 3ac02b724..761c6695f 100644 --- a/src/lib/i18n/locales/en-US/translation.json +++ b/src/lib/i18n/locales/en-US/translation.json @@ -234,6 +234,7 @@ "Delete User": "", "Deleted {{deleteModelTag}}": "", "Deleted {{name}}": "", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "", "Didn't fully follow instructions": "", diff --git a/src/lib/i18n/locales/es-ES/translation.json b/src/lib/i18n/locales/es-ES/translation.json index 4b13c4131..44b022cf9 100644 --- a/src/lib/i18n/locales/es-ES/translation.json +++ b/src/lib/i18n/locales/es-ES/translation.json @@ -234,6 +234,7 @@ "Delete User": "Borrar Usuario", "Deleted {{deleteModelTag}}": "Se borró {{deleteModelTag}}", "Deleted {{name}}": "Eliminado {{nombre}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Descripción", "Didn't fully follow instructions": "No siguió las instrucciones", diff --git a/src/lib/i18n/locales/fa-IR/translation.json b/src/lib/i18n/locales/fa-IR/translation.json index 75dc39761..8f5567588 100644 --- a/src/lib/i18n/locales/fa-IR/translation.json +++ b/src/lib/i18n/locales/fa-IR/translation.json @@ -234,6 +234,7 @@ "Delete User": "حذف کاربر", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} پاک شد", "Deleted {{name}}": "حذف شده {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "توضیحات", "Didn't fully follow instructions": "نمی تواند دستورالعمل را کامل پیگیری کند", diff --git a/src/lib/i18n/locales/fi-FI/translation.json b/src/lib/i18n/locales/fi-FI/translation.json index c63504d8b..56e517d6c 100644 --- a/src/lib/i18n/locales/fi-FI/translation.json +++ b/src/lib/i18n/locales/fi-FI/translation.json @@ -234,6 +234,7 @@ "Delete User": "Poista käyttäjä", "Deleted {{deleteModelTag}}": "Poistettu {{deleteModelTag}}", "Deleted {{name}}": "Poistettu {{nimi}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Kuvaus", "Didn't fully follow instructions": "Ei noudattanut ohjeita täysin", diff --git a/src/lib/i18n/locales/fr-CA/translation.json b/src/lib/i18n/locales/fr-CA/translation.json index c61e2d232..dc711cafd 100644 --- a/src/lib/i18n/locales/fr-CA/translation.json +++ b/src/lib/i18n/locales/fr-CA/translation.json @@ -234,6 +234,7 @@ "Delete User": "Supprimer le compte d'utilisateur", "Deleted {{deleteModelTag}}": "Supprimé {{deleteModelTag}}", "Deleted {{name}}": "Supprimé {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Description", "Didn't fully follow instructions": "N'a pas entièrement respecté les instructions", diff --git a/src/lib/i18n/locales/fr-FR/translation.json b/src/lib/i18n/locales/fr-FR/translation.json index 5dd8c60e0..0ff508bca 100644 --- a/src/lib/i18n/locales/fr-FR/translation.json +++ b/src/lib/i18n/locales/fr-FR/translation.json @@ -234,6 +234,7 @@ "Delete User": "Supprimer le compte d'utilisateur", "Deleted {{deleteModelTag}}": "Supprimé {{deleteModelTag}}", "Deleted {{name}}": "Supprimé {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Description", "Didn't fully follow instructions": "N'a pas entièrement respecté les instructions", diff --git a/src/lib/i18n/locales/he-IL/translation.json b/src/lib/i18n/locales/he-IL/translation.json index 1847f5571..cac459355 100644 --- a/src/lib/i18n/locales/he-IL/translation.json +++ b/src/lib/i18n/locales/he-IL/translation.json @@ -234,6 +234,7 @@ "Delete User": "מחק משתמש", "Deleted {{deleteModelTag}}": "נמחק {{deleteModelTag}}", "Deleted {{name}}": "נמחק {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "תיאור", "Didn't fully follow instructions": "לא עקב אחרי ההוראות באופן מלא", diff --git a/src/lib/i18n/locales/hi-IN/translation.json b/src/lib/i18n/locales/hi-IN/translation.json index 9c1bd409d..7c42208e2 100644 --- a/src/lib/i18n/locales/hi-IN/translation.json +++ b/src/lib/i18n/locales/hi-IN/translation.json @@ -234,6 +234,7 @@ "Delete User": "उपभोक्ता मिटायें", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} हटा दिया गया", "Deleted {{name}}": "{{name}} हटा दिया गया", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "विवरण", "Didn't fully follow instructions": "निर्देशों का पूरी तरह से पालन नहीं किया", diff --git a/src/lib/i18n/locales/hr-HR/translation.json b/src/lib/i18n/locales/hr-HR/translation.json index f93f6fadf..ff4d6158f 100644 --- a/src/lib/i18n/locales/hr-HR/translation.json +++ b/src/lib/i18n/locales/hr-HR/translation.json @@ -234,6 +234,7 @@ "Delete User": "Izbriši korisnika", "Deleted {{deleteModelTag}}": "Izbrisan {{deleteModelTag}}", "Deleted {{name}}": "Izbrisano {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Opis", "Didn't fully follow instructions": "Nije u potpunosti slijedio upute", diff --git a/src/lib/i18n/locales/hu-HU/translation.json b/src/lib/i18n/locales/hu-HU/translation.json index ba61f9eab..d7692ce75 100644 --- a/src/lib/i18n/locales/hu-HU/translation.json +++ b/src/lib/i18n/locales/hu-HU/translation.json @@ -234,6 +234,7 @@ "Delete User": "Felhasználó törlése", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} törölve", "Deleted {{name}}": "{{name}} törölve", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Leírás", "Didn't fully follow instructions": "Nem követte teljesen az utasításokat", diff --git a/src/lib/i18n/locales/id-ID/translation.json b/src/lib/i18n/locales/id-ID/translation.json index 6c8084e0a..b7dd078ff 100644 --- a/src/lib/i18n/locales/id-ID/translation.json +++ b/src/lib/i18n/locales/id-ID/translation.json @@ -234,6 +234,7 @@ "Delete User": "Menghapus Pengguna", "Deleted {{deleteModelTag}}": "Menghapus {{deleteModelTag}}", "Deleted {{name}}": "Menghapus {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Deskripsi", "Didn't fully follow instructions": "Tidak sepenuhnya mengikuti instruksi", diff --git a/src/lib/i18n/locales/ie-GA/translation.json b/src/lib/i18n/locales/ie-GA/translation.json index 6b5cf8b8e..385ebb213 100644 --- a/src/lib/i18n/locales/ie-GA/translation.json +++ b/src/lib/i18n/locales/ie-GA/translation.json @@ -234,6 +234,7 @@ "Delete User": "Scrios Úsáideoir", "Deleted {{deleteModelTag}}": "Scriosta {{deleteModelTag}}", "Deleted {{name}}": "Scriosta {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Cur síos", "Didn't fully follow instructions": "Níor lean sé treoracha go hiomlán", diff --git a/src/lib/i18n/locales/it-IT/translation.json b/src/lib/i18n/locales/it-IT/translation.json index 0544a93b4..43c38733e 100644 --- a/src/lib/i18n/locales/it-IT/translation.json +++ b/src/lib/i18n/locales/it-IT/translation.json @@ -234,6 +234,7 @@ "Delete User": "Elimina utente", "Deleted {{deleteModelTag}}": "Eliminato {{deleteModelTag}}", "Deleted {{name}}": "Eliminato {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Descrizione", "Didn't fully follow instructions": "Non ha seguito completamente le istruzioni", diff --git a/src/lib/i18n/locales/ja-JP/translation.json b/src/lib/i18n/locales/ja-JP/translation.json index 09cc082e2..cc38e8345 100644 --- a/src/lib/i18n/locales/ja-JP/translation.json +++ b/src/lib/i18n/locales/ja-JP/translation.json @@ -234,6 +234,7 @@ "Delete User": "ユーザーを削除", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} を削除しました", "Deleted {{name}}": "{{name}}を削除しました", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "説明", "Didn't fully follow instructions": "説明に沿って操作していませんでした", diff --git a/src/lib/i18n/locales/ka-GE/translation.json b/src/lib/i18n/locales/ka-GE/translation.json index 0e3a16540..33118ec22 100644 --- a/src/lib/i18n/locales/ka-GE/translation.json +++ b/src/lib/i18n/locales/ka-GE/translation.json @@ -234,6 +234,7 @@ "Delete User": "მომხმარებლის წაშლა", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} წაშლილია", "Deleted {{name}}": "Deleted {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "აღწერა", "Didn't fully follow instructions": "ვერ ყველა ინფორმაციისთვის ვერ ხელახლა ჩაწერე", diff --git a/src/lib/i18n/locales/ko-KR/translation.json b/src/lib/i18n/locales/ko-KR/translation.json index 35af4b690..52da40e1a 100644 --- a/src/lib/i18n/locales/ko-KR/translation.json +++ b/src/lib/i18n/locales/ko-KR/translation.json @@ -234,6 +234,7 @@ "Delete User": "사용자 삭제", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} 삭제됨", "Deleted {{name}}": "{{name}}을(를) 삭제했습니다.", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "설명", "Didn't fully follow instructions": "완전히 지침을 따르지 않음", diff --git a/src/lib/i18n/locales/lt-LT/translation.json b/src/lib/i18n/locales/lt-LT/translation.json index bc2ebcb62..70ee85e7e 100644 --- a/src/lib/i18n/locales/lt-LT/translation.json +++ b/src/lib/i18n/locales/lt-LT/translation.json @@ -234,6 +234,7 @@ "Delete User": "Ištrinti naudotoją", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} ištrinta", "Deleted {{name}}": "Ištrinta {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Aprašymas", "Didn't fully follow instructions": "Pilnai nesekė instrukcijų", diff --git a/src/lib/i18n/locales/ms-MY/translation.json b/src/lib/i18n/locales/ms-MY/translation.json index 6b8edb94a..43134d405 100644 --- a/src/lib/i18n/locales/ms-MY/translation.json +++ b/src/lib/i18n/locales/ms-MY/translation.json @@ -234,6 +234,7 @@ "Delete User": "Padam Pengguna", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} dipadam", "Deleted {{name}}": "{{name}} dipadam", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Penerangan", "Didn't fully follow instructions": "Tidak mengikut arahan sepenuhnya", diff --git a/src/lib/i18n/locales/nb-NO/translation.json b/src/lib/i18n/locales/nb-NO/translation.json index 7005db1a7..87c459e07 100644 --- a/src/lib/i18n/locales/nb-NO/translation.json +++ b/src/lib/i18n/locales/nb-NO/translation.json @@ -234,6 +234,7 @@ "Delete User": "Slett bruker", "Deleted {{deleteModelTag}}": "Slettet {{deleteModelTag}}", "Deleted {{name}}": "Slettet {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "Beskriv kunnskapsbasen din og målene dine", "Description": "Beskrivelse", "Didn't fully follow instructions": "Fulgte ikke instruksjonene fullstendig", diff --git a/src/lib/i18n/locales/nl-NL/translation.json b/src/lib/i18n/locales/nl-NL/translation.json index 0ab5bf7a3..bbfe42c77 100644 --- a/src/lib/i18n/locales/nl-NL/translation.json +++ b/src/lib/i18n/locales/nl-NL/translation.json @@ -234,6 +234,7 @@ "Delete User": "Verwijder Gebruiker", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} is verwijderd", "Deleted {{name}}": "{{name}} verwijderd", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Beschrijving", "Didn't fully follow instructions": "Heeft niet alle instructies gevolgt", diff --git a/src/lib/i18n/locales/pa-IN/translation.json b/src/lib/i18n/locales/pa-IN/translation.json index 9f5245747..3376e9027 100644 --- a/src/lib/i18n/locales/pa-IN/translation.json +++ b/src/lib/i18n/locales/pa-IN/translation.json @@ -234,6 +234,7 @@ "Delete User": "ਉਪਭੋਗਤਾ ਮਿਟਾਓ", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} ਮਿਟਾਇਆ ਗਿਆ", "Deleted {{name}}": "ਮਿਟਾ ਦਿੱਤਾ ਗਿਆ {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "ਵਰਣਨਾ", "Didn't fully follow instructions": "ਹਦਾਇਤਾਂ ਨੂੰ ਪੂਰੀ ਤਰ੍ਹਾਂ ਫਾਲੋ ਨਹੀਂ ਕੀਤਾ", diff --git a/src/lib/i18n/locales/pl-PL/translation.json b/src/lib/i18n/locales/pl-PL/translation.json index da38647d8..2f2b17e7b 100644 --- a/src/lib/i18n/locales/pl-PL/translation.json +++ b/src/lib/i18n/locales/pl-PL/translation.json @@ -234,6 +234,7 @@ "Delete User": "Usuń użytkownika", "Deleted {{deleteModelTag}}": "Usunięto {{deleteModelTag}}", "Deleted {{name}}": "Usunięto {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Opis", "Didn't fully follow instructions": "Nie postępował zgodnie z instrukcjami", diff --git a/src/lib/i18n/locales/pt-BR/translation.json b/src/lib/i18n/locales/pt-BR/translation.json index 745322a13..dc1e24434 100644 --- a/src/lib/i18n/locales/pt-BR/translation.json +++ b/src/lib/i18n/locales/pt-BR/translation.json @@ -234,6 +234,7 @@ "Delete User": "Deletar Usuário", "Deleted {{deleteModelTag}}": "Deletado {{deleteModelTag}}", "Deleted {{name}}": "Deletado {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "Descreva sua base de conhecimento e objetivos", "Description": "Descrição", "Didn't fully follow instructions": "Não seguiu completamente as instruções", diff --git a/src/lib/i18n/locales/pt-PT/translation.json b/src/lib/i18n/locales/pt-PT/translation.json index 0d97a1fba..6e37d8022 100644 --- a/src/lib/i18n/locales/pt-PT/translation.json +++ b/src/lib/i18n/locales/pt-PT/translation.json @@ -234,6 +234,7 @@ "Delete User": "Apagar Utilizador", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} apagado", "Deleted {{name}}": "Apagado {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Descrição", "Didn't fully follow instructions": "Não seguiu instruções com precisão", diff --git a/src/lib/i18n/locales/ro-RO/translation.json b/src/lib/i18n/locales/ro-RO/translation.json index 9d0975640..ef9135f8a 100644 --- a/src/lib/i18n/locales/ro-RO/translation.json +++ b/src/lib/i18n/locales/ro-RO/translation.json @@ -234,6 +234,7 @@ "Delete User": "Șterge Utilizatorul", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} șters", "Deleted {{name}}": "{{name}} șters", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Descriere", "Didn't fully follow instructions": "Nu a urmat complet instrucțiunile", diff --git a/src/lib/i18n/locales/ru-RU/translation.json b/src/lib/i18n/locales/ru-RU/translation.json index b7363f598..e5cd8b77d 100644 --- a/src/lib/i18n/locales/ru-RU/translation.json +++ b/src/lib/i18n/locales/ru-RU/translation.json @@ -234,6 +234,7 @@ "Delete User": "Удалить пользователя", "Deleted {{deleteModelTag}}": "Удалено {{deleteModelTag}}", "Deleted {{name}}": "Удалено {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Описание", "Didn't fully follow instructions": "Не полностью следует инструкциям", diff --git a/src/lib/i18n/locales/sr-RS/translation.json b/src/lib/i18n/locales/sr-RS/translation.json index 8eaa9a4d9..143b97203 100644 --- a/src/lib/i18n/locales/sr-RS/translation.json +++ b/src/lib/i18n/locales/sr-RS/translation.json @@ -234,6 +234,7 @@ "Delete User": "Обриши корисника", "Deleted {{deleteModelTag}}": "Обрисано {{deleteModelTag}}", "Deleted {{name}}": "Избрисано {{наме}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Опис", "Didn't fully follow instructions": "Упутства нису праћена у потпуности", diff --git a/src/lib/i18n/locales/sv-SE/translation.json b/src/lib/i18n/locales/sv-SE/translation.json index 5ce277c16..b8238f41a 100644 --- a/src/lib/i18n/locales/sv-SE/translation.json +++ b/src/lib/i18n/locales/sv-SE/translation.json @@ -234,6 +234,7 @@ "Delete User": "Radera användare", "Deleted {{deleteModelTag}}": "Raderad {{deleteModelTag}}", "Deleted {{name}}": "Borttagen {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Beskrivning", "Didn't fully follow instructions": "Följde inte instruktionerna", diff --git a/src/lib/i18n/locales/th-TH/translation.json b/src/lib/i18n/locales/th-TH/translation.json index 38e1898d0..a1acacc9a 100644 --- a/src/lib/i18n/locales/th-TH/translation.json +++ b/src/lib/i18n/locales/th-TH/translation.json @@ -234,6 +234,7 @@ "Delete User": "ลบผู้ใช้", "Deleted {{deleteModelTag}}": "ลบ {{deleteModelTag}}", "Deleted {{name}}": "ลบ {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "คำอธิบาย", "Didn't fully follow instructions": "ไม่ได้ปฏิบัติตามคำแนะนำทั้งหมด", diff --git a/src/lib/i18n/locales/tk-TW/translation.json b/src/lib/i18n/locales/tk-TW/translation.json index 3ac02b724..761c6695f 100644 --- a/src/lib/i18n/locales/tk-TW/translation.json +++ b/src/lib/i18n/locales/tk-TW/translation.json @@ -234,6 +234,7 @@ "Delete User": "", "Deleted {{deleteModelTag}}": "", "Deleted {{name}}": "", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "", "Didn't fully follow instructions": "", diff --git a/src/lib/i18n/locales/tr-TR/translation.json b/src/lib/i18n/locales/tr-TR/translation.json index 2533c013b..3e9f72376 100644 --- a/src/lib/i18n/locales/tr-TR/translation.json +++ b/src/lib/i18n/locales/tr-TR/translation.json @@ -234,6 +234,7 @@ "Delete User": "Kullanıcıyı Sil", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} silindi", "Deleted {{name}}": "{{name}} silindi", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Açıklama", "Didn't fully follow instructions": "Talimatları tam olarak takip etmedi", diff --git a/src/lib/i18n/locales/uk-UA/translation.json b/src/lib/i18n/locales/uk-UA/translation.json index 15b2c8965..6e3482aab 100644 --- a/src/lib/i18n/locales/uk-UA/translation.json +++ b/src/lib/i18n/locales/uk-UA/translation.json @@ -234,6 +234,7 @@ "Delete User": "Видалити користувача", "Deleted {{deleteModelTag}}": "Видалено {{deleteModelTag}}", "Deleted {{name}}": "Видалено {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "Опишіть вашу базу знань та цілі", "Description": "Опис", "Didn't fully follow instructions": "Не повністю дотримувалися інструкцій", diff --git a/src/lib/i18n/locales/ur-PK/translation.json b/src/lib/i18n/locales/ur-PK/translation.json index cfe7fc0ed..47af13213 100644 --- a/src/lib/i18n/locales/ur-PK/translation.json +++ b/src/lib/i18n/locales/ur-PK/translation.json @@ -234,6 +234,7 @@ "Delete User": "صارف کو حذف کریں", "Deleted {{deleteModelTag}}": "{{deleteModelTag}} حذف کر دیا گیا", "Deleted {{name}}": "حذف کر دیا گیا {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "تفصیل", "Didn't fully follow instructions": "ہدایات کو مکمل طور پر نہیں سمجھا", diff --git a/src/lib/i18n/locales/vi-VN/translation.json b/src/lib/i18n/locales/vi-VN/translation.json index 2450b9468..7d105714d 100644 --- a/src/lib/i18n/locales/vi-VN/translation.json +++ b/src/lib/i18n/locales/vi-VN/translation.json @@ -234,6 +234,7 @@ "Delete User": "Xóa người dùng", "Deleted {{deleteModelTag}}": "Đã xóa {{deleteModelTag}}", "Deleted {{name}}": "Đã xóa {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "Mô tả", "Didn't fully follow instructions": "Không tuân theo chỉ dẫn một cách đầy đủ", diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json index 6004183b7..4310441a2 100644 --- a/src/lib/i18n/locales/zh-CN/translation.json +++ b/src/lib/i18n/locales/zh-CN/translation.json @@ -234,6 +234,7 @@ "Delete User": "删除用户", "Deleted {{deleteModelTag}}": "已删除 {{deleteModelTag}}", "Deleted {{name}}": "已删除 {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "描述您的知识库和目标", "Description": "描述", "Didn't fully follow instructions": "没有完全遵照指示", diff --git a/src/lib/i18n/locales/zh-TW/translation.json b/src/lib/i18n/locales/zh-TW/translation.json index 54710faae..48287d092 100644 --- a/src/lib/i18n/locales/zh-TW/translation.json +++ b/src/lib/i18n/locales/zh-TW/translation.json @@ -234,6 +234,7 @@ "Delete User": "刪除使用者", "Deleted {{deleteModelTag}}": "已刪除 {{deleteModelTag}}", "Deleted {{name}}": "已刪除 {{name}}", + "Deleted User": "", "Describe your knowledge base and objectives": "", "Description": "描述", "Didn't fully follow instructions": "未完全遵循指示",