feat: customize the LMS from dashboard (#304)

* Done with the customization of the LMS task

* generated custom_lms migration file

* updated the migration file

* copy improvements

* update wording

* made updates based on reviews,i hope i didnt miss anything

* updated the translations and migration files

* refactoring

* disabled improvements for apps

* more improvements

* more custom improvements

* pr refactoring

---------

Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
Em_Dev
2024-05-17 01:28:59 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 78db68fa51
commit 73eb0ad4b1
30 changed files with 1013 additions and 200 deletions
+11
View File
@@ -0,0 +1,11 @@
import { goto } from '$app/navigation';
import { globalStore } from '$lib/utils/store/app';
import { get } from 'svelte/store';
export function redirectToLesson(settings, courseId) {
const globalStoreVal = get(globalStore);
if (!settings && globalStoreVal.isOrgSite) {
goto(`${courseId}/lessons?next=true`);
}
}
@@ -78,6 +78,7 @@ export async function getOrganizations(userId: string, isOrgSite?: boolean, orgS
siteName,
avatar_url,
landingpage,
customization,
theme,
created_at,
organization_plan(
@@ -114,6 +115,7 @@ export async function getOrganizations(userId: string, isOrgSite?: boolean, orgS
memberId: orgMember?.id,
role_id: orgMember?.role_id,
landingpage: orgMember?.organization?.landingpage,
customization: orgMember?.organization?.customization,
organization_plan: orgMember?.organization?.organization_plan
});
});
@@ -226,6 +228,7 @@ export async function getCurrentOrg(siteName: string, justGet = false) {
siteName,
avatar_url,
landingpage,
customization,
theme,
organization_plan(
plan_name,
@@ -16,6 +16,11 @@ export const defaultCurrentOrgState: CurrentOrg = {
memberId: '',
role_id: '',
landingpage: {},
customization: {
apps: { poll: true, comments: true },
course: { grading: true, newsfeed: true },
dashboard: { exercise: true, community: true, bannerText: '', bannerImage: '' }
},
theme: '',
organization_plan: []
};
@@ -153,7 +153,8 @@
"updating_poll": "Beim Aktualisieren des Umfragestatus ist ein Fehler aufgetreten",
"submitting_poll": "Beim Absenden der Umfrage ist ein Fehler aufgetreten"
}
}
},
"success_update": "Erfolgreich geupdated"
},
"exercises": {
"heading": "Übungen",
@@ -710,7 +711,8 @@
"save": "Speichern",
"edit": "Bearbeiten",
"delete": "Löschen"
}
},
"disabled": "Funktion ist deaktiviert"
},
"news_feed": {
"heading": "Neuigkeiten",
@@ -846,7 +848,60 @@
"url": "URL",
"update": "Domäne aktualisieren",
"custom": "Benutzerdefinierten Domain",
"domain": "Fügen Sie Ihren eigenen Domainnamen hinzu"
"domain": "Fügen Sie Ihren eigenen Domainnamen hinzu",
"title": "Benutzerdefinierten Domain"
},
"customize-lms": {
"title": "LMS anpassen",
"disabled": "deaktiviert",
"enabled": "Ermöglicht",
"save": "Änderungen speichern",
"apps": {
"title": "Apps",
"poll": "Umfrage",
"live_comment": "Live-Kommentare"
},
"course": {
"title": "Kurs",
"newsfeed": "Neuigkeiten",
"grading": "Benotung"
},
"dashboard": {
"title": "Armaturenbrett",
"community": "Gemeinschaft",
"exercises": "Übungen",
"banner_image": "Bannerbild",
"banner_image_btn": "Bannerbild aktualisieren",
"banner_text": "Bannertext",
"banner_text_label": "Bannertext aktualisieren",
"banner_text_placeholder": "Schreiben Sie hier den Text"
}
},
"customize_lms": {
"title": "LMS anpassen",
"enabled": "Ermöglicht",
"save": "Änderungen speichern",
"apps": {
"title": "Apps",
"poll": "Umfrage",
"live_comment": "Live-Kommentare"
},
"course": {
"title": "Kurs",
"newsfeed": "Neuigkeiten",
"grading": "Benotung"
},
"dashboard": {
"title": "Armaturenbrett",
"community": "Gemeinschaft",
"exercises": "Übungen",
"banner_image": "Bannerbild",
"banner_image_btn": "Bannerbild aktualisieren",
"banner_text": "Bannertext",
"banner_text_label": "Bannertext aktualisieren",
"banner_text_placeholder": "Schreiben Sie hier den Text"
},
"disabled": "Deaktiviert"
}
},
"quiz": {
@@ -1083,6 +1138,12 @@
"theme": {
"heading": "Thema",
"sub_heading": "Legen Sie Ihre Markenfarbe fest"
},
"customize_lms": {
"heading": "LMS anpassen",
"sub_heading": "Personalisieren Sie Ihr Organisations-LMS",
"button": "LMS anpassen",
"body": "Kontrollieren Sie die Lernerfahrung Ihrer Schüler. Sie können Registerkarten und Seiten aktivieren oder deaktivieren, LMS-Banner und In-App-Kommentare entsprechend den Anforderungen Ihres Unternehmens aktualisieren"
}
}
},
@@ -1152,4 +1213,4 @@
"seconds": "Sekunden",
"snackbar_error": "Fehler beim Senden des Codes"
}
}
}
@@ -80,6 +80,12 @@
"heading": "Theme",
"sub_heading": "Set your brand color"
},
"customize_lms": {
"heading": "Customize LMS",
"sub_heading": "Personalize Your Organization LMS",
"body": "Control your students learning experience. You can enable or disable tabs and pages, update LMS banner and in-app comments to your organization requirements",
"button": "Customize LMS"
},
"custom_domain": {
"heading": "Custom Domain",
"sub_heading": "Customise your Domain",
@@ -315,12 +321,39 @@
},
"settings": {
"domains": {
"title": "Custom domain",
"add": "Add",
"work_together": "Add your team mates or collaborators to your organization. Start working together",
"url": "URL",
"update": "Update Domain",
"custom": "Custom domain",
"domain": "Add your own domain name"
},
"customize_lms": {
"title": "Customize LMS",
"disabled": "Disabled",
"enabled": "Enabled",
"save": "Save Changes",
"dashboard": {
"title": "Dashboard",
"community": "Community",
"exercises": "Exercises",
"banner_image": "Banner Image",
"banner_image_btn": "Update banner image",
"banner_text": "Banner Text",
"banner_text_label": "Update banner text",
"banner_text_placeholder": "Write the text here"
},
"course": {
"title": "Course",
"newsfeed": "Newsfeed",
"grading": "Grading"
},
"apps": {
"title": "Apps",
"poll": "Poll",
"live_comment": "Live comments"
}
}
}
},
@@ -662,7 +695,7 @@
}
}
},
"disabled": "Feature is disabled",
"comments": {
"title": "Comments",
"you": "You",
@@ -1042,6 +1075,7 @@
"snackbar": {
"success": "Success",
"success_update": "Updated successfully",
"something": "Something went wrong - Please try later",
"update": "Update",
@@ -153,7 +153,8 @@
"updating_poll": "Se produjo un error al actualizar el estado de la encuesta.",
"submitting_poll": "Se produjo un error al enviar la encuesta."
}
}
},
"success_update": "Actualizado exitosamente"
},
"exercises": {
"heading": "Ejercicios",
@@ -710,7 +711,8 @@
"save": "Ahorrar",
"edit": "Editar",
"delete": "Borrar"
}
},
"disabled": "La característica está deshabilitada"
},
"news_feed": {
"heading": "Noticias",
@@ -846,7 +848,60 @@
"url": "URL",
"update": "Actualizar dominio",
"custom": "Dominio personalizado",
"domain": "Añade tu propio nombre de dominio"
"domain": "Añade tu propio nombre de dominio",
"title": "Dominio personalizado"
},
"customize-lms": {
"title": "Personalizar LMS",
"disabled": "desactivado",
"enabled": "Activado",
"save": "Guardar cambios",
"apps": {
"title": "Aplicaciones",
"poll": "Encuesta",
"live_comment": "Comentarios en vivo"
},
"course": {
"title": "Curso",
"newsfeed": "Noticias",
"grading": "Calificación"
},
"dashboard": {
"title": "Panel",
"community": "Comunidad",
"exercises": "Ejercicios",
"banner_image": "Imagen de banner",
"banner_image_btn": "Actualizar imagen de banner",
"banner_text": "Texto del cartel",
"banner_text_label": "Actualizar texto del banner",
"banner_text_placeholder": "Escribe el texto aquí"
}
},
"customize_lms": {
"title": "Personalizar LMS",
"enabled": "Activado",
"save": "Guardar cambios",
"apps": {
"title": "Aplicaciones",
"poll": "Encuesta",
"live_comment": "Comentarios en vivo"
},
"course": {
"title": "Curso",
"newsfeed": "Noticias",
"grading": "Calificación"
},
"dashboard": {
"title": "Panel",
"community": "Comunidad",
"exercises": "Ejercicios",
"banner_image": "Imagen de banner",
"banner_image_btn": "Actualizar imagen de banner",
"banner_text": "Texto del cartel",
"banner_text_label": "Actualizar texto del banner",
"banner_text_placeholder": "Escribe el texto aquí"
},
"disabled": "Desactivado"
}
},
"quiz": {
@@ -1083,6 +1138,12 @@
"theme": {
"heading": "Tema",
"sub_heading": "Establece el color de tu marca"
},
"customize_lms": {
"heading": "Personalizar LMS",
"sub_heading": "Personalice el LMS de su organización",
"button": "Personalizar LMS",
"body": "Controle la experiencia de aprendizaje de sus estudiantes. Puede habilitar o deshabilitar pestañas y páginas, actualizar el banner de LMS y los comentarios en la aplicación según los requisitos de su organización."
}
}
},
@@ -1152,4 +1213,4 @@
"seconds": "segundos",
"snackbar_error": "error al enviar código"
}
}
}
@@ -153,7 +153,8 @@
"updating_poll": "Une erreur s'est produite lors de la mise à jour de l'état du sondage",
"submitting_poll": "Une erreur s'est produite lors de la soumission du sondage"
}
}
},
"success_update": "Mis à jour avec succés"
},
"exercises": {
"heading": "Des exercices",
@@ -459,7 +460,9 @@
"grade_with_ai": "Noter avec l'IA",
"submit_grades": "Soumettre les notes",
"accept_grade": "Accepter",
"reject_grade": "Rejeter"
"reject_grade": "Rejeter",
"add_comment_placeholder": "laissez un commentaire",
"questions_tried": "Attribué ce score en raison du nombre total d'essais :"
}
},
"attendance": {
@@ -708,7 +711,8 @@
"save": "Sauvegarder",
"edit": "Modifier",
"delete": "Supprimer"
}
},
"disabled": "La fonctionnalité est désactivée"
},
"news_feed": {
"heading": "Fil d'actualité",
@@ -844,7 +848,60 @@
"url": "URL",
"update": "Mettre à jour le domaine",
"custom": "Domaine personnalisé",
"domain": "Ajoutez votre propre nom de domaine"
"domain": "Ajoutez votre propre nom de domaine",
"title": "Domaine personnalisé"
},
"customize-lms": {
"title": "Personnaliser le LMS",
"disabled": "désactivé",
"enabled": "Activé",
"save": "Sauvegarder les modifications",
"apps": {
"title": "applications",
"poll": "Sondage",
"live_comment": "Commentaires en direct"
},
"course": {
"title": "Cours",
"newsfeed": "Fil d'actualité",
"grading": "Classement"
},
"dashboard": {
"title": "Tableau de bord",
"community": "Communauté",
"exercises": "Des exercices",
"banner_image": "Image de la bannière",
"banner_image_btn": "Mettre à jour l'image de la bannière",
"banner_text": "Texte de la bannière",
"banner_text_label": "Mettre à jour le texte de la bannière",
"banner_text_placeholder": "Écrivez le texte ici"
}
},
"customize_lms": {
"title": "Personnaliser le LMS",
"enabled": "Activé",
"save": "Sauvegarder les modifications",
"apps": {
"title": "applications",
"poll": "Sondage",
"live_comment": "Commentaires en direct"
},
"course": {
"title": "Cours",
"newsfeed": "Fil d'actualité",
"grading": "Classement"
},
"dashboard": {
"title": "Tableau de bord",
"community": "Communauté",
"exercises": "Des exercices",
"banner_image": "Image de la bannière",
"banner_image_btn": "Mettre à jour l'image de la bannière",
"banner_text": "Texte de la bannière",
"banner_text_label": "Mettre à jour le texte de la bannière",
"banner_text_placeholder": "Écrivez le texte ici"
},
"disabled": "Désactivé"
}
},
"quiz": {
@@ -1081,6 +1138,12 @@
"theme": {
"heading": "Thème",
"sub_heading": "Définissez la couleur de votre marque"
},
"customize_lms": {
"heading": "Personnaliser le LMS",
"sub_heading": "Personnalisez le LMS de votre organisation",
"button": "Personnaliser le LMS",
"body": "Contrôlez l’expérience d’apprentissage de vos étudiants. Vous pouvez activer ou désactiver les onglets et les pages, mettre à jour la bannière LMS et les commentaires dans l'application en fonction des besoins de votre organisation."
}
}
},
@@ -1150,4 +1213,4 @@
"seconds": "secondes",
"snackbar_error": "erreur lors de l'envoi du code"
}
}
}
@@ -153,7 +153,8 @@
"updating_poll": "मतदान स्थिति अद्यतन करते समय एक त्रुटि उत्पन्न हुई",
"submitting_poll": "मतदान सबमिट करते समय एक त्रुटि उत्पन्न हुई"
}
}
},
"success_update": "सफलतापूर्वक अपडेट किया गया"
},
"exercises": {
"heading": "अभ्यास",
@@ -710,7 +711,8 @@
"save": "बचाना",
"edit": "संपादन करना",
"delete": "मिटाना"
}
},
"disabled": "सुविधा अक्षम है"
},
"news_feed": {
"heading": "समाचार फ़ीड",
@@ -846,7 +848,60 @@
"url": "यूआरएल",
"update": "डोमेन अद्यतन करें",
"custom": "कस्टम डोमेन",
"domain": "अपना स्वयं का डोमेन नाम जोड़ें"
"domain": "अपना स्वयं का डोमेन नाम जोड़ें",
"title": "कस्टम डोमेन"
},
"customize-lms": {
"title": "एलएमएस को अनुकूलित करें",
"disabled": "अक्षम",
"enabled": "सक्रिय",
"save": "परिवर्तनों को सुरक्षित करें",
"apps": {
"title": "ऐप्स",
"poll": "मतदान",
"live_comment": "लाइव टिप्पणियाँ"
},
"course": {
"title": "अवधि",
"newsfeed": "समाचार फ़ीड",
"grading": "ग्रेडिंग"
},
"dashboard": {
"title": "डैशबोर्ड",
"community": "समुदाय",
"exercises": "अभ्यास",
"banner_image": "बैनर छवि",
"banner_image_btn": "बैनर छवि अपडेट करें",
"banner_text": "बैनर पाठ",
"banner_text_label": "बैनर टेक्स्ट अपडेट करें",
"banner_text_placeholder": "यहां पाठ लिखें"
}
},
"customize_lms": {
"title": "एलएमएस को अनुकूलित करें",
"enabled": "सक्रिय",
"save": "परिवर्तनों को सुरक्षित करें",
"apps": {
"title": "ऐप्स",
"poll": "मतदान",
"live_comment": "लाइव टिप्पणियाँ"
},
"course": {
"title": "अवधि",
"newsfeed": "समाचार फ़ीड",
"grading": "ग्रेडिंग"
},
"dashboard": {
"title": "डैशबोर्ड",
"community": "समुदाय",
"exercises": "अभ्यास",
"banner_image": "बैनर छवि",
"banner_image_btn": "बैनर छवि अपडेट करें",
"banner_text": "बैनर पाठ",
"banner_text_label": "बैनर टेक्स्ट अपडेट करें",
"banner_text_placeholder": "यहां पाठ लिखें"
},
"disabled": "अक्षम"
}
},
"quiz": {
@@ -1083,6 +1138,12 @@
"theme": {
"heading": "विषय",
"sub_heading": "अपना ब्रांड रंग सेट करें"
},
"customize_lms": {
"heading": "एलएमएस को अनुकूलित करें",
"sub_heading": "अपने संगठन एलएमएस को वैयक्तिकृत करें",
"button": "एलएमएस को अनुकूलित करें",
"body": "अपने विद्यार्थियों के सीखने के अनुभव को नियंत्रित करें। आप टैब और पेजों को सक्षम या अक्षम कर सकते हैं, एलएमएस बैनर और इन-ऐप टिप्पणियों को अपने संगठन की आवश्यकताओं के अनुसार अपडेट कर सकते हैं"
}
}
},
@@ -1152,4 +1213,4 @@
"seconds": "सेकंड",
"snackbar_error": "कोड भेजते समय त्रुटि"
}
}
}
@@ -153,7 +153,8 @@
"updating_poll": "Ocorreu um erro ao atualizar o status da enquete",
"submitting_poll": "Ocorreu um erro ao enviar a enquete"
}
}
},
"success_update": "Atualizado com sucesso"
},
"exercises": {
"heading": "Exercícios",
@@ -710,7 +711,8 @@
"save": "Salvar",
"edit": "Editar",
"delete": "Excluir"
}
},
"disabled": "O recurso está desativado"
},
"news_feed": {
"heading": "Notícias",
@@ -846,7 +848,60 @@
"url": "URL",
"update": "Atualizar domínio",
"custom": "Domínio personalizado",
"domain": "Adicione seu próprio nome de domínio"
"domain": "Adicione seu próprio nome de domínio",
"title": "Domínio personalizado"
},
"customize-lms": {
"title": "Personalizar LMS",
"disabled": "desabilitado",
"enabled": "Habilitado",
"save": "Salvar alterações",
"apps": {
"title": "Aplicativos",
"poll": "Enquete",
"live_comment": "Comentários ao vivo"
},
"course": {
"title": "Curso",
"newsfeed": "Notícias",
"grading": "Classificação"
},
"dashboard": {
"title": "Painel",
"community": "Comunidade",
"exercises": "Exercícios",
"banner_image": "Imagem do banner",
"banner_image_btn": "Atualizar imagem do banner",
"banner_text": "Texto do banner",
"banner_text_label": "Atualizar texto do banner",
"banner_text_placeholder": "Escreva o texto aqui"
}
},
"customize_lms": {
"title": "Personalizar LMS",
"enabled": "Habilitado",
"save": "Salvar alterações",
"apps": {
"title": "Aplicativos",
"poll": "Enquete",
"live_comment": "Comentários ao vivo"
},
"course": {
"title": "Curso",
"newsfeed": "Notícias",
"grading": "Classificação"
},
"dashboard": {
"title": "Painel",
"community": "Comunidade",
"exercises": "Exercícios",
"banner_image": "Imagem do banner",
"banner_image_btn": "Atualizar imagem do banner",
"banner_text": "Texto do banner",
"banner_text_label": "Atualizar texto do banner",
"banner_text_placeholder": "Escreva o texto aqui"
},
"disabled": "Desabilitado"
}
},
"quiz": {
@@ -1083,6 +1138,12 @@
"theme": {
"heading": "Tema",
"sub_heading": "Defina a cor da sua marca"
},
"customize_lms": {
"heading": "Personalizar LMS",
"sub_heading": "Personalize o LMS da sua organização",
"button": "Personalizar LMS",
"body": "Controle a experiência de aprendizagem de seus alunos. Você pode ativar ou desativar guias e páginas, atualizar o banner do LMS e os comentários no aplicativo de acordo com os requisitos da sua organização"
}
}
},
@@ -1152,4 +1213,4 @@
"seconds": "segundos",
"snackbar_error": "erro ao enviar código"
}
}
}
@@ -153,7 +153,8 @@
"updating_poll": "Произошла ошибка при обновлении статуса опроса.",
"submitting_poll": "Произошла ошибка при отправке опроса"
}
}
},
"success_update": "Успешно Обновлено"
},
"exercises": {
"heading": "Упражнения",
@@ -710,7 +711,8 @@
"save": "Сохранять",
"edit": "Редактировать",
"delete": "Удалить"
}
},
"disabled": "Функция отключена"
},
"news_feed": {
"heading": "Новостная лента",
@@ -846,7 +848,60 @@
"url": "URL-адрес",
"update": "Обновить домен",
"custom": "Пользовательский домен",
"domain": "Добавьте свое собственное доменное имя"
"domain": "Добавьте свое собственное доменное имя",
"title": "Пользовательский домен"
},
"customize-lms": {
"title": "Настроить систему управления обучением",
"disabled": "неполноценный",
"enabled": "Включено",
"save": "Сохранить изменения",
"apps": {
"title": "Программы",
"poll": "Голосование",
"live_comment": "Живые комментарии"
},
"course": {
"title": "Курс",
"newsfeed": "Новостная лента",
"grading": "Оценка"
},
"dashboard": {
"title": "Панель приборов",
"community": "Сообщество",
"exercises": "Упражнения",
"banner_image": "Изображение баннера",
"banner_image_btn": "Обновить изображение баннера",
"banner_text": "Текст баннера",
"banner_text_label": "Обновить текст баннера",
"banner_text_placeholder": "Напишите текст здесь"
}
},
"customize_lms": {
"title": "Настроить систему управления обучением",
"enabled": "Включено",
"save": "Сохранить изменения",
"apps": {
"title": "Программы",
"poll": "Голосование",
"live_comment": "Живые комментарии"
},
"course": {
"title": "Курс",
"newsfeed": "Новостная лента",
"grading": "Оценка"
},
"dashboard": {
"title": "Панель приборов",
"community": "Сообщество",
"exercises": "Упражнения",
"banner_image": "Изображение баннера",
"banner_image_btn": "Обновить изображение баннера",
"banner_text": "Текст баннера",
"banner_text_label": "Обновить текст баннера",
"banner_text_placeholder": "Напишите текст здесь"
},
"disabled": "Неполноценный"
}
},
"quiz": {
@@ -1083,6 +1138,12 @@
"theme": {
"heading": "Тема",
"sub_heading": "Установите цвет вашего бренда"
},
"customize_lms": {
"heading": "Настроить систему управления обучением",
"sub_heading": "Персонализируйте свою организацию LMS",
"button": "Настроить систему управления обучением",
"body": "Контролируйте процесс обучения своих учеников. Вы можете включать или отключать вкладки и страницы, обновлять баннер LMS и комментарии в приложении в соответствии с требованиями вашей организации."
}
}
},
@@ -1152,4 +1213,4 @@
"seconds": "секунды",
"snackbar_error": "ошибка при отправке кода"
}
}
}
@@ -153,7 +153,8 @@
"updating_poll": "Đã xảy ra lỗi khi cập nhật trạng thái cuộc thăm dò ý kiến",
"submitting_poll": "Đã xảy ra lỗi khi gửi cuộc thăm dò ý kiến"
}
}
},
"success_update": "Cập nhật thành công"
},
"exercises": {
"heading": "Bài tập",
@@ -459,7 +460,9 @@
"grade_with_ai": "Chấm điểm bằng AI",
"submit_grades": "Gửi điểm",
"accept_grade": "Chấp nhận",
"reject_grade": "Từ chối"
"reject_grade": "Từ chối",
"add_comment_placeholder": "Để lại một bình luận",
"questions_tried": "Phân bổ số điểm này dựa trên tổng số lần thử:"
}
},
"attendance": {
@@ -708,7 +711,8 @@
"save": "Cứu",
"edit": "Biên tập",
"delete": "Xóa bỏ"
}
},
"disabled": "Tính năng bị vô hiệu hóa"
},
"news_feed": {
"heading": "Nguồn cấp tin tức",
@@ -844,7 +848,60 @@
"url": "URL",
"update": "Cập nhật tên miền",
"custom": "Tên miền tùy chọn",
"domain": "Thêm tên miền của riêng bạn"
"domain": "Thêm tên miền của riêng bạn",
"title": "Tên miền tùy chọn"
},
"customize-lms": {
"title": "Tùy chỉnh LMS",
"disabled": "tàn tật",
"enabled": "Đã bật",
"save": "Lưu thay đổi",
"apps": {
"title": "Ứng dụng",
"poll": "Thăm dò ý kiến",
"live_comment": "Bình luận trực tiếp"
},
"course": {
"title": "Khóa học",
"newsfeed": "Nguồn cấp tin tức",
"grading": "Chấm điểm"
},
"dashboard": {
"title": "bảng điều khiển",
"community": "Cộng đồng",
"exercises": "Bài tập",
"banner_image": "Hình ảnh biểu ngữ",
"banner_image_btn": "Cập nhật hình ảnh biểu ngữ",
"banner_text": "Văn bản biểu ngữ",
"banner_text_label": "Cập nhật văn bản biểu ngữ",
"banner_text_placeholder": "Viết văn bản ở đây"
}
},
"customize_lms": {
"title": "Tùy chỉnh LMS",
"enabled": "Đã bật",
"save": "Lưu thay đổi",
"apps": {
"title": "Ứng dụng",
"poll": "Thăm dò ý kiến",
"live_comment": "Bình luận trực tiếp"
},
"course": {
"title": "Khóa học",
"newsfeed": "Nguồn cấp tin tức",
"grading": "Chấm điểm"
},
"dashboard": {
"title": "bảng điều khiển",
"community": "Cộng đồng",
"exercises": "Bài tập",
"banner_image": "Hình ảnh biểu ngữ",
"banner_image_btn": "Cập nhật hình ảnh biểu ngữ",
"banner_text": "Văn bản biểu ngữ",
"banner_text_label": "Cập nhật văn bản biểu ngữ",
"banner_text_placeholder": "Viết văn bản ở đây"
},
"disabled": "Tàn tật"
}
},
"quiz": {
@@ -1081,6 +1138,12 @@
"theme": {
"heading": "chủ đề",
"sub_heading": "Đặt màu thương hiệu của bạn"
},
"customize_lms": {
"heading": "Tùy chỉnh LMS",
"sub_heading": "Cá nhân hóa tổ chức của bạn LMS",
"button": "Tùy chỉnh LMS",
"body": "Kiểm soát trải nghiệm học tập của học sinh. Bạn có thể bật hoặc tắt các tab và trang, cập nhật biểu ngữ LMS và nhận xét trong ứng dụng theo yêu cầu của tổ chức"
}
}
},
@@ -1150,4 +1213,4 @@
"seconds": "giây",
"snackbar_error": "lỗi khi gửi mã"
}
}
}
+18
View File
@@ -1,3 +1,20 @@
export interface OrgCustomization {
dashboard: {
community: boolean;
exercise: boolean;
bannerImage: string;
bannerText: string;
};
course: {
newsfeed: boolean;
grading: boolean;
};
apps: {
poll: boolean;
comments: boolean;
};
}
export interface CurrentOrg {
id: string;
name: string;
@@ -9,6 +26,7 @@ export interface CurrentOrg {
landingpage: {
[key: string]: unknown;
};
customization: OrgCustomization;
theme: string;
organization_plan: {
subscriptionId: string;