Skip to content

Commit

Permalink
feat: add translations for refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Mar 9, 2023
1 parent f883e64 commit b1afc56
Show file tree
Hide file tree
Showing 10 changed files with 133 additions and 43 deletions.
89 changes: 49 additions & 40 deletions src/constants/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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',
};
1 change: 1 addition & 0 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ export * from './categories';
export * from './common';
export * from './chatbox';
export * from './library';
export * from './mail';
export * from './messages';
23 changes: 23 additions & 0 deletions src/constants/mail.ts
Original file line number Diff line number Diff line change
@@ -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',
};
4 changes: 2 additions & 2 deletions src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/langs/de/mail.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
23 changes: 23 additions & 0 deletions src/langs/en/mail.json
Original file line number Diff line number Diff line change
@@ -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"
}
2 changes: 1 addition & 1 deletion src/langs/fr/builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
23 changes: 23 additions & 0 deletions src/langs/fr/mail.json
Original file line number Diff line number Diff line change
@@ -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"
}
9 changes: 9 additions & 0 deletions src/langs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -67,6 +71,7 @@ export const namespaces = {
common: 'common',
enums: 'enums',
library: 'library',
mail: 'mail',
messages: 'messages',
uppy: 'uppy',
};
Expand All @@ -86,6 +91,7 @@ const en = {
...contextEN,
},
[namespaces.library]: libraryEN,
[namespaces.mail]: mailEN,
[namespaces.messages]: messagesEN,
[namespaces.uppy]: uppyEN,
};
Expand All @@ -105,6 +111,7 @@ const fr = {
...contextFR,
},
[namespaces.library]: libraryFR,
[namespaces.mail]: mailFR,
[namespaces.messages]: messagesFR,
[namespaces.uppy]: uppyFR,
};
Expand All @@ -124,6 +131,7 @@ const de = {
...contextDE,
},
[namespaces.library]: libraryDE,
[namespaces.mail]: mailDE,
[namespaces.messages]: messagesDE,
[namespaces.uppy]: uppyDE,
};
Expand All @@ -143,6 +151,7 @@ const it = {
...contextIT,
},
[namespaces.library]: libraryIT,
[namespaces.mail]: mailIT,
[namespaces.messages]: messagesIT,
[namespaces.uppy]: uppyIT,
};
Expand Down
1 change: 1 addition & 0 deletions src/langs/it/mail.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}

0 comments on commit b1afc56

Please sign in to comment.