mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat: dashboard error boundary localization.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import React from 'react';
|
||||
import { Icon } from 'components';
|
||||
import { FormattedMessage as T, Icon } from 'components';
|
||||
|
||||
export default function DashboardErrorBoundary({}) {
|
||||
return (
|
||||
<div class="dashboard__error-boundary">
|
||||
<h1>Sorry about that! Something went wrong</h1>
|
||||
<p>If the problem stuck, please <a href="#">contact us</a> as soon as possible.</p>
|
||||
<h1><T id={'sorry_about_that_something_went_wrong'} /></h1>
|
||||
<p><T id={'if_the_problem_stuck_please_contact_us_as_soon_as_possible'} /></p>
|
||||
<Icon icon="bigcapital" height={30} width={160} />
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -1192,5 +1192,7 @@
|
||||
"New purchase invoice": "فاتورة شراء جديدة",
|
||||
"Sales/Purchases": "المبيعات والمشتريات",
|
||||
"Reports": "التقارير",
|
||||
"New tasks": "مهام جديدة"
|
||||
"New tasks": "مهام جديدة",
|
||||
"sorry_about_that_something_went_wrong": "نتأسف بشأن ذلك! هناك خطأ ما",
|
||||
"if_the_problem_stuck_please_contact_us_as_soon_as_possible": "إذا تكررت المشكلة اكتر من مرة ، الرجاء الاتصال بنا في أقرب وقت ممكن."
|
||||
}
|
||||
@@ -1179,5 +1179,7 @@
|
||||
"New purchase invoice": "New purchase invoice",
|
||||
"Sales/Purchases": "Sales/Purchases",
|
||||
"Reports": "Reports",
|
||||
"New tasks": "New tasks"
|
||||
"New tasks": "New tasks",
|
||||
"sorry_about_that_something_went_wrong": "Sorry about that! Something went wrong",
|
||||
"if_the_problem_stuck_please_contact_us_as_soon_as_possible": "If the problem stuck, please contact us as soon as possible."
|
||||
}
|
||||
Reference in New Issue
Block a user