Skip to content

Commit

Permalink
Adding translations for the project menu details
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaishakh-SM committed Nov 26, 2024
1 parent 184c002 commit 9c29d57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export function ProjectMenuDetailsPlaceholder({
"hover:underline hover:underline-offset-2",
)}
>
{!isConnectedToGitHub ? "Connect to GitHub" : "Connected"}
{!isConnectedToGitHub
? t(I18nKey.PROJECT_MENU_DETAILS_PLACEHOLDER$CONNECT_TO_GITHUB)
: t(I18nKey.PROJECT_MENU_DETAILS_PLACEHOLDER$CONNECTED)}
<CloudConnection width={12} height={12} />
</span>
</button>
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/i18n/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1984,6 +1984,12 @@
"en": "New Project",
"es": "Nuevo proyecto"
},
"PROJECT_MENU_DETAILS_PLACEHOLDER$CONNECT_TO_GITHUB": {
"en": "Connect to GitHub"
},
"PROJECT_MENU_DETAILS_PLACEHOLDER$CONNECTED": {
"en": "Connected"
},
"PROJECT_MENU_DETAILS$AGO_LABEL": {
"en": "ago",
"es": "atrás"
Expand Down

0 comments on commit 9c29d57

Please sign in to comment.