mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
feat: bring back legal pages
This commit is contained in:
@@ -9,8 +9,10 @@ import frResourceAdmin from './locales/fr/admin.json';
|
||||
import frResourceCommon from './locales/fr/common.json';
|
||||
import frResourceHome from './locales/fr/home.json';
|
||||
import frResourceLogin from './locales/fr/login.json';
|
||||
|
||||
import frResourcePrivacy from './locales/fr/privacy.json';
|
||||
import frResourceTerms from './locales/fr/terms.json';
|
||||
import frResourceLegal from './locales/fr/legal.json';
|
||||
|
||||
import { LS_LANG_KEY } from '~/constants';
|
||||
import enResourceAbout from './locales/en/about.json';
|
||||
@@ -18,8 +20,10 @@ import enResourceAdmin from './locales/en/admin.json';
|
||||
import enResourceCommon from './locales/en/common.json';
|
||||
import enResourceHome from './locales/en/home.json';
|
||||
import enResourceLogin from './locales/en/login.json';
|
||||
|
||||
import enResourcePrivacy from './locales/en/privacy.json';
|
||||
import enResourceTerms from './locales/en/terms.json';
|
||||
import enResourceLegal from './locales/en/legal.json';
|
||||
|
||||
type I18nFR =
|
||||
| RemoveSuffix<Leaves<typeof frResourceAbout>>
|
||||
@@ -28,7 +32,8 @@ type I18nFR =
|
||||
| RemoveSuffix<Leaves<typeof frResourceHome>>
|
||||
| RemoveSuffix<Leaves<typeof frResourceLogin>>
|
||||
| RemoveSuffix<Leaves<typeof frResourcePrivacy>>
|
||||
| RemoveSuffix<Leaves<typeof frResourceTerms>>;
|
||||
| RemoveSuffix<Leaves<typeof frResourceTerms>>
|
||||
| RemoveSuffix<Leaves<typeof frResourceLegal>>;
|
||||
export type I18nKey = I18nFR;
|
||||
|
||||
export const resources = {
|
||||
@@ -40,6 +45,7 @@ export const resources = {
|
||||
login: enResourceLogin,
|
||||
privacy: enResourcePrivacy,
|
||||
terms: enResourceTerms,
|
||||
legal: enResourceLegal,
|
||||
},
|
||||
fr: {
|
||||
about: frResourceAbout,
|
||||
@@ -49,6 +55,7 @@ export const resources = {
|
||||
login: frResourceLogin,
|
||||
privacy: frResourcePrivacy,
|
||||
terms: frResourceTerms,
|
||||
legal: frResourceLegal,
|
||||
},
|
||||
} as const;
|
||||
|
||||
|
||||
10
inertia/i18n/locales/en/legal.json
Normal file
10
inertia/i18n/locales/en/legal.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"contact": {
|
||||
"title": "Contact",
|
||||
"description": "For any questions or concerns regarding these Terms and Conditions of Use, please contact us at the following address:"
|
||||
},
|
||||
"footer": {
|
||||
"changes": "We reserve the right to update these Terms and Conditions of Use. We encourage you to regularly check this page to stay informed of any changes.",
|
||||
"thanks": "Thank you for using MyLinks!"
|
||||
}
|
||||
}
|
||||
@@ -39,13 +39,5 @@
|
||||
"gdpr": {
|
||||
"title": "5. GDPR Compliance",
|
||||
"description": "MyLinks complies with the General Data Protection Regulation (GDPR) of the European Union."
|
||||
},
|
||||
"contact": {
|
||||
"title": "6. Contact",
|
||||
"description": "If you have any questions or concerns about our privacy policy, feel free to contact us at the following address:"
|
||||
},
|
||||
"footer": {
|
||||
"changes": "We reserve the right to update this privacy policy. We encourage you to regularly check this page to stay informed of any changes.",
|
||||
"thanks": "Thank you for using MyLinks!"
|
||||
}
|
||||
}
|
||||
@@ -50,13 +50,5 @@
|
||||
"cancel": {
|
||||
"title": "6. Termination",
|
||||
"description": "MyLinks reserves the right to terminate or suspend your access to the service, with or without notice, in case of violation of these Terms and Conditions of Use."
|
||||
},
|
||||
"contact": {
|
||||
"title": "7. Contact",
|
||||
"description": "For any questions or concerns regarding these Terms and Conditions of Use, please contact us at the following address:"
|
||||
},
|
||||
"footer": {
|
||||
"changes": "We reserve the right to update these Terms and Conditions of Use. We encourage you to regularly check this page to stay informed of any changes.",
|
||||
"thanks": "Thank you for using MyLinks!"
|
||||
}
|
||||
}
|
||||
}
|
||||
10
inertia/i18n/locales/fr/legal.json
Normal file
10
inertia/i18n/locales/fr/legal.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"contact": {
|
||||
"title": "Contact",
|
||||
"description": "Pour toute question ou préoccupation concernant ces Conditions Générales d'Utilisation, veuillez nous contacter à l'adresse suivante :"
|
||||
},
|
||||
"footer": {
|
||||
"changes": "Nous nous réservons le droit de mettre à jour ces Conditions Générales d'Utilisation. Nous vous encourageons à consulter régulièrement cette page pour rester informé des changements éventuels.",
|
||||
"thanks": "Merci d'utiliser MyLinks !"
|
||||
}
|
||||
}
|
||||
@@ -39,13 +39,5 @@
|
||||
"gdpr": {
|
||||
"title": "5. Conformité au RGPD",
|
||||
"description": "MyLinks est conforme au Règlement Général sur la Protection des Données (RGPD) de l'Union européenne."
|
||||
},
|
||||
"contact": {
|
||||
"title": "6. Contact",
|
||||
"description": "Si vous avez des questions ou des préoccupations concernant notre politique de confidentialité, n'hésitez pas à nous contacter à l'adresse suivante :"
|
||||
},
|
||||
"footer": {
|
||||
"changes": "Nous nous réservons le droit de mettre à jour cette politique de confidentialité. Nous vous encourageons à consulter régulièrement cette page pour rester informé des changements éventuels.",
|
||||
"thanks": "Merci d'utiliser MyLinks !"
|
||||
}
|
||||
}
|
||||
@@ -50,13 +50,5 @@
|
||||
"cancel": {
|
||||
"title": "6. Résiliation",
|
||||
"description": "MyLinks se réserve le droit de résilier ou de suspendre votre accès au service, avec ou sans préavis, en cas de violation de ces Conditions Générales d'Utilisation."
|
||||
},
|
||||
"contact": {
|
||||
"title": "7. Contact",
|
||||
"description": "Pour toute question ou préoccupation concernant ces Conditions Générales d'Utilisation, veuillez nous contacter à l'adresse suivante :"
|
||||
},
|
||||
"footer": {
|
||||
"changes": "Nous nous réservons le droit de mettre à jour ces Conditions Générales d'Utilisation. Nous vous encourageons à consulter régulièrement cette page pour rester informé des changements éventuels.",
|
||||
"thanks": "Merci d'utiliser MyLinks !"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user