diff --git a/src/constants/builder.ts b/src/constants/builder.ts index 1580c37c..8325a76a 100644 --- a/src/constants/builder.ts +++ b/src/constants/builder.ts @@ -67,6 +67,55 @@ export const BUILDER = { IMPORT_ZIP_TITLE: 'IMPORT_ZIP_TITLE', IMPORT_ZIP_WARNING: 'IMPORT_ZIP_WARNING', INVITATIONS_TABLE_ACTIONS_HEADER: 'INVITATIONS_TABLE_ACTIONS_HEADER', + + MOVE_BUTTON: 'MOVE_BUTTON', + + PIN_ITEM_PIN_TEXT: 'PIN_ITEM_PIN_TEXT', + PIN_ITEM_UNPIN_TEXT: 'PIN_ITEM_UNPIN_TEXT', + PLAY_BUTTON_TOOLTIP: 'PLAY_BUTTON_TOOLTIP', + + LIBRARY_SETTINGS_BUTTON_TITLE: 'LIBRARY_SETTINGS_BUTTON_TITLE', + RECYCLE_ITEM_BUTTON: 'RECYCLE_ITEM_BUTTON', + RESTORE_ITEM_BUTTON: 'RESTORE_ITEM_BUTTON', + SHARE_ITEM_BUTTON: 'SHARE_ITEM_BUTTON', + ITEM_METADATA_CREATOR_TITLE: 'ITEM_METADATA_CREATOR_TITLE', + ITEM_METADATA_TYPE_TITLE: 'ITEM_METADATA_TYPE_TITLE', + USER_SWITCH_PROFILE_BUTTON: 'USER_SWITCH_PROFILE_BUTTON', + USER_SWITCH_SIGNED_OUT_TOOLTIP: 'USER_SWITCH_SIGNED_OUT_TOOLTIP', + USER_SWITCH_SWITCH_USER_TEXT: 'USER_SWITCH_SWITCH_USER_TEXT', + + RECYCLE_BIN_TITLE: 'RECYCLE_BIN_TITLE', + + SETTINGS_COLLAPSE_LABEL: 'SETTINGS_COLLAPSE_LABEL', + SETTINGS_PIN_ITEM_LABEL: 'SETTINGS_PIN_ITEM_LABEL', + SETTINGS_SHOW_CHAT_LABEL: 'SETTINGS_SHOW_CHAT_LABEL', + SETTINGS_RESIZE_LABEL: 'SETTINGS_RESIZE_LABEL', + SETTINGS_TITLE: 'SETTINGS_TITLE', + SETTINGS_COLLAPSE_FOLDER_INFORMATION: 'SETTINGS_COLLAPSE_FOLDER_INFORMATION', + + LIBRARY_SETTINGS_INFORMATION: 'LIBRARY_SETTINGS_INFORMATION', + LIBRARY_SETTINGS_TITLE: 'LIBRARY_SETTINGS_TITLE', + LIBRARY_SETTINGS_VALIDATION_TITLE: 'LIBRARY_SETTINGS_VALIDATION_TITLE', + + LIBRARY_SETTINGS_VISIBILITY_INFORMATIONS: + 'LIBRARY_SETTINGS_VISIBILITY_INFORMATIONS', + + SHARE_ITEM_CSV_IMPORT_MODAL_TITLE: 'SHARE_ITEM_CSV_IMPORT_MODAL_TITLE', + SHARE_ITEM_CSV_IMPORT_SUCCESS_MESSAGE: + 'SHARE_ITEM_CSV_IMPORT_SUCCESS_MESSAGE', + SHARE_ITEM_CSV_IMPORT_MODAL_CONTENT: 'SHARE_ITEM_CSV_IMPORT_MODAL_CONTENT', + SHARE_ITEM_CSV_IMPORT_INPUT_BUTTON: 'SHARE_ITEM_CSV_IMPORT_INPUT_BUTTON', + SHARE_ITEM_CSV_IMPORT_ERROR_MESSAGE: 'SHARE_ITEM_CSV_IMPORT_ERROR_MESSAGE', + SHARE_ITEM_FORM_EMAIL_LABEL: 'SHARE_ITEM_FORM_EMAIL_LABEL', + SHARE_ITEM_FORM_CONFIRM_BUTTON: 'SHARE_ITEM_FORM_CONFIRM_BUTTON', + SHARE_ITEM_FORM_INVITATION_TOOLTIP: 'SHARE_ITEM_FORM_INVITATION_TOOLTIP', + + SHARE_ITEM_FORM_INVITATION_EMAIL_EXISTS_MESSAGE: + 'SHARE_ITEM_FORM_INVITATION_EMAIL_EXISTS_MESSAGE', + SHARE_ITEM_FORM_INVITATION_INVALID_EMAIL_MESSAGE: + 'SHARE_ITEM_FORM_INVITATION_INVALID_EMAIL_MESSAGE', + SHARE_ITEM_FORM_INVITATION_EMPTY_EMAIL_MESSAGE: + 'SHARE_ITEM_FORM_INVITATION_EMPTY_EMAIL_MESSAGE', INVITATIONS_TABLE_CANNOT_DELETE_PARENT_TOOLTIP: 'INVITATIONS_TABLE_CANNOT_DELETE_PARENT_TOOLTIP', INVITATIONS_TABLE_EMAIL_HEADER: 'INVITATIONS_TABLE_EMAIL_HEADER', @@ -87,11 +136,9 @@ export const BUILDER = { ITEM_MENU_CREATE_SHORTCUT_MENU_ITEM: 'ITEM_MENU_CREATE_SHORTCUT_MENU_ITEM', ITEM_MENU_FLAG_MENU_ITEM: 'ITEM_MENU_FLAG_MENU_ITEM', ITEM_METADATA_CREATED_AT_TITLE: 'ITEM_METADATA_CREATED_AT_TITLE', - ITEM_METADATA_CREATOR_TITLE: 'ITEM_METADATA_CREATOR_TITLE', ITEM_METADATA_LINK_TITLE: 'ITEM_METADATA_LINK_TITLE', ITEM_METADATA_SIZE_TITLE: 'ITEM_METADATA_SIZE_TITLE', ITEM_METADATA_TITLE: 'ITEM_METADATA_TITLE', - ITEM_METADATA_TYPE_TITLE: 'ITEM_METADATA_TYPE_TITLE', ITEM_METADATA_UPDATED_AT_TITLE: 'ITEM_METADATA_UPDATED_AT_TITLE', ITEM_SEARCH_NO_RESULTS_MESSAGE: 'ITEM_SEARCH_NO_RESULTS_MESSAGE', ITEM_SEARCH_PLACEHOLDER: 'ITEM_SEARCH_PLACEHOLDER', @@ -150,15 +197,12 @@ export const BUILDER = { ITEMS_TREE_OWN_ITEMS_LABEL: 'ITEMS_TREE_OWN_ITEMS_LABEL', LAYOUT_MODE_GRID_LABEL: 'LAYOUT_MODE_GRID_LABEL', LAYOUT_MODE_LIST_LABEL: 'LAYOUT_MODE_LIST_LABEL', - LIBRARY_SETTINGS_BUTTON_TITLE: 'LIBRARY_SETTINGS_BUTTON_TITLE', - LIBRARY_SETTINGS_INFORMATION: 'LIBRARY_SETTINGS_INFORMATION', LIBRARY_SETTINGS_NOT_PUBLISHED_ITEM_MESSAGE: 'LIBRARY_SETTINGS_NOT_PUBLISHED_ITEM_MESSAGE', LIBRARY_SETTINGS_PUBLISH_BUTTON: 'LIBRARY_SETTINGS_PUBLISH_BUTTON', LIBRARY_SETTINGS_PUBLISH_NOTIFICATIONS_LABEL: 'LIBRARY_SETTINGS_PUBLISH_NOTIFICATIONS_LABEL', LIBRARY_SETTINGS_PUBLISHED_STATUS: 'LIBRARY_SETTINGS_PUBLISHED_STATUS', - LIBRARY_SETTINGS_TITLE: 'LIBRARY_SETTINGS_TITLE', LIBRARY_SETTINGS_UNPUBLISH_BUTTON: 'LIBRARY_SETTINGS_UNPUBLISH_BUTTON', LIBRARY_SETTINGS_VALIDATION_CONFIGURATION_INFORMATIONS: 'LIBRARY_SETTINGS_VALIDATION_CONFIGURATION_INFORMATIONS', @@ -178,13 +222,9 @@ export const BUILDER = { 'LIBRARY_SETTINGS_VALIDATION_STATUS_PENDING_AUTOMATIC', LIBRARY_SETTINGS_VALIDATION_STATUS_PENDING_MANUAL: 'LIBRARY_SETTINGS_VALIDATION_STATUS_PENDING_MANUAL', - LIBRARY_SETTINGS_VALIDATION_TITLE: 'LIBRARY_SETTINGS_VALIDATION_TITLE', LIBRARY_SETTINGS_VALIDATION_VALIDATE_BUTTON: 'LIBRARY_SETTINGS_VALIDATION_VALIDATE_BUTTON', - LIBRARY_SETTINGS_VISIBILITY_INFORMATIONS: - 'LIBRARY_SETTINGS_VISIBILITY_INFORMATIONS', LINK_DEFAULT_NAME: 'LINK_DEFAULT_NAME', - MOVE_BUTTON: 'MOVE_BUTTON', MOVE_ITEM_MODAL_TITLE: 'MOVE_ITEM_MODAL_TITLE', MY_ITEMS_TITLE: 'MY_ITEMS_TITLE', NAVIGATION_FAVORITE_ITEMS_TITLE: 'NAVIGATION_FAVORITE_ITEMS_TITLE', @@ -200,44 +240,16 @@ export const BUILDER = { NEW_ITEM_H5P_TAB_TEXT: 'NEW_ITEM_H5P_TAB_TEXT', NEW_ITEM_LINK_TAB_TEXT: 'NEW_ITEM_LINK_TAB_TEXT', NEW_ITEM_ZIP_TAB_TEXT: 'NEW_ITEM_ZIP_TAB_TEXT', - PIN_ITEM_PIN_TEXT: 'PIN_ITEM_PIN_TEXT', - PIN_ITEM_UNPIN_TEXT: 'PIN_ITEM_UNPIN_TEXT', - PLAY_BUTTON_TOOLTIP: 'PLAY_BUTTON_TOOLTIP', - RECYCLE_BIN_TITLE: 'RECYCLE_BIN_TITLE', - RECYCLE_ITEM_BUTTON: 'RECYCLE_ITEM_BUTTON', - RESTORE_ITEM_BUTTON: 'RESTORE_ITEM_BUTTON', SAVE_ACTIONS_TOGGLE_TOOLTIP: 'SAVE_ACTIONS_TOGGLE_TOOLTIP', - SETTINGS_COLLAPSE_FOLDER_INFORMATION: 'SETTINGS_COLLAPSE_FOLDER_INFORMATION', - SETTINGS_COLLAPSE_LABEL: 'SETTINGS_COLLAPSE_LABEL', SETTINGS_LINK_SETTINGS_INFORMATIONS: 'SETTINGS_LINK_SETTINGS_INFORMATIONS', SETTINGS_LINK_SETTINGS_TITLE: 'SETTINGS_LINK_SETTINGS_TITLE', SETTINGS_LINK_SHOW_BUTTON: 'SETTINGS_LINK_SHOW_BUTTON', SETTINGS_LINK_SHOW_IFRAME: 'SETTINGS_LINK_SHOW_IFRAME', - SETTINGS_PIN_ITEM_LABEL: 'SETTINGS_PIN_ITEM_LABEL', - SETTINGS_RESIZE_LABEL: 'SETTINGS_RESIZE_LABEL', SETTINGS_SAVE_ACTIONS: 'SETTINGS_SAVE_ACTIONS', - SETTINGS_SHOW_CHAT_LABEL: 'SETTINGS_SHOW_CHAT_LABEL', SETTINGS_THUMBNAIL_SETTINGS_INFORMATIONS: 'SETTINGS_THUMBNAIL_SETTINGS_INFORMATIONS', SETTINGS_THUMBNAIL_TITLE: 'SETTINGS_THUMBNAIL_TITLE', - SETTINGS_TITLE: 'SETTINGS_TITLE', - SHARE_ITEM_BUTTON: 'SHARE_ITEM_BUTTON', SHARE_ITEM_CSV_IMPORT_BUTTON: 'SHARE_ITEM_CSV_IMPORT_BUTTON', - SHARE_ITEM_CSV_IMPORT_ERROR_MESSAGE: 'SHARE_ITEM_CSV_IMPORT_ERROR_MESSAGE', - SHARE_ITEM_CSV_IMPORT_INPUT_BUTTON: 'SHARE_ITEM_CSV_IMPORT_INPUT_BUTTON', - SHARE_ITEM_CSV_IMPORT_MODAL_CONTENT: 'SHARE_ITEM_CSV_IMPORT_MODAL_CONTENT', - SHARE_ITEM_CSV_IMPORT_MODAL_TITLE: 'SHARE_ITEM_CSV_IMPORT_MODAL_TITLE', - SHARE_ITEM_CSV_IMPORT_SUCCESS_MESSAGE: - 'SHARE_ITEM_CSV_IMPORT_SUCCESS_MESSAGE', - SHARE_ITEM_FORM_CONFIRM_BUTTON: 'SHARE_ITEM_FORM_CONFIRM_BUTTON', - SHARE_ITEM_FORM_EMAIL_LABEL: 'SHARE_ITEM_FORM_EMAIL_LABEL', - SHARE_ITEM_FORM_INVITATION_EMAIL_EXISTS_MESSAGE: - 'SHARE_ITEM_FORM_INVITATION_EMAIL_EXISTS_MESSAGE', - SHARE_ITEM_FORM_INVITATION_EMPTY_EMAIL_MESSAGE: - 'SHARE_ITEM_FORM_INVITATION_EMPTY_EMAIL_MESSAGE', - SHARE_ITEM_FORM_INVITATION_INVALID_EMAIL_MESSAGE: - 'SHARE_ITEM_FORM_INVITATION_INVALID_EMAIL_MESSAGE', - SHARE_ITEM_FORM_INVITATION_TOOLTIP: 'SHARE_ITEM_FORM_INVITATION_TOOLTIP', SHARE_ITEM_LINK_COPY_TOOLTIP: 'SHARE_ITEM_LINK_COPY_TOOLTIP', SHARED_ITEMS_TITLE: 'SHARED_ITEMS_TITLE', SHARED_MEMBERS_LABEL: 'SHARED_MEMBERS_LABEL', @@ -265,8 +277,5 @@ export const BUILDER = { UPLOAD_FILE_INFORMATIONS: 'UPLOAD_FILE_INFORMATIONS', UPLOAD_FILE_LIMITATIONS_TEXT: 'UPLOAD_FILE_LIMITATIONS_TEXT', UPLOAD_FILE_TITLE: 'UPLOAD_FILE_TITLE', - USER_SWITCH_PROFILE_BUTTON: 'USER_SWITCH_PROFILE_BUTTON', USER_SWITCH_SIGN_OUT_BUTTON: 'USER_SWITCH_SIGN_OUT_BUTTON', - USER_SWITCH_SIGNED_OUT_TOOLTIP: 'USER_SWITCH_SIGNED_OUT_TOOLTIP', - USER_SWITCH_SWITCH_USER_TEXT: 'USER_SWITCH_SWITCH_USER_TEXT', }; diff --git a/src/constants/index.ts b/src/constants/index.ts index fe332715..773965b7 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -7,4 +7,5 @@ export * from './categories'; export * from './common'; export * from './chatbox'; export * from './library'; +export * from './mail'; export * from './messages'; diff --git a/src/constants/mail.ts b/src/constants/mail.ts new file mode 100644 index 00000000..53e882d9 --- /dev/null +++ b/src/constants/mail.ts @@ -0,0 +1,23 @@ +export const MAIL = { + GREETINGS: 'GREETINGS', + SIGN_UP_VERIFY_EMAIL: 'SIGN_UP_VERIFY_EMAIL', + SIGN_UP_TEXT: 'SIGN_UP_TEXT', + SIGN_UP_BUTTON_TEXT: 'SIGN_UP_BUTTON_TEXT', + SIGN_UP_NOT_REQUESTED: 'SIGN_UP_NOT_REQUESTED', + SIGN_IN_NOT_REQUESTED: 'SIGN_IN_NOT_REQUESTED', + SIGN_IN_BUTTON_TEXT: 'SIGN_IN_BUTTON_TEXT', + SIGN_IN_TEXT: 'SIGN_IN_TEXT', + EXPORT_ACTIONS_TEXT: 'EXPORT_ACTIONS_TEXT', + EXPORT_ACTIONS_BUTTON_TEXT: 'EXPORT_ACTIONS_BUTTON_TEXT', + EXPORT_ACTIONS_TITLE: 'EXPORT_ACTIONS_TITLE', + SIGN_IN_TITLE: 'SIGN_IN_TITLE', + SIGN_UP_TITLE: 'SIGN_UP_TITLE', + INVITATION_TEXT: 'INVITATION_TEXT', + INVITATION_TITLE: 'INVITATION_TITLE', + PUBLISH_ITEM_TEXT: 'PUBLISH_ITEM_TEXT', + PUBLISH_ITEM_BUTTON_TEXT: 'PUBLISH_ITEM_BUTTON_TEXT', + PUBLISH_ITEM_TITLE: 'PUBLISH_ITEM_TITLE', + CHAT_MENTION_TEXT: 'CHAT_MENTION_TEXT', + CHAT_MENTION_TITLE: 'CHAT_MENTION_TITLE', + CHAT_MENTION_BUTTON_TEXT: 'CHAT_MENTION_BUTTON_TEXT', +}; diff --git a/src/i18n.ts b/src/i18n.ts index f929c856..260bf876 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -3,7 +3,7 @@ import { en, fr, de, it, namespaces } from './langs'; export const DEFAULT_LANG = 'en'; -const buildI18n = (defaultNamespace = namespaces.messages) => { +const buildI18n = (defaultNamespace = namespaces.messages, debug?: boolean) => { i18n.init({ resources: { en, @@ -14,7 +14,7 @@ const buildI18n = (defaultNamespace = namespaces.messages) => { lng: DEFAULT_LANG, fallbackLng: DEFAULT_LANG, // debug only when not in production - debug: process.env.NODE_ENV !== 'production', + debug: debug ?? process.env.NODE_ENV !== 'production', // define accessible namespaces ns: Object.values(namespaces), // define default namespace diff --git a/src/langs/de/mail.json b/src/langs/de/mail.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/src/langs/de/mail.json @@ -0,0 +1 @@ +{} diff --git a/src/langs/en/mail.json b/src/langs/en/mail.json new file mode 100644 index 00000000..b4dca818 --- /dev/null +++ b/src/langs/en/mail.json @@ -0,0 +1,23 @@ +{ + "GREETINGS": "Thank you for signing up to our platform.", + "SIGN_UP_VERIFY_EMAIL": "Please verify your email by clicking on the following button.", + "SIGN_UP_TEXT": "Complete registration and sign in", + "SIGN_UP_NOT_REQUESTED": "If you don't remember signing up to Graasp, you can just ignore this email.", + "SIGN_IN_BUTTON_TEXT": "Sign In", + "SIGN_UP_BUTTON_TEXT": "Register", + "SIGN_IN_TEXT": "You asked us to send you a magic link for quickly signing in to your account. Here your go:", + "SIGN_IN_NOT_REQUESTED": "If you haven't requested the link, no further action is required. It will expire soon, don't worry your account and data are safe.", + "EXPORT_ACTIONS_TEXT": "You requested to download actions from item %{itemName}, here is the link to download the files. It will be available for %{days} days", + "EXPORT_ACTIONS_BUTTON_TEXT": "Download", + "SIGN_IN_TITLE": "Sign In Link", + "SIGN_UP_TITLE": "Register", + "EXPORT_ACTIONS_TITLE": "Analytic Traces Download Link for %{itemName}", + "INVITATION_TEXT": "%{creatorName} shared %{itemName} with you on the Graasp platform. Click on the following button to complete your registration.", + "INVITATION_TITLE": "This item was shared with you on Graasp", + "PUBLISH_ITEM_TEXT": "Your item %{itemName} has been published to Graasp Explorer. Click on the following link to view it.", + "PUBLISH_ITEM_BUTTON_TEXT": "View Item", + "PUBLISH_ITEM_TITLE": "%{itemName} has been published", + "CHAT_MENTION_TEXT": "You have been mentioned in a message by %{creatorName} in %{itemName}. Click on the following link to view the conversation.", + "CHAT_MENTION_TITLE": "%{creatorName} mentioned you in %{itemName}", + "CHAT_MENTION_BUTTON_TEXT": "View Conversation" +} diff --git a/src/langs/fr/builder.json b/src/langs/fr/builder.json index 13cb9b60..e8dd11a2 100644 --- a/src/langs/fr/builder.json +++ b/src/langs/fr/builder.json @@ -229,5 +229,5 @@ "USER_SWITCH_PROFILE_BUTTON": "Voir le Profil", "USER_SWITCH_SIGN_OUT_BUTTON": "Déconnexion", "USER_SWITCH_SIGNED_OUT_TOOLTIP": "Vous n'êtes pas connecté.", - "USER_SWITCH_SWITCH_USER_TEXT": "Se connecter avec un autre compte" + "USER_SWITCH_SWITCH_USER_TEXT": "Se connecter avec un autre compte", } diff --git a/src/langs/fr/mail.json b/src/langs/fr/mail.json new file mode 100644 index 00000000..a224b5c0 --- /dev/null +++ b/src/langs/fr/mail.json @@ -0,0 +1,23 @@ +{ + "GREETINGS": "Merci de vous être inscrit sur notre plateforme.", + "SIGN_UP_VERIFY_EMAIL": "Vérifiez votre e-mail en cliquant sur le bouton ci-dessous.", + "SIGN_UP_TEXT": "Compléter l'inscription et se connecter", + "SIGN_UP_NOT_REQUESTED": "Si vous ne pensez pas vous être inscrit sur Graasp, vous pouvez ignorer cet email.", + "SIGN_IN_BUTTON_TEXT": "Se connecter", + "SIGN_UP_BUTTON_TEXT": "S'inscrire", + "SIGN_IN_TEXT": "Vous nous avez demandé un lien magique pour vous connecter rapidement. Il est là:", + "SIGN_IN_NOT_REQUESTED": "Si vous n'avez pas demandé de lien, aucune action supplémentaire n'est requise. Il va bientôt expirer, ne vous inquiétez pas votre compte et vos données sont en sécurité.", + "EXPORT_ACTIONS_TEXT": "Une demande d'export des traces analytiques pour l'élément %{itemName} a bien été reçue, voici le lien pour télécharger les fichiers. Les fichiers seront disponibles pendant %{days} jours.", + "EXPORT_ACTIONS_BUTTON_TEXT": "Télécharger", + "SIGN_IN_TITLE": "Lien de connexion", + "SIGN_UP_TITLE": "Inscription", + "EXPORT_ACTIONS_TITLE": "Lien de téléchargement des traces analytiques de %{itemName}", + "INVITATION_TEXT": "%{creatorName} a partagé %{itemName} avec vous sur la plateforme Graasp. Cliquez sur le bouton suivant pour compléter votre inscription.", + "INVITATION_TITLE": "Cet élément a été partagé avec vous sur Graasp", + "PUBLISH_ITEM_TEXT": "Votre élément %{itemName} a été publié sur Graasp Library. Cliquez sur le lien suivant pour le voir.", + "PUBLISH_ITEM_BUTTON_TEXT": "Voir l'élément", + "PUBLISH_ITEM_TITLE": "%{itemName} a été publié", + "CHAT_MENTION_TEXT": "Vous avez été mentionné par %{creatorName} dans la conversation liée à %{itemName}. Cliquez sur le lien suivant pour voir la conversation.", + "CHAT_MENTION_TITLE": "%{creatorName} vous a mentionné dans %{itemName}", + "CHAT_MENTION_BUTTON_TEXT": "Voir la conversation" +} diff --git a/src/langs/index.ts b/src/langs/index.ts index 606e91a3..f2d0a042 100644 --- a/src/langs/index.ts +++ b/src/langs/index.ts @@ -54,6 +54,10 @@ import associationEN from './en/association.json'; import associationFR from './fr/association.json'; import associationDE from './de/association.json'; import associationIT from './it/association.json'; +import mailEN from './en/mail.json'; +import mailFR from './fr/mail.json'; +import mailDE from './de/mail.json'; +import mailIT from './it/mail.json'; // define namespaces export const namespaces = { @@ -67,6 +71,7 @@ export const namespaces = { common: 'common', enums: 'enums', library: 'library', + mail: 'mail', messages: 'messages', uppy: 'uppy', }; @@ -86,6 +91,7 @@ const en = { ...contextEN, }, [namespaces.library]: libraryEN, + [namespaces.mail]: mailEN, [namespaces.messages]: messagesEN, [namespaces.uppy]: uppyEN, }; @@ -105,6 +111,7 @@ const fr = { ...contextFR, }, [namespaces.library]: libraryFR, + [namespaces.mail]: mailFR, [namespaces.messages]: messagesFR, [namespaces.uppy]: uppyFR, }; @@ -124,6 +131,7 @@ const de = { ...contextDE, }, [namespaces.library]: libraryDE, + [namespaces.mail]: mailDE, [namespaces.messages]: messagesDE, [namespaces.uppy]: uppyDE, }; @@ -143,6 +151,7 @@ const it = { ...contextIT, }, [namespaces.library]: libraryIT, + [namespaces.mail]: mailIT, [namespaces.messages]: messagesIT, [namespaces.uppy]: uppyIT, }; diff --git a/src/langs/it/mail.json b/src/langs/it/mail.json new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/src/langs/it/mail.json @@ -0,0 +1 @@ +{}