diff --git a/apps/space/app/error.tsx b/apps/space/app/error.tsx index 87aa8dc1992..0b6366b3738 100644 --- a/apps/space/app/error.tsx +++ b/apps/space/app/error.tsx @@ -5,34 +5,36 @@ */ // ui +import { useTranslation } from "@plane/i18n"; import { Button } from "@plane/propel/button"; +const handleRetry = () => { + window.location.reload(); +}; + function ErrorPage() { - const handleRetry = () => { - window.location.reload(); - }; + const { t } = useTranslation(); return (
- That crashed Plane, pun intended. No worries, though. Our engineers have been notified. If you have more - details, please write to{" "} + {t("space_public.error_description_prefix")}{" "} support@plane.so {" "} - or on our{" "} + {t("space_public.error_description_middle")}{" "} - Forum + {t("space_public.forum")} .
- {isSignUp ? "By creating an account" : "By signing in"}, you agree to our{" \n"}
-
- Terms of Service
- {" "}
- and{" "}
-
- Privacy Policy
-
- {"."}
+
- Enter the public-share URL or link of the view or Page you are trying to see in the browser{"'"}s address - bar. -
+{t("space_public.logged_in_hint")}
- We were unable to fetch the details of the instance.
- Fret not, it might just be a connectivity work items.
+ {t("space_public.instance_failure_description")}
+ {t("space_public.instance_failure_hint")}
No matches found
+{t("space_public.no_matches_found")}
) ) : (No matches found
+{t("space_public.no_matches_found")}
) ) : (The public board does not exist. Please check the URL.
+{t("space_public.public_board_not_found")}
- <>commented {timeAgo(comment.created_at)}> + <>{t("space_public.commented_time", { time: timeAgo(comment.created_at) })}>
- Sorry, the page you are looking for cannot be found. It may have been removed, had its name changed, or is - temporarily unavailable. -
+{t("space_public.page_not_found_description")}
- The page you are trying to access doesn{"'"}t exist or you don{"'"}t have permission to view it. -
+{t("page_access.not_found_description")}
- View other Pages + {t("page_access.view_other_pages")}- Sorry, the page you are looking for cannot be found. It may have been removed, had its name changed, or is - temporarily unavailable. -
+{t("app_not_found.description")}
No matches found
+{t("common.search.no_matches_found")}
)}No matches found
+{t("common.search.no_matches_found")}
) ) : (No matches found
+{t("common.search.no_matches_found")}
) ) : (No matches found
+{t("common.search.no_matches_found")}
) ) : (No matches found
+{t("common.search.no_matches_found")}
)}Accept the invites to collaborate with your team.
+{t("onboarding.accept_invites")}
or
+{t("onboarding.or")}
- Work in plane happens best with your team. Invite them now to use Plane to its potential. -
+{t("onboarding.invite_team_description")}
Passwords do not match
} - {isPasswordValid &&✓ Passwords match
} + {hasPasswordMismatch && ( +{t("onboarding.passwords_do_not_match")}
+ )} + {isPasswordValid && ( +✓ {t("onboarding.passwords_match")}
+ )}Select one or more
+{t("onboarding.select_one_or_more")}
Your stickies
+{t("stickies.title")}
- No workspace found with the URL. It may not exist or you lack authorization to view it. -
+{t("workspace_access.not_found_description")}
- You{"'"}re not a member of this workspace. Please contact the workspace admin to get an invitation or - check your pending invitations. -
+{t("workspace_access.not_authorized_description")}