Skip to content

Commit

Permalink
even more
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi-raj-jain committed Oct 5, 2024
1 parent 8499b36 commit f91e5cb
Show file tree
Hide file tree
Showing 14 changed files with 114 additions and 51 deletions.
9 changes: 9 additions & 0 deletions locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ footer: Footer
company: Company
legal: Legal
copyright: All rights reserved.
trust: Trust
app_mobile: App mobile
plugins: Plugins
disclaimer: Disclaimer
read_our_disclaimer: Read our disclaimer
plugins_description: Capgo offer multiple plugins to help you build your app faster and better.
awesome_capacitor: Awesome Capacitor
top_app_by_framework: Top App by Framework
Expand All @@ -31,6 +34,8 @@ imprint: Imprint
imprint_description: Find the info of $1 company here
jobs: Jobs
contributing: Contributing
contributing_description: How to contribute to Capgo open source
consulting_description: Move forward with confidence. Capgo offer multiple levels of protection to keep your intellectual property and sensitive data secure.
security: Security
consulting: Consulting
affiliate: Affiliate
Expand All @@ -47,11 +52,15 @@ read_our_security_policy: Read our Security Policy
return_policy: Return Policy
read_our_return_policy: Read our Return Policy
aup: Acceptable Use Policy
read_our_aup: Read our Acceptable Use Policy
Capacitor_Sanbox_App: Capacitor Sanbox App
Capacitor_Sanbox_App_description: "Try each version of your app directly into the sandbox app in a second. Manage OTA update for your capacitor app from your pocket, available in IOS and Android."
eula: End-User License Agreement
read_our_eula: Read our End-User License Agreement
data_processing_agreement: Data Processing Agreement
read_our_data_processing_agreement: Read our Data Processing Agreement
terms: Terms of Service
read_our_terms_of_service: Read our Terms of Service
security_txt: Security.txt
dp: Data Policy
dpa: Data Protection Agreement
Expand Down
25 changes: 21 additions & 4 deletions locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ footer: Pied de page
company: Entreprise
legal: Légal
copyright: Tous droits réservés.
trust: Confiance
app_mobile: Application mobile
plugins: Plugins
disclaimer: Clause de non-responsabilité
read_our_disclaimer: Lisez notre clause de non-responsabilité
plugins_description: >-
Capgo propose plusieurs plugins pour vous aider à créer votre application plus
rapidement et mieux.
Expand All @@ -35,6 +38,10 @@ imprint: Imprimer
imprint_description: Retrouvez les infos de la société à 1$ ici
jobs: Emplois
contributing: Contribuer
contributing_description: Comment contribuer à l'open source Capgo
consulting_description: >-
Avancez en toute confiance. Capgo offre plusieurs niveaux de protection pour
protéger votre propriété intellectuelle et vos données sensibles.
security: Sécurité
consulting: Consultant
affiliate: Filiale
Expand All @@ -51,11 +58,18 @@ read_our_security_policy: Lisez notre politique de sécurité
return_policy: Politique de retour
read_our_return_policy: Lisez notre politique de retour
aup: Politique d'utilisation acceptable
read_our_aup: Lisez notre politique d'utilisation acceptable
Capacitor_Sanbox_App: Application Condensateur Sanbox
Capacitor_Sanbox_App_description: >-
Essayez chaque version de votre application directement dans l'application
sandbox en une seconde. Gérez la mise à jour OTA de votre application de
condensateur depuis votre poche, disponible sur IOS et Android.
eula: Contrat de licence utilisateur final
read_our_eula: Lisez notre contrat de licence utilisateur final
data_processing_agreement: Accord de traitement des données
read_our_data_processing_agreement: Lire notre accord de traitement des données
terms: Conditions d'utilisation
read_our_terms_of_service: Lisez nos conditions d'utilisation
security_txt: Sécurité.txt
dp: Politique de données
dpa: Accord de protection des données
Expand Down Expand Up @@ -171,7 +185,10 @@ push_updates_like_your_commits: Envoyez des mises à jour comme vos commits
its_compatible_with_azure_devops_gitlab_github_jenkins_cloudbees_travis_azure_devops_gitlab_github_circleci_and_many_more: >-
Il est compatible avec Azure DevOps, GitLab, GitHub, Jenkins, Cloudbees,
Travis, Azure DevOps, GitLab, GitHub, CircleCI et bien d'autres.
launch_multiple_releases_per_week: "Avec 1\_$, vous pouvez lancer plusieurs versions par semaine avec une augmentation impressionnante de 81\_% de l'efficacité. Ne manquez pas cet avantage concurrentiel."
launch_multiple_releases_per_week: >-
Avec 1 $, vous pouvez lancer plusieurs versions par semaine avec une
augmentation impressionnante d'efficacité de 81 %. Ne manquez pas cet avantage
concurrentiel.
easily_combine_features_ci_cd: >-
Combinez facilement des fonctionnalités à 1 $ dans votre plate-forme CI/CD
actuelle grâce à notre CLI conviviale.
Expand Down Expand Up @@ -199,7 +216,7 @@ read_the_full_story_of_capgos_challenging_birth_as_a_solo_maker_project: >-
key_features: Principales fonctionnalités
deploy_changes_in_real_time: Déployer les changements en temps réel
version_control: Contrôle des versions
manage_multiple_app_versions_effortlessly: Gérez plusieurs versions d'applications sans effort
manage_multiple_app_versions_effortlessly: Gérez plusieurs versions d'application sans effort
rollback_capability: Capacité de restauration
revert_to_previous_versions_if_needed: Revenir aux versions précédentes si nécessaire
analytics: Analytique
Expand Down Expand Up @@ -419,7 +436,7 @@ npm_run_lint_passes: >-
documenting_apis: Documenter les API
importance_of_documenting_apis: >-
Il est important de documenter toutes les API publiques et nous souhaitons le
faire en cohérence avec le code. Cela permet de garantir que le code et la
faire conformément au code. Cela permet de garantir que le code et la
documentation sont étroitement liés.
javascript_and_typescript: JavaScript et TypeScript
jsdoc_documentation: >-
Expand Down Expand Up @@ -482,7 +499,7 @@ top_react_native_apps: >-
Liste des 100 meilleures applications utilisant React Native sur la boutique
Android
top_flutter_apps_title: Meilleures applications Flutter
flutter_power_aproximately_1_of_apps_on_google_play_store: "Flutter alimente environ 1\_% des applications sur le Google Play Store"
flutter_power_aproximately_1_of_apps_on_google_play_store: "Flutter alimente environ 1\_% des applications sur Google Play Store"
top_kotlin_apps_title: Meilleures applications Kotlin
kotlin_power_aproximately_1_of_apps_on_google_play_store: Kotlin alimente environ 1 % des applications sur le Google Play Store
top_native_script_apps_title: Principales applications de script natif
Expand Down
14 changes: 8 additions & 6 deletions src/pages/app_mobile.astro
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
---
import Layout from '@/layouts/Layout.astro'
import { useRuntimeConfig } from '@/config/app'
import VueAppmobile from '@/vue-pages/app_mobile.vue'
import { useRuntimeConfig } from '@/config/app'
import translations from '@/services/translations'
import { defaultLocale, type Locales } from '@/services/locale'
const config = useRuntimeConfig()
const brand = config.public.brand
const description =
'Try each version of your app directly into the sandbox app in a second. Manage OTA update for your capacitor app from your pocket, available in IOS and Android.'
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
const title = [brand, translations['Capacitor_Sanbox_App'][pageLocale]].join(' | ')
const description = translations['Capacitor_Sanbox_App_description'][pageLocale]
const content = {
description,
title: `${brand} | Capacitor sanbox APP`,
title,
image: `${config.public.baseUrl}/app_demo.webp`,
}
---

