Skip to content

Commit

Permalink
feat: add clearChat translations
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Sep 6, 2022
1 parent 1eb3044 commit f180be4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/constants/chatbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const CHATBOX = {
DELETE_BUTTON: 'DELETE_BUTTON',
CANCEL_BUTTON: 'CANCEL_BUTTON',
CONFIRM_BUTTON: 'CONFIRM_BUTTON',
SAVE_CHAT_BUTTON: 'SAVE_CHAT_BUTTON',
INPUT_FIELD_PLACEHOLDER: 'INPUT_FIELD_PLACEHOLDER',
CHATBOX_HEADER: 'CHATBOX_HEADER',
INPUT_MESSAGE_TOO_LONG: 'INPUT_MESSAGE_TOO_LONG',
Expand All @@ -14,6 +15,9 @@ export const CHATBOX = {
MARK_AS_READ: 'MARK_AS_READ',
MARK_ALL_AS_READ: 'MARK_ALL_AS_READ',
CLEAR_ALL: 'CLEAR_ALL',
CLEAR_ALL_CHAT: 'CLEAR_ALL_CHAT',
CLEAR_ALL_CHAT_TITLE: 'CLEAR_ALL_CHAT_TITLE',
CLEAR_ALL_CHAT_CONTENT: 'CLEAR_ALL_CHAT_CONTENT',
CLEAR_ALL_NOTIFICATIONS_TITLE: 'CLEAR_ALL_NOTIFICATIONS_TITLE',
CLEAR_ALL_NOTIFICATIONS_CONTENT: 'CLEAR_ALL_NOTIFICATIONS_CONTENT',
COL_STATUS: 'COL_STATUS',
Expand Down
4 changes: 4 additions & 0 deletions src/langs/en/chatbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"DELETE_BUTTON": "Delete",
"CANCEL_BUTTON": "Cancel",
"CONFIRM_BUTTON": "Confirm",
"SAVE_CHAT_BUTTON": "Save Chat",
"INPUT_FIELD_PLACEHOLDER": "Type something…",
"CHATBOX_HEADER": "Chatbox",
"INPUT_MESSAGE_TOO_LONG": "(max. {{length}} chars)",
Expand All @@ -14,6 +15,9 @@
"MARK_AS_READ": "Mark as read",
"MARK_ALL_AS_READ": "Mark all as read",
"CLEAR_ALL": "Clear all",
"CLEAR_ALL_CHAT": "Clear Chat",
"CLEAR_ALL_CHAT_TITLE": "Clear Chat Confirmation",
"CLEAR_ALL_CHAT_CONTENT": "Do you want to clear all messages from this chat? This action is non-reversible. Use the button below if you want to make a backup.",
"CLEAR_ALL_NOTIFICATIONS_TITLE": "Clear All Notifications",
"CLEAR_ALL_NOTIFICATIONS_CONTENT": "Are you sure you want to clear all your notifications?",
"COL_STATUS": "Status",
Expand Down
3 changes: 3 additions & 0 deletions src/langs/fr/chatbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"DELETE_BUTTON": "Supprimer",
"CANCEL_BUTTON": "Annuler",
"CONFIRM_BUTTON": "Confirmer",
"SAVE_CHAT_BUTTON": "Enregistrer le chat",
"INPUT_FIELD_PLACEHOLDER": "Écrivez quelque chose…",
"CHATBOX_HEADER": "Chatbox",
"INPUT_MESSAGE_TOO_LONG": "(max. {{length}} caractères)",
Expand All @@ -14,6 +15,8 @@
"MARK_AS_READ": "Marquer comme lu",
"MARK_ALL_AS_READ": "Marquer tous comme lu",
"CLEAR_ALL": "Tout supprimer",
"CLEAR_ALL_CHAT": "Supprimer tous les messages",
"CLEAR_ALL_CHAT_TITLE": "Confirmer la suppression",
"CLEAR_ALL_NOTIFICATIONS_TITLE": "Supprimer toutes les notifications",
"CLEAR_ALL_NOTIFICATIONS_CONTENT": "Êtes-vous sûr de vouloir supprimer toutes vos notifications ?",
"COL_STATUS": "Statut",
Expand Down

0 comments on commit f180be4

Please sign in to comment.