mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12: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>
|
||||
{!signupDisabled && (
|
||||
<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>
|
||||
|
||||
@@ -87,7 +87,7 @@ function RegisterFooterLinks() {
|
||||
return (
|
||||
<AuthFooterLinks>
|
||||
<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>
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Formik } from 'formik';
|
||||
import { Intent, Position } from '@blueprintjs/core';
|
||||
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 AuthInsider from '@/containers/Authentication/AuthInsider';
|
||||
|
||||
@@ -86,11 +86,11 @@ function ResetPasswordFooterLinks() {
|
||||
<AuthFooterLinks>
|
||||
{!signupDisabled && (
|
||||
<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>
|
||||
Return to <Link to={'/auth/login'}>Sign In</Link>
|
||||
<T id={'return_to'} /> <Link to={'/auth/login'}><T id={'sign_in'} /></Link>
|
||||
</AuthFooterLink>
|
||||
</AuthFooterLinks>
|
||||
);
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Formik } from 'formik';
|
||||
import { Link, useHistory } from 'react-router-dom';
|
||||
import { Intent } from '@blueprintjs/core';
|
||||
|
||||
import { AppToaster } from '@/components';
|
||||
import { AppToaster, FormattedMessage as T } from '@/components';
|
||||
import { useAuthSendResetPassword } from '@/hooks/query';
|
||||
|
||||
import SendResetPasswordForm from './SendResetPasswordForm';
|
||||
@@ -82,11 +82,11 @@ function SendResetPasswordFooterLinks() {
|
||||
<AuthFooterLinks>
|
||||
{!signupDisabled && (
|
||||
<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>
|
||||
Return to <Link to={'/auth/login'}>Sign In</Link>
|
||||
<T id={'return_to'} /> <Link to={'/auth/login'}><T id={'sign_in'} /></Link>
|
||||
</AuthFooterLink>
|
||||
</AuthFooterLinks>
|
||||
);
|
||||
|
||||
@@ -14,8 +14,7 @@ export default function SendResetPasswordForm({ isSubmitting }) {
|
||||
return (
|
||||
<Form>
|
||||
<TopParagraph>
|
||||
Enter the email address associated with your account and we'll send you
|
||||
a link to reset your password.
|
||||
<T id={'enter_the_email_address_associated_with_your_account'} />
|
||||
</TopParagraph>
|
||||
|
||||
<FFormGroup name={'crediential'} label={<T id={'email_address'} />}>
|
||||
@@ -29,7 +28,7 @@ export default function SendResetPasswordForm({ isSubmitting }) {
|
||||
large={true}
|
||||
loading={isSubmitting}
|
||||
>
|
||||
Reset Password
|
||||
<T id={'reset_password'} />
|
||||
</AuthSubmitButton>
|
||||
</Form>
|
||||
);
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
"log_in": "تسجيل الدخول",
|
||||
"forget_my_password": "نسيت كلمة المرور الخاصة بي",
|
||||
"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": "إنشاء حساب",
|
||||
"need_bigcapital_account": "تحتاج إلى حساب Bigcapital؟",
|
||||
"show": "عرض",
|
||||
|
||||
@@ -19,6 +19,11 @@
|
||||
"log_in": "Log in",
|
||||
"forget_my_password": "Forget my password",
|
||||
"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",
|
||||
"need_bigcapital_account": "Need a Bigcapital account ?",
|
||||
"show": "Show",
|
||||
|
||||
Reference in New Issue
Block a user