mirror of
https://github.com/dyzulk/trustlab.git
synced 2026-01-26 05:25:36 +07:00
Fix submission errors, localization, and legal URL slugs
This commit is contained in:
@@ -241,7 +241,7 @@ export default function SigninClient() {
|
|||||||
</Link>
|
</Link>
|
||||||
</p>
|
</p>
|
||||||
<p className="mt-4 text-center text-xs text-gray-500 sm:text-start dark:text-gray-500">
|
<p className="mt-4 text-center text-xs text-gray-500 sm:text-start dark:text-gray-500">
|
||||||
{t('agree_to_text')} <Link href="/legal?page=terms" className="underline hover:text-gray-700 dark:hover:text-gray-300">{t('terms_link')}</Link> {t('and_text')} <Link href="/legal?page=privacy" className="underline hover:text-gray-700 dark:hover:text-gray-300">{t('privacy_policy_link')}</Link>.
|
{t('agree_to_text')} <Link href="/legal?page=terms-and-conditions" className="underline hover:text-gray-700 dark:hover:text-gray-300">{t('terms_link')}</Link> {t('and_text')} <Link href="/legal?page=privacy-policy" className="underline hover:text-gray-700 dark:hover:text-gray-300">{t('privacy_policy_link')}</Link>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ export default function SignupClient() {
|
|||||||
className="mr-3 h-5 w-5 rounded-md border-gray-300 dark:border-gray-700 text-brand-500 focus:ring-brand-500"
|
className="mr-3 h-5 w-5 rounded-md border-gray-300 dark:border-gray-700 text-brand-500 focus:ring-brand-500"
|
||||||
/>
|
/>
|
||||||
<p className="inline-block font-normal text-gray-500 dark:text-gray-400">
|
<p className="inline-block font-normal text-gray-500 dark:text-gray-400">
|
||||||
{t('agree_to_signup_text')} <Link href="/legal?page=terms" className="underline hover:text-gray-700 dark:hover:text-gray-300">{t('terms_link')}</Link> {t('and_text')} <Link href="/legal?page=privacy" className="underline hover:text-gray-700 dark:hover:text-gray-300">{t('privacy_policy_link')}</Link>.
|
{t('agree_to_signup_text')} <Link href="/legal?page=terms-and-conditions" className="underline hover:text-gray-700 dark:hover:text-gray-300">{t('terms_link')}</Link> {t('and_text')} <Link href="/legal?page=privacy-policy" className="underline hover:text-gray-700 dark:hover:text-gray-300">{t('privacy_policy_link')}</Link>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ const axiosInstance = axios.create({
|
|||||||
baseURL: process.env.NEXT_PUBLIC_API_URL,
|
baseURL: process.env.NEXT_PUBLIC_API_URL,
|
||||||
headers: {
|
headers: {
|
||||||
'X-Requested-With': 'XMLHttpRequest',
|
'X-Requested-With': 'XMLHttpRequest',
|
||||||
|
'Accept': 'application/json',
|
||||||
},
|
},
|
||||||
withCredentials: true,
|
withCredentials: true,
|
||||||
withXSRFToken: true
|
withXSRFToken: true
|
||||||
|
|||||||
@@ -685,7 +685,15 @@
|
|||||||
"btn_save_draft": "Save Draft",
|
"btn_save_draft": "Save Draft",
|
||||||
"view_error": "Error loading page or page not found.",
|
"view_error": "Error loading page or page not found.",
|
||||||
"invalid_id": "Invalid Page ID provided.",
|
"invalid_id": "Invalid Page ID provided.",
|
||||||
"loading_editor": "Loading page editor..."
|
"loading_editor": "Loading page editor...",
|
||||||
|
"btn_write": "Write",
|
||||||
|
"btn_preview": "Preview",
|
||||||
|
"markdown_supported": "Markdown is supported",
|
||||||
|
"current_status": "Current Status",
|
||||||
|
"version_update_type": "Version Update Type",
|
||||||
|
"parent_major": "Major Update (v{v}.0)",
|
||||||
|
"parent_minor": "Minor Update (v{v}.x)",
|
||||||
|
"next_version": "Next Version"
|
||||||
},
|
},
|
||||||
"ApiKeys": {
|
"ApiKeys": {
|
||||||
"title": "API Keys",
|
"title": "API Keys",
|
||||||
|
|||||||
Reference in New Issue
Block a user