<Layout content={content}><VueAppmobile locale={(Astro.currentLocale || defaultLocale) as Locales} client:load /></Layout>
<Layout content={content}><VueAppmobile locale={pageLocale} client:load /></Layout>
11 changes: 6 additions & 5 deletions src/pages/aup.astro
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
import Layout from '@/layouts/Layout.astro'
import { type Locales } from '@/services/locale'
import translations from '@/services/translations'
import { useRuntimeConfig } from '@/config/app'
import translations from '@/services/translations'
import { defaultLocale, type Locales } from '@/services/locale'
const config = useRuntimeConfig()
const brand = config.public.brand
const title = `${brand} | AUP Policy`
const description = 'Read our AUP Policy'
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
const title = [brand, translations['aup'][pageLocale]].join(' | ')
const description = translations['read_our_aup'][pageLocale]
const content = {
description,
Expand Down
5 changes: 4 additions & 1 deletion src/pages/blog/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import Layout from '@/layouts/Layout.astro'
import { useRuntimeConfig } from '@/config/app'
import VueBlogSlug from '@/vue-pages/blog/[slug].vue'
import { defaultLocale, type Locales } from '@/services/locale'
export async function getStaticPaths() {
const allBlogPosts = await Astro.glob('@/content/blog/**/*.md')
Expand Down Expand Up @@ -86,8 +87,10 @@ content['ldJSON'] = {
},
},
}
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
---

