Skip to content

Commit

Permalink
feat: add lang translations in common (#209)
Browse files Browse the repository at this point in the history
* feat: add lang translations in common

* refactor: fix lint
  • Loading branch information
pyphilia authored Aug 4, 2023
1 parent c9b7d82 commit 4e5b05c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/constants/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ export const COMMON = {
CANCEL_BUTTON: 'CANCEL_BUTTON',
SAVE_BUTTON: 'SAVE_BUTTON',
CLOSE_BUTTON: 'CLOSE_BUTTON',

LANGUAGE: 'LANGUAGE',
};
3 changes: 2 additions & 1 deletion src/langs/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"USER_SHARED_WITH_ITEMS": "Shared with me",
"USER_NOT_SIGNED_IN": "You are not signed in.",
"USER_CAN_NOT_ACCESS_ITEM": "You cannot access this item.",
"CHAT_TOOLTIP": "Chat"
"CHAT_TOOLTIP": "Chat",
"LANGUAGE": "Language"
}
3 changes: 2 additions & 1 deletion src/langs/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"USER_SHARED_WITH_ITEMS": "Partagés avec moi",
"USER_NOT_SIGNED_IN": "Vous n'êtes pas connecté.",
"USER_CAN_NOT_ACCESS_ITEM": "Vous ne pouvez pas accéder à cet élément.",
"CHAT_TOOLTIP": "Chat"
"CHAT_TOOLTIP": "Chat",
"LANGUAGE": "Langue"
}

0 comments on commit 4e5b05c

Please sign in to comment.