feat(newsfeed): Improved UI flow for the course newsfeed (#791)
* feat(newsfeed): improved the newsfeed ui * feat(newsfeed): updated the ui * feat(newsfeed): some improvements * feat(newsfeed): cleanup * chore(newsfeed): added translations * fix(newsfeed): fixing comments and reviews from greptile and coderabbit * fix(newsfeed): fixing comments and reviews from greptile and coderabbit, improved replies to a reply * fix(newsfeed): fixing reviews * fix(ui): expose cancelLabel prop in comment-tree-input and pass localized text --------- Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
co-authored by
Rotimi Best
parent
88c4cf03b3
commit
a1c4ee720f
@@ -2260,13 +2260,32 @@
|
||||
"hide": "Skjul kommentarer",
|
||||
"placeholder": "Tilføj klassekommentar",
|
||||
"submit_aria": "Send kommentar",
|
||||
"delete": "Slet"
|
||||
"delete": "Slet",
|
||||
"reply": "Svar",
|
||||
"replying_to": "Svarer til @{name}",
|
||||
"cancel_reply": "Annuller",
|
||||
"view_replies": "Se {count} {count, plural, =1 {reply} anden {replies}}",
|
||||
"hide_replies": "Skjul svar",
|
||||
"view_more": "Se flere kommentarer ({count})",
|
||||
"loading": "Indlæser...",
|
||||
"save": "Gem",
|
||||
"saving": "Gemmer...",
|
||||
"send": "Send",
|
||||
"load_more_replies": "Indlæs flere svar"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Fastgør",
|
||||
"unpin": "Frigør",
|
||||
"edit": "Rediger",
|
||||
"delete": "Slet"
|
||||
},
|
||||
"other_posts": "Andre indlæg",
|
||||
"user": "Bruger",
|
||||
"delete_modal": {
|
||||
"title": "Slet feed",
|
||||
"description": "Er du sikker på, at du vil slette dette feed?",
|
||||
"no": "Nej",
|
||||
"yes": "Ja"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
@@ -2260,13 +2260,32 @@
|
||||
"hide": "Kommentare ausblenden",
|
||||
"placeholder": "Klassenkommentar hinzufügen",
|
||||
"submit_aria": "Kommentar abgeben",
|
||||
"delete": "Löschen"
|
||||
"delete": "Löschen",
|
||||
"reply": "Antwort",
|
||||
"replying_to": "Auf @{name} antworten",
|
||||
"cancel_reply": "Abbrechen",
|
||||
"view_replies": "{count} {count, plural, =1 {reply} other {replies}} ansehen",
|
||||
"hide_replies": "Antworten ausblenden",
|
||||
"view_more": "Weitere Kommentare anzeigen ({count})",
|
||||
"loading": "Laden...",
|
||||
"save": "Speichern",
|
||||
"saving": "Sparen...",
|
||||
"send": "Senden",
|
||||
"load_more_replies": "Weitere Antworten laden"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Anheften",
|
||||
"unpin": "Lösen",
|
||||
"edit": "Bearbeiten",
|
||||
"delete": "Löschen"
|
||||
},
|
||||
"other_posts": "Andere Beiträge",
|
||||
"user": "Benutzer",
|
||||
"delete_modal": {
|
||||
"title": "Feed löschen",
|
||||
"description": "Möchten Sie diesen Feed wirklich löschen?",
|
||||
"no": "Nein",
|
||||
"yes": "Ja"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
@@ -2086,6 +2086,14 @@
|
||||
"body_header": "No post yet",
|
||||
"body_content": "Make a post to your class. Start by clicking on the Add button.",
|
||||
"pinned": "Pinned",
|
||||
"other_posts": "Other Posts",
|
||||
"user": "User",
|
||||
"delete_modal": {
|
||||
"title": "Delete Feed",
|
||||
"description": "Are you sure you want to delete this feed?",
|
||||
"no": "No",
|
||||
"yes": "Yes"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Pin",
|
||||
"unpin": "Unpin",
|
||||
@@ -2098,7 +2106,18 @@
|
||||
"hide": "Hide comments",
|
||||
"placeholder": "Add class comment",
|
||||
"submit_aria": "Submit comment",
|
||||
"delete": "Delete"
|
||||
"reply": "Reply",
|
||||
"replying_to": "Replying to @{name}",
|
||||
"cancel_reply": "Cancel",
|
||||
"view_replies": "View {count} {count, plural, =1 {reply} other {replies}}",
|
||||
"hide_replies": "Hide replies",
|
||||
"delete": "Delete",
|
||||
"view_more": "View more comments ({count})",
|
||||
"loading": "Loading...",
|
||||
"save": "Save",
|
||||
"saving": "Saving...",
|
||||
"send": "Send",
|
||||
"load_more_replies": "Load more replies"
|
||||
},
|
||||
"user_avatar_alt": "User avatar",
|
||||
"snackbar": {
|
||||
|
||||
@@ -2260,13 +2260,32 @@
|
||||
"hide": "Ocultar comentarios",
|
||||
"placeholder": "Agregar comentario de clase",
|
||||
"submit_aria": "Enviar comentario",
|
||||
"delete": "Eliminar"
|
||||
"delete": "Eliminar",
|
||||
"reply": "Responder",
|
||||
"replying_to": "Respondiendo a @{nombre}",
|
||||
"cancel_reply": "Cancelar",
|
||||
"view_replies": "Ver {count} {count, plural, =1 {respuesta} otras {respuestas}}",
|
||||
"hide_replies": "Ocultar respuestas",
|
||||
"view_more": "Ver más comentarios ({count})",
|
||||
"loading": "Cargando...",
|
||||
"save": "Guardar",
|
||||
"saving": "Guardando...",
|
||||
"send": "enviar",
|
||||
"load_more_replies": "Cargar más respuestas"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Fijar",
|
||||
"unpin": "Desanclar",
|
||||
"edit": "Editar",
|
||||
"delete": "Eliminar"
|
||||
},
|
||||
"other_posts": "Otras publicaciones",
|
||||
"user": "Usuario",
|
||||
"delete_modal": {
|
||||
"title": "Eliminar feed",
|
||||
"description": "¿Estás seguro de que deseas eliminar este feed?",
|
||||
"no": "No",
|
||||
"yes": "si"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
@@ -2260,13 +2260,32 @@
|
||||
"hide": "Masquer les commentaires",
|
||||
"placeholder": "Ajouter un commentaire de classe",
|
||||
"submit_aria": "Soumettre un commentaire",
|
||||
"delete": "Supprimer"
|
||||
"delete": "Supprimer",
|
||||
"reply": "Répondre",
|
||||
"replying_to": "Répondre à @{name}",
|
||||
"cancel_reply": "Annuler",
|
||||
"view_replies": "Voir {count} {count, plural, =1 {réponse} autres {réponses}}",
|
||||
"hide_replies": "Masquer les réponses",
|
||||
"view_more": "Afficher plus de commentaires ({count})",
|
||||
"loading": "Chargement...",
|
||||
"save": "Enregistrer",
|
||||
"saving": "Sauvegarde...",
|
||||
"send": "Envoyer",
|
||||
"load_more_replies": "Charger plus de réponses"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Épingler",
|
||||
"unpin": "Désépingler",
|
||||
"edit": "Modifier",
|
||||
"delete": "Supprimer"
|
||||
},
|
||||
"other_posts": "Autres messages",
|
||||
"user": "Utilisateur",
|
||||
"delete_modal": {
|
||||
"title": "Supprimer le flux",
|
||||
"description": "Êtes-vous sûr de vouloir supprimer ce flux ?",
|
||||
"no": "Non",
|
||||
"yes": "Oui"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
@@ -2260,13 +2260,32 @@
|
||||
"hide": "टिप्पणियाँ छिपाएँ",
|
||||
"placeholder": "कक्षा टिप्पणी जोड़ें",
|
||||
"submit_aria": "टिप्पणी सबमिट करें",
|
||||
"delete": "हटाएँ"
|
||||
"delete": "हटाएँ",
|
||||
"reply": "उत्तर",
|
||||
"replying_to": "@{name} को उत्तर दिया जा रहा है",
|
||||
"cancel_reply": "रद्द करें",
|
||||
"view_replies": "देखें {count} {count, plural, =1 {उत्तर} other {उत्तर}}",
|
||||
"hide_replies": "उत्तर छिपाएँ",
|
||||
"view_more": "अधिक टिप्पणियाँ देखें ({count})",
|
||||
"loading": "लोड हो रहा है...",
|
||||
"save": "सहेजें",
|
||||
"saving": "सहेजा जा रहा है...",
|
||||
"send": "भेजें",
|
||||
"load_more_replies": "अधिक उत्तर लोड करें"
|
||||
},
|
||||
"card": {
|
||||
"pin": "पिन",
|
||||
"unpin": "अनपिन करें",
|
||||
"edit": "संपादित करें",
|
||||
"delete": "हटाएँ"
|
||||
},
|
||||
"other_posts": "अन्य पोस्ट",
|
||||
"user": "उपयोगकर्ता",
|
||||
"delete_modal": {
|
||||
"title": "फ़ीड हटाएँ",
|
||||
"description": "क्या आप वाकई इस फ़ीड को हटाना चाहते हैं?",
|
||||
"no": "नहीं",
|
||||
"yes": "हाँ"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
@@ -2260,13 +2260,32 @@
|
||||
"hide": "Ukryj komentarze",
|
||||
"placeholder": "Dodaj komentarz do zajęć",
|
||||
"submit_aria": "Prześlij komentarz",
|
||||
"delete": "Usuń"
|
||||
"delete": "Usuń",
|
||||
"reply": "Odpowiedz",
|
||||
"replying_to": "Odpowiadanie na @{name}",
|
||||
"cancel_reply": "Anuluj",
|
||||
"view_replies": "Wyświetl {count} {count, plural, =1 {odpowiedź} inne {replies}}",
|
||||
"hide_replies": "Ukryj odpowiedzi",
|
||||
"view_more": "Wyświetl więcej komentarzy ({count})",
|
||||
"loading": "Ładowanie...",
|
||||
"save": "Zapisz",
|
||||
"saving": "Zapisywanie...",
|
||||
"send": "Wyślij",
|
||||
"load_more_replies": "Załaduj więcej odpowiedzi"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Przypnij",
|
||||
"unpin": "Odepnij",
|
||||
"edit": "Edytuj",
|
||||
"delete": "Usuń"
|
||||
},
|
||||
"other_posts": "Inne posty",
|
||||
"user": "Użytkownik",
|
||||
"delete_modal": {
|
||||
"title": "Usuń kanał",
|
||||
"description": "Czy na pewno chcesz usunąć ten kanał?",
|
||||
"no": "Nie",
|
||||
"yes": "Tak"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
@@ -2260,13 +2260,32 @@
|
||||
"hide": "Ocultar comentários",
|
||||
"placeholder": "Adicionar comentário da turma",
|
||||
"submit_aria": "Enviar comentário",
|
||||
"delete": "Excluir"
|
||||
"delete": "Excluir",
|
||||
"reply": "Responder",
|
||||
"replying_to": "Respondendo a @{name}",
|
||||
"cancel_reply": "Cancelar",
|
||||
"view_replies": "Ver {count} {count, plural, =1 {resposta} other {respostas}}",
|
||||
"hide_replies": "Ocultar respostas",
|
||||
"view_more": "Ver mais comentários ({count})",
|
||||
"loading": "Carregando...",
|
||||
"save": "Salvar",
|
||||
"saving": "Salvando...",
|
||||
"send": "Enviar",
|
||||
"load_more_replies": "Carregar mais respostas"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Fixar",
|
||||
"unpin": "Liberar",
|
||||
"edit": "Editar",
|
||||
"delete": "Excluir"
|
||||
},
|
||||
"other_posts": "Outras postagens",
|
||||
"user": "Usuário",
|
||||
"delete_modal": {
|
||||
"title": "Excluir feed",
|
||||
"description": "Tem certeza de que deseja excluir este feed?",
|
||||
"no": "Não",
|
||||
"yes": "Sim"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
@@ -2260,13 +2260,32 @@
|
||||
"hide": "Скрыть комментарии",
|
||||
"placeholder": "Добавить комментарий к классу",
|
||||
"submit_aria": "Отправить комментарий",
|
||||
"delete": "Удалить"
|
||||
"delete": "Удалить",
|
||||
"reply": "Ответить",
|
||||
"replying_to": "Отвечаю на @{name}",
|
||||
"cancel_reply": "Отмена",
|
||||
"view_replies": "Просмотреть {count} {count, множественное число, =1 {ответ} other {ответы}}",
|
||||
"hide_replies": "Скрыть ответы",
|
||||
"view_more": "Посмотреть больше комментариев ({count})",
|
||||
"loading": "Загрузка...",
|
||||
"save": "Сохранить",
|
||||
"saving": "Сохранение...",
|
||||
"send": "Отправить",
|
||||
"load_more_replies": "Загрузить больше ответов"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Закрепить",
|
||||
"unpin": "Открепить",
|
||||
"edit": "Редактировать",
|
||||
"delete": "Удалить"
|
||||
},
|
||||
"other_posts": "Другие сообщения",
|
||||
"user": "Пользователь",
|
||||
"delete_modal": {
|
||||
"title": "Удалить канал",
|
||||
"description": "Вы уверены, что хотите удалить этот канал?",
|
||||
"no": "Нет",
|
||||
"yes": "Да"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
@@ -2260,13 +2260,32 @@
|
||||
"hide": "Ẩn bình luận",
|
||||
"placeholder": "Thêm nhận xét của lớp",
|
||||
"submit_aria": "Gửi bình luận",
|
||||
"delete": "Xóa"
|
||||
"delete": "Xóa",
|
||||
"reply": "trả lời",
|
||||
"replying_to": "Đang trả lời @{name}",
|
||||
"cancel_reply": "Hủy bỏ",
|
||||
"view_replies": "Xem {count} {count, plural, =1 {trả lời} other {trả lời}} khác",
|
||||
"hide_replies": "Ẩn câu trả lời",
|
||||
"view_more": "Xem thêm bình luận ({count})",
|
||||
"loading": "Đang tải...",
|
||||
"save": "Lưu",
|
||||
"saving": "Đang lưu...",
|
||||
"send": "Gửi",
|
||||
"load_more_replies": "Tải thêm câu trả lời"
|
||||
},
|
||||
"card": {
|
||||
"pin": "Ghim",
|
||||
"unpin": "Bỏ ghim",
|
||||
"edit": "Chỉnh sửa",
|
||||
"delete": "Xóa"
|
||||
},
|
||||
"other_posts": "Bài viết khác",
|
||||
"user": "người dùng",
|
||||
"delete_modal": {
|
||||
"title": "Xóa nguồn cấp dữ liệu",
|
||||
"description": "Bạn có chắc chắn muốn xóa nguồn cấp dữ liệu này không?",
|
||||
"no": "Không",
|
||||
"yes": "Có"
|
||||
}
|
||||
},
|
||||
"compliance": {
|
||||
|
||||
Reference in New Issue
Block a user