<Layout content={content}>
<VueBlogSlug toc={data.getHeadings()} related={related} Content={markdown} client:load {...data.frontmatter} />
<VueBlogSlug locale={pageLocale} toc={data.getHeadings()} related={related} Content={markdown} client:load {...data.frontmatter} />
</Layout>
5 changes: 4 additions & 1 deletion src/pages/blog/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ let posts = await Astro.glob('@/content/blog/**/*.md')
import Layout from '@/layouts/Layout.astro'
import { useRuntimeConfig } from '@/config/app'
import VueBlogIndex from '@/vue-pages/blog/index.vue'
import { defaultLocale, type Locales } from '@/services/locale'
posts = posts.filter((i) => i.frontmatter.published).sort((a, b) => (new Date(a.frontmatter.created_at) > new Date(b.frontmatter.created_at) ? -1 : 1))
Expand All @@ -18,8 +19,10 @@ if (config.public.blog_title) {
if (config.public.blog_description) {
content['description'] = config.public.blog_description
}
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
---

<Layout content={content}>
<VueBlogIndex Content={posts} client:load />
<VueBlogIndex locale={pageLocale} Content={posts} client:load />
</Layout>
15 changes: 11 additions & 4 deletions src/pages/consulting.astro
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
---
import Layout from '@/layouts/Layout.astro'
import { defaultLocale, type Locales } from '@/services/locale'
import VueConsulting from '@/vue-pages/consulting.vue'
import { useRuntimeConfig } from '@/config/app'
import translations from '@/services/translations'
import { defaultLocale, type Locales } from '@/services/locale'
const config = useRuntimeConfig()
const brand = config.public.brand
const description = 'Move forward with confidence. Capgo offer multiple levels of protection to keep your intellectual property and sensitive data secure.'
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
const title = [brand, translations['consulting'][pageLocale]].join(' | ')
const description = translations['consulting_description'][pageLocale]
const content = {
description,
title: 'Capgo | Capacitor consulting',
title,
}
---

<Layout content={content}><VueConsulting locale={(Astro.currentLocale || defaultLocale) as Locales} client:load /></Layout>
<Layout content={content}><VueConsulting locale={pageLocale} client:load /></Layout>
14 changes: 7 additions & 7 deletions src/pages/contributing.astro
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
import { useRuntimeConfig } from '@/config/app'
import Layout from '@/layouts/Layout.astro'
import { defaultLocale, type Locales } from '@/services/locale'
import VueContributing from '@/vue-pages/contributing.vue'
import { useRuntimeConfig } from '@/config/app'
import translations from '@/services/translations'
import { defaultLocale, type Locales } from '@/services/locale'
const config = useRuntimeConfig()
const brand = config.public.brand
const title = `${brand} | Contributing`
const description = 'How to contribute to Capgo open source'
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
const title = [brand, translations['contributing'][pageLocale]].join(' | ')
const description = translations['contributing_description'][pageLocale]
const content = {
description,
title,
}
---

<Layout content={content}><VueContributing locale={(Astro.currentLocale || defaultLocale) as Locales} client:load /></Layout>
<Layout content={content}><VueContributing locale={pageLocale} client:load /></Layout>
12 changes: 6 additions & 6 deletions src/pages/disclaimer.astro
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
import Layout from '@/layouts/Layout.astro'
import { useRuntimeConfig } from '@/config/app'
import VueDisclaimer from '@/vue-pages/disclaimer.vue'
import { useRuntimeConfig } from '@/config/app'
import translations from '@/services/translations'
import { defaultLocale, type Locales } from '@/services/locale'
const config = useRuntimeConfig()
const brand = config.public.brand
const title = `${brand} | Disclaimer`
const description = 'Read our disclaimer'
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
const title = [brand, translations['disclaimer'][pageLocale]].join(' | ')
const description = translations['read_our_disclaimer'][pageLocale]
const content = {
description,
title,
}
---

<Layout content={content}><VueDisclaimer locale={(Astro.currentLocale || defaultLocale) as Locales} client:load /></Layout>
<Layout content={content}><VueDisclaimer locale={pageLocale} client:load /></Layout>
9 changes: 5 additions & 4 deletions src/pages/dp.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@
import VueDataPolicy from '@/vue-pages/data_policy.vue'
import Layout from '@/layouts/Layout.astro'
import { useRuntimeConfig } from '@/config/app'
import translations from '@/services/translations'
import { defaultLocale, type Locales } from '@/services/locale'
const config = useRuntimeConfig()
const brand = config.public.brand
const title = `${brand} | Data Policy`
const description = 'Data Policy'
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
const title = [brand, translations['dp'][pageLocale]].join(' | ')
const description = translations['dp'][pageLocale]
const content = {
description,
title,
}
---

<Layout content={content}><VueDataPolicy locale={(Astro.currentLocale || defaultLocale) as Locales} client:load /></Layout>
<Layout content={content}><VueDataPolicy locale={pageLocale} client:load /></Layout>
5 changes: 4 additions & 1 deletion src/pages/plugins/[id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import type { Plugin } from '@/config/plugins'
import { useRuntimeConfig } from '@/config/app'
import VuePluginPDP from '@/vue-pages/plugins/[id].vue'
import { fetchWithToken, getSlug } from '@/services/github'
import { defaultLocale, type Locales } from '@/services/locale'
export async function getStaticPaths() {
let tutMap: any = {}
Expand Down Expand Up @@ -148,8 +149,10 @@ content['ldJSON'] = {
...(plugin.hasOwnProperty('datePublished') && { datePublished: plugin.datePublished }),
...(plugin.hasOwnProperty('dateModified') && { dateModified: plugin.dateModified }),
}
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
---

<Layout content={content}>
<VuePluginPDP client:load {...plugin} />
<VuePluginPDP locale={pageLocale} client:load {...plugin} />
</Layout>
9 changes: 5 additions & 4 deletions src/pages/tos.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@ import VueTos from '@/vue-pages/tos.vue'
import Layout from '@/layouts/Layout.astro'
import { useRuntimeConfig } from '@/config/app'
import { defaultLocale, type Locales } from '@/services/locale'
import translations from '@/services/translations'
const config = useRuntimeConfig()
const brand = config.public.brand
const title = `${brand} | Terms of Service`
const description = 'Read our Terms of Service'
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
const title = [brand, translations['terms'][pageLocale]].join(' | ')
const description = translations['read_our_terms_of_service'][pageLocale]
const content = {
description,
title,
}
---

<Layout content={content}><VueTos locale={(Astro.currentLocale || defaultLocale) as Locales} client:load /></Layout>
<Layout content={content}><VueTos locale={pageLocale} client:load /></Layout>
9 changes: 5 additions & 4 deletions src/pages/trust.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@ import Layout from '@/layouts/Layout.astro'
import VueTrust from '@/vue-pages/trust.vue'
import { useRuntimeConfig } from '@/config/app'
import { defaultLocale, type Locales } from '@/services/locale'
import translations from '@/services/translations'
const config = useRuntimeConfig()
const brand = config.public.brand
const title = `${brand} | Trust`
const description = 'Move forward with confidence. Capgo offer multiple levels of protection to keep your intellectual property and sensitive data secure.'
const pageLocale = (Astro.currentLocale || defaultLocale) as Locales
const title = [brand, translations['trust'][pageLocale]].join(' | ')
const description = translations['consulting_description'][pageLocale]
const content = {
description,
title,
}
---

<Layout content={content}><VueTrust locale={(Astro.currentLocale || defaultLocale) as Locales} client:load /></Layout>
<Layout content={content}><VueTrust locale={pageLocale} client:load /></Layout>
Loading

0 comments on commit f91e5cb

Please sign in to comment.