mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
Merge pull request #354 from ANasouf/BIG-109-some-keywords-are-not-localized
fix: some keywords are not localized
This commit is contained in:
@@ -70,7 +70,7 @@ function LoginFooterLinks() {
|
|||||||
<AuthFooterLinks>
|
<AuthFooterLinks>
|
||||||
{!signupDisabled && (
|
{!signupDisabled && (
|
||||||
<AuthFooterLink>
|
<AuthFooterLink>
|
||||||
Don't have an account? <Link to={'/auth/register'}>Sign up</Link>
|
<T id={'dont_have_an_account'} /> <Link to={'/auth/register'}><T id={'sign_up'} /></Link>
|
||||||
</AuthFooterLink>
|
</AuthFooterLink>
|
||||||
)}
|
)}
|
||||||
<AuthFooterLink>
|
<AuthFooterLink>
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ function RegisterFooterLinks() {
|
|||||||
return (
|
return (
|
||||||
<AuthFooterLinks>
|
<AuthFooterLinks>
|
||||||
<AuthFooterLink>
|
<AuthFooterLink>
|
||||||
Return to <Link to={'/auth/login'}>Sign In</Link>
|
<T id={'return_to'} /> <Link to={'/auth/login'}><T id={'sign_in'} /></Link>
|
||||||
</AuthFooterLink>
|
</AuthFooterLink>
|
||||||
|
|
||||||
<AuthFooterLink>
|
<AuthFooterLink>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { Formik } from 'formik';
|
|||||||
import { Intent, Position } from '@blueprintjs/core';
|
import { Intent, Position } from '@blueprintjs/core';
|
||||||
import { Link, useParams, useHistory } from 'react-router-dom';
|
import { Link, useParams, useHistory } from 'react-router-dom';
|
||||||
|
|
||||||
import { AppToaster } from '@/components';
|
import { AppToaster, FormattedMessage as T } from '@/components';
|
||||||
import { useAuthResetPassword } from '@/hooks/query';
|
import { useAuthResetPassword } from '@/hooks/query';
|
||||||
import AuthInsider from '@/containers/Authentication/AuthInsider';
|
import AuthInsider from '@/containers/Authentication/AuthInsider';
|
||||||
|
|
||||||
@@ -86,11 +86,11 @@ function ResetPasswordFooterLinks() {
|
|||||||
<AuthFooterLinks>
|
<AuthFooterLinks>
|
||||||
{!signupDisabled && (
|
{!signupDisabled && (
|
||||||
<AuthFooterLink>
|
<AuthFooterLink>
|
||||||
Don't have an account? <Link to={'/auth/register'}>Sign up</Link>
|
<T id={'dont_have_an_account'} /> <Link to={'/auth/register'}><T id={'sign_up'} /></Link>
|
||||||
</AuthFooterLink>
|
</AuthFooterLink>
|
||||||
)}
|
)}
|
||||||
<AuthFooterLink>
|
<AuthFooterLink>
|
||||||
Return to <Link to={'/auth/login'}>Sign In</Link>
|
<T id={'return_to'} /> <Link to={'/auth/login'}><T id={'sign_in'} /></Link>
|
||||||
</AuthFooterLink>
|
</AuthFooterLink>
|
||||||
</AuthFooterLinks>
|
</AuthFooterLinks>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { Formik } from 'formik';
|
|||||||
import { Link, useHistory } from 'react-router-dom';
|
import { Link, useHistory } from 'react-router-dom';
|
||||||
import { Intent } from '@blueprintjs/core';
|
import { Intent } from '@blueprintjs/core';
|
||||||
|
|
||||||
import { AppToaster } from '@/components';
|
import { AppToaster, FormattedMessage as T } from '@/components';
|
||||||
import { useAuthSendResetPassword } from '@/hooks/query';
|
import { useAuthSendResetPassword } from '@/hooks/query';
|
||||||
|
|
||||||
import SendResetPasswordForm from './SendResetPasswordForm';
|
import SendResetPasswordForm from './SendResetPasswordForm';
|
||||||
@@ -82,11 +82,11 @@ function SendResetPasswordFooterLinks() {
|
|||||||
<AuthFooterLinks>
|
<AuthFooterLinks>
|
||||||
{!signupDisabled && (
|
{!signupDisabled && (
|
||||||
<AuthFooterLink>
|
<AuthFooterLink>
|
||||||
Don't have an account? <Link to={'/auth/register'}>Sign up</Link>
|
<T id={'dont_have_an_account'} /> <Link to={'/auth/register'}><T id={'sign_up'} /></Link>
|
||||||
</AuthFooterLink>
|
</AuthFooterLink>
|
||||||
)}
|
)}
|
||||||
<AuthFooterLink>
|
<AuthFooterLink>
|
||||||
Return to <Link to={'/auth/login'}>Sign In</Link>
|
<T id={'return_to'} /> <Link to={'/auth/login'}><T id={'sign_in'} /></Link>
|
||||||
</AuthFooterLink>
|
</AuthFooterLink>
|
||||||
</AuthFooterLinks>
|
</AuthFooterLinks>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -14,8 +14,7 @@ export default function SendResetPasswordForm({ isSubmitting }) {
|
|||||||
return (
|
return (
|
||||||
<Form>
|
<Form>
|
||||||
<TopParagraph>
|
<TopParagraph>
|
||||||
Enter the email address associated with your account and we'll send you
|
<T id={'enter_the_email_address_associated_with_your_account'} />
|
||||||
a link to reset your password.
|
|
||||||
</TopParagraph>
|
</TopParagraph>
|
||||||
|
|
||||||
<FFormGroup name={'crediential'} label={<T id={'email_address'} />}>
|
<FFormGroup name={'crediential'} label={<T id={'email_address'} />}>
|
||||||
@@ -29,7 +28,7 @@ export default function SendResetPasswordForm({ isSubmitting }) {
|
|||||||
large={true}
|
large={true}
|
||||||
loading={isSubmitting}
|
loading={isSubmitting}
|
||||||
>
|
>
|
||||||
Reset Password
|
<T id={'reset_password'} />
|
||||||
</AuthSubmitButton>
|
</AuthSubmitButton>
|
||||||
</Form>
|
</Form>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -20,6 +20,11 @@
|
|||||||
"log_in": "تسجيل الدخول",
|
"log_in": "تسجيل الدخول",
|
||||||
"forget_my_password": "نسيت كلمة المرور الخاصة بي",
|
"forget_my_password": "نسيت كلمة المرور الخاصة بي",
|
||||||
"keep_me_logged_in": "تذكرني",
|
"keep_me_logged_in": "تذكرني",
|
||||||
|
"dont_have_an_account": "ليس لديك حساب؟",
|
||||||
|
"sign_up": "تسجيل",
|
||||||
|
"return_to": "عودة إلى",
|
||||||
|
"sign_in": "صفحة الدخول",
|
||||||
|
"enter_the_email_address_associated_with_your_account": "قم بادخال بريدك الإلكتروني المرتبط بالحساب وسوف نرسل لك رابط لاعادة تعيين كلمة المرور.",
|
||||||
"create_an_account": "إنشاء حساب",
|
"create_an_account": "إنشاء حساب",
|
||||||
"need_bigcapital_account": "تحتاج إلى حساب Bigcapital؟",
|
"need_bigcapital_account": "تحتاج إلى حساب Bigcapital؟",
|
||||||
"show": "عرض",
|
"show": "عرض",
|
||||||
|
|||||||
@@ -19,6 +19,11 @@
|
|||||||
"log_in": "Log in",
|
"log_in": "Log in",
|
||||||
"forget_my_password": "Forget my password",
|
"forget_my_password": "Forget my password",
|
||||||
"keep_me_logged_in": "Keep me logged in",
|
"keep_me_logged_in": "Keep me logged in",
|
||||||
|
"dont_have_an_account": "Don't have an account?",
|
||||||
|
"sign_up": "Sign up",
|
||||||
|
"return_to": "Return to",
|
||||||
|
"sign_in": "Sign In",
|
||||||
|
"enter_the_email_address_associated_with_your_account": "Enter the email address associated with your account and we'll send you a link to reset your password.",
|
||||||
"create_an_account": "Create an account",
|
"create_an_account": "Create an account",
|
||||||
"need_bigcapital_account": "Need a Bigcapital account ?",
|
"need_bigcapital_account": "Need a Bigcapital account ?",
|
||||||
"show": "Show",
|
"show": "Show",
|
||||||
|
|||||||
Reference in New Issue
Block